/* style/slot-games.css */

:root {
  --page-slot-games-primary-color: #113B7A;
  --page-slot-games-secondary-color: #1D5FD1;
  --page-slot-games-card-bg: #10233F;
  --page-slot-games-text-main: #F3F8FF;
  --page-slot-games-text-secondary: #AFC4E8;
  --page-slot-games-border-color: #244D84;
  --page-slot-games-glow-color: #4FA8FF;
  --page-slot-games-gold-color: #F2C14E;
  --page-slot-games-divider-color: #1B3357;
  --page-slot-games-deep-navy: #08162B;
  --page-slot-games-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-slot-games {
  font-family: Arial, sans-serif;
  color: var(--page-slot-games-text-main); /* Ensure light text on dark body background */
  background-color: var(--page-slot-games-deep-navy); /* Assumed body background */
}

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

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: var(--page-slot-games-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__text-center {
  text-align: center;
}

.page-slot-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff; /* Explicitly white for contrast */
  border: none;
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--page-slot-games-gold-color);
  border: 2px solid var(--page-slot-games-gold-color);
}

.page-slot-games__btn-secondary:hover {
  background: var(--page-slot-games-gold-color);
  color: var(--page-slot-games-primary-color); /* Dark text on gold hover */
}

.page-slot-games__btn-play {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff;
  border: none;
  padding: 8px 15px;
  font-size: 0.9rem;
  margin-top: 10px;
}

.page-slot-games__btn-play:hover {
  opacity: 0.9;
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-slot-games__cta-buttons--centered {
  justify-content: center;
}

.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-slot-games-border-color);
  color: var(--page-slot-games-text-secondary);
  text-align: center;
}

.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  margin-bottom: 50px;
  background-color: var(--page-slot-games-primary-color);
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for desktop hero */
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop to look good */
  display: block;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.2rem;
  color: var(--page-slot-games-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Jackpot Ticker Section */
.page-slot-games__jackpot-ticker-section {
  background-color: var(--page-slot-games-deep-navy);
  padding: 40px 0;
  text-align: center;
  border-bottom: 1px solid var(--page-slot-games-divider-color);
}

.page-slot-games__jackpot-label {
  font-size: 1.5rem;
  color: var(--page-slot-games-text-secondary);
  margin-right: 15px;
}

.page-slot-games__jackpot-value {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--page-slot-games-glow-color);
  font-weight: bold;
  text-shadow: 0 0 15px rgba(79, 168, 255, 0.7);
}

.page-slot-games__jackpot-info {
  font-size: 1.1rem;
  color: var(--page-slot-games-text-secondary);
  margin-top: 15px;
}

/* About Section */
.page-slot-games__about-section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__dark-section {
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__dark-section .page-slot-games__text-block {
  color: var(--page-slot-games-text-main);
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-navy);
}

.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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-slot-games__feature-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid var(--page-slot-games-gold-color);
}

.page-slot-games__feature-title {
  font-size: 1.4rem;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
}

.page-slot-games__feature-description {
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
  padding: 60px 0;
}

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

.page-slot-games__game-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-slot-games__game-image {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 2px solid var(--page-slot-games-border-color);
}

.page-slot-games__game-title {
  font-size: 1.3rem;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 5px;
}

.page-slot-games__game-provider {
  font-size: 0.95rem;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 10px;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-navy);
}

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

.page-slot-games__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-slot-games__step-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: var(--page-slot-games-primary-color);
  padding: 15px;
  border: 2px solid var(--page-slot-games-gold-color);
}

.page-slot-games__step-title {
  font-size: 1.4rem;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
}

.page-slot-games__step-description {
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
}

/* Strategy Section */
.page-slot-games__strategy-section {
  padding: 60px 0;
}

.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__strategy-item {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--page-slot-games-text-main);
  border-left: 5px solid var(--page-slot-games-gold-color);
}

.page-slot-games__strategy-item strong {
  color: var(--page-slot-games-gold-color);
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-navy);
}

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

.page-slot-games__promo-card {
  text-align: left;
  padding: 20px;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__promo-title {
  font-size: 1.3rem;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
}

.page-slot-games__promo-description {
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
}

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

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--page-slot-games-border-color);
  color: var(--page-slot-games-text-main);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-item[open] {
  background-color: var(--page-slot-games-primary-color);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--page-slot-games-gold-color);
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--page-slot-games-text-secondary);
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--page-slot-games-primary-color);
}

.page-slot-games__cta-final-section .page-slot-games__section-title {
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__cta-final-section .page-slot-games__text-block {
  color: var(--page-slot-games-text-main);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Responsive Styles --- */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__hero-section {
    flex-direction: column;
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
    margin-bottom: 30px;
  }

  .page-slot-games__hero-image-wrapper {
    max-height: 300px;
  }

  .page-slot-games__hero-image {
    object-fit: contain; /* Hero mobile: contain, not cover */
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__hero-content {
    padding: 30px 15px;
  }

  .page-slot-games__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-slot-games__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__btn {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Jackpot Ticker Section */
  .page-slot-games__jackpot-ticker-section {
    padding: 30px 0;
  }

  .page-slot-games__jackpot-label {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
  }

  .page-slot-games__jackpot-value {
    font-size: 2.5rem;
  }

  .page-slot-games__jackpot-info {
    font-size: 0.95rem;
  }

  /* General Section and Text */
  .page-slot-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

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

  /* Why Choose Section */
  .page-slot-games__why-choose-section {
    padding: 40px 0;
  }

  .page-slot-games__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }

  .page-slot-games__feature-title {
    font-size: 1.2rem;
  }

  /* Popular Games Section */
  .page-slot-games__popular-games-section {
    padding: 40px 0;
  }

  .page-slot-games__game-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for game grid on mobile */
    gap: 15px;
  }

  .page-slot-games__game-image {
    width: 100% !important; /* Ensure image fills card width */
    height: auto !important;
    aspect-ratio: 1 / 1; /* Keep aspect ratio square */
    object-fit: cover;
    border-radius: 8px;
  }

  .page-slot-games__game-tile .page-slot-games__btn-play {
    width: calc(100% - 30px); /* Adjust button width within card */
    max-width: 100%;
  }

  /* Guide Section */
  .page-slot-games__guide-section {
    padding: 40px 0;
  }

  .page-slot-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__step-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }

  .page-slot-games__step-title {
    font-size: 1.2rem;
  }

  /* Strategy Section */
  .page-slot-games__strategy-section {
    padding: 40px 0;
  }

  .page-slot-games__strategy-item {
    font-size: 1rem;
    padding: 15px;
  }

  /* Promotions Section */
  .page-slot-games__promotions-section {
    padding: 40px 0;
  }

  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__promo-image {
    height: 180px;
  }

  .page-slot-games__promo-title {
    font-size: 1.2rem;
  }

  /* FAQ Section */
  .page-slot-games__faq-section {
    padding: 40px 0;
  }

  .page-slot-games__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-slot-games__faq-toggle {
    font-size: 1.2rem;
  }

  .page-slot-games__faq-answer {
    font-size: 0.95rem;
    padding: 0 15px 15px 15px;
  }

  /* Final CTA Section */
  .page-slot-games__cta-final-section {
    padding: 40px 0;
  }

  /* General Image adaptation */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .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;
  }
}

/* Tablet (max-width: 1024px) - Adjustments for larger mobile/small tablet */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-slot-games__container {
    padding: 25px;
  }

  .page-slot-games__hero-content {
    padding: 40px 25px;
  }

  .page-slot-games__main-title {
    font-size: 2.8rem;
  }

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

  .page-slot-games__jackpot-label {
    font-size: 1.4rem;
  }

  .page-slot-games__jackpot-value {
    font-size: 3.5rem;
  }

  .page-slot-games__section-title {
    font-size: 2.2rem;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
  }

  .page-slot-games__game-image {
    width: 200px;
    height: 200px;
  }

  .page-slot-games__faq-question {
    font-size: 1.1rem;
  }

  .page-slot-games__faq-answer {
    font-size: 1rem;
  }
}