/* style/slot-games.css */

/* Custom Colors */
:root {
  --page-slot-games-primary-color: #11A84E;
  --page-slot-games-secondary-color: #22C768;
  --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-background: #08160F;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-border: #2E7A4E;
  --page-slot-games-glow: #57E38D;
  --page-slot-games-gold: #F2C14E;
  --page-slot-games-divider: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
}

/* General Page Styles */
.page-slot-games {
  color: var(--page-slot-games-text-main); /* Ensure contrast with body background, assuming dark body */
  background-color: var(--page-slot-games-background);
}

.page-slot-games__section {
  padding: 60px 20px;
  background-color: var(--page-slot-games-background);
}

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

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

.page-slot-games__section-title {
  font-size: clamp(28px, 3.5vw, 48px); /* Responsive H2 font size */
  color: var(--page-slot-games-gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: 18px;
  color: var(--page-slot-games-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, body handles header offset */
  overflow: hidden;
  text-align: center;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 600px; /* Limit hero image height */
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__main-title {
  font-size: clamp(32px, 4.5vw, 58px); /* H1 font size with clamp */
  color: var(--page-slot-games-gold);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-slot-games__description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--page-slot-games-text-main);
  margin-bottom: 30px;
}

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

.page-slot-games__cta-buttons--center {
  margin-top: 40px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff; /* Ensure white text on gradient */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--page-slot-games-gold);
  color: var(--page-slot-games-deep-green);
  transform: translateY(-3px);
}

.page-slot-games__btn-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--page-slot-games-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-link:hover {
  color: var(--page-slot-games-primary-color);
}

/* Intro Section */
.page-slot-games__intro-section .page-slot-games__text-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.page-slot-games__intro-section .page-slot-games__image-content {
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-slot-games-text-main); /* Ensure contrast */
  border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__card-title {
  font-size: 24px;
  color: var(--page-slot-games-gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-slot-games__card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__step-item {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  background-color: var(--page-slot-games-primary-color);
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 15px var(--page-slot-games-glow);
}

.page-slot-games__step-title {
  font-size: 22px;
  color: var(--page-slot-games-gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-slot-games__step-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__image-content--center {
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Strategy Section */
.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__strategy-list li {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--page-slot-games-primary-color);
}

.page-slot-games__strategy-list li h3 {
  font-size: 22px;
  color: var(--page-slot-games-gold);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-slot-games__strategy-list li p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--page-slot-games-text-secondary);
}

/* Promotions Section */
.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 {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-slot-games-border);
}

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

.page-slot-games__promo-title {
  font-size: 24px;
  color: var(--page-slot-games-gold);
  margin-bottom: 15px;
  font-weight: 700;
}

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

/* FAQ Section */
.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: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-slot-games-text-main);
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
  color: var(--page-slot-games-gold);
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--page-slot-games-text-secondary);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
  max-height: 500px; /* Adjust as needed */
  transition: max-height 0.5s ease-in;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Image Optimization & Responsiveness */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 15px;
  }

  .page-slot-games__hero-section {
    padding: 10px 15px 40px;
  }

  .page-slot-games__main-title {
    font-size: 32px; /* Fixed size for mobile H1 */
  }

  .page-slot-games__description {
    font-size: 16px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-link,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-slot-games__card,
  .page-slot-games__step-item,
  .page-slot-games__promo-card {
    padding: 20px;
  }

  .page-slot-games__section-title {
    font-size: 28px; /* Fixed size for mobile H2 */
  }

  .page-slot-games__section-description,
  .page-slot-games__card-text,
  .page-slot-games__step-text,
  .page-slot-games__strategy-list li p,
  .page-slot-games__promo-text,
  .page-slot-games__faq-answer {
    font-size: 15px;
  }

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

  .page-slot-games__container,
  .page-slot-games__card,
  .page-slot-games__section,
  .page-slot-games__promo-card,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-slot-games__video-section {
    padding-top: 10px !important; /* body handles --header-offset, small decorative padding */
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 28px;
  }

  .page-slot-games__section-title {
    font-size: 24px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }
}