/* style/slot-games.css */
.page-slot-games {
  color: #ffffff; /* Body background is dark, so text is light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* Ensure page content has a dark background consistent with body */
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: 3em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand color for titles */
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0, #0056b3);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a decent height */
}

.page-slot-games__hero-title {
  font-size: 4em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.5em;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* CTA Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-slot-games__btn-primary:hover {
  background: #d46d06;
  border-color: #d46d06;
}

.page-slot-games__btn-secondary {
  background: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
  background: #e0f7fa;
  color: #1a7bb7;
  border-color: #1a7bb7;
}

.page-slot-games__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Video Section */
.page-slot-games__video-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly different dark background */
  text-align: center;
}

.page-slot-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* Max width for desktop video */
  margin: 0 auto 30px auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__video {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
}

.page-slot-games__video-description {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-slot-games__video-cta {
  margin-top: 20px;
}

/* Game Categories Section */
.page-slot-games__game-categories {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-slot-games__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Why Choose Section */
.page-slot-games__why-choose {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__feature-item {
  text-align: center;
}

.page-slot-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Adjusted to recommended sizes */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__feature-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games__feature-description {
  color: #f0f0f0;
}

/* Promotions Section */
.page-slot-games__promotions {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-slot-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__promotions-cta {
  margin-top: 50px;
}

/* Card Styles */
.page-slot-games__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__light-bg {
  background: #FFFFFF;
  color: #333333;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #26A9E0;
  flex-grow: 1;
}

.page-slot-games__card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__card-title a:hover {
  color: #0056b3;
}

.page-slot-games__card-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-slot-games__light-bg .page-slot-games__card-description {
  color: #333333;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-slot-games__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background-color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #0056b3;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px 25px 25px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

/* Call to Action Section */
.page-slot-games__call-to-action {
  padding: 80px 0 100px 0;
  background: linear-gradient(45deg, #0056b3, #26A9E0);
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3.5em;
  }

  .page-slot-games__hero-description {
    font-size: 1.3em;
  }

  .page-slot-games__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 80px 0;
    min-height: 500px;
  }

  .page-slot-games__hero-title {
    font-size: 2.8em;
  }

  .page-slot-games__hero-description {
    font-size: 1.1em;
  }

  .page-slot-games__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 1em;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
    max-width: 300px !important;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-slot-games__btn-large {
    padding: 15px 25px;
    font-size: 1.1em;
  }

  .page-slot-games__video-section,
  .page-slot-games__game-categories,
  .page-slot-games__why-choose,
  .page-slot-games__promotions,
  .page-slot-games__faq-section,
  .page-slot-games__call-to-action {
    padding: 60px 0;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__video,
  .page-slot-games__card-image,
  .page-slot-games__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  .page-slot-games__card-image {
    height: 180px; /* Adjust height for mobile */
  }
}