/* style/slot-games.css */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color from custom palette */
  background-color: var(--background, #08160F); /* Default background from custom palette */
}

/* Ensure body padding-top is handled by shared.css, not here */

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

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem); /* H1 title size constraint */
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-slot-games__text-block {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__center-cta {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  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: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for primary button */
  border: none;
}

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

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--main-color, #11A84E); /* Text color from brand main color */
  border: 2px solid var(--border-color, #2E7A4E); /* Border from custom palette */
  margin-left: 15px;
}

.page-slot-games__btn-secondary:hover {
  background: rgba(var(--main-color-rgb, 17, 168, 78), 0.1);
  color: var(--main-color, #11A84E);
  transform: translateY(-2px);
}

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

.page-slot-games__btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
}

/* Cards */
.page-slot-games__card {
  background-color: var(--card-bg, #11271B); /* Card BG from custom palette */
  border: 1px solid var(--border-color, #2E7A4E); /* Border from custom palette */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main, #F2FFF6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, more bottom */
  background-color: var(--background, #08160F);
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Slightly dim the image to make text readable */
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-slot-games__subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* About Section */
.page-slot-games__about-section {
  padding: 80px 0;
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-slot-games__about-section .page-slot-games__text-block {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

.page-slot-games__image-content {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 30px;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background-color: var(--deep-green, #0A4B2C); /* Use deep green for contrast */
  color: var(--text-main, #F2FFF6);
}

.page-slot-games__feature-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;
  padding: 30px;
}

.page-slot-games__feature-title {
  font-size: 1.5rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: 600;
}

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

/* Video Section */
.page-slot-games__video-section {
  padding: 10px 0 80px 0; /* Small top padding, more bottom */
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
  text-align: center;
}

.page-slot-games__video-container {
  width: 100%;
  max-width: 1000px; /* Max width for video content */
}

.page-slot-games__video-wrapper {
  display: block;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  width: 100%; /* Ensure wrapper is 100% width */
  max-width: 100%;
  box-sizing: border-box;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Games Showcase Section */
.page-slot-games__games-showcase {
  padding: 80px 0;
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

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

.page-slot-games__game-card {
  text-align: center;
  padding: 20px;
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-slot-games__game-title {
  font-size: 1.4rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__game-description {
  font-size: 0.95rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
  background-color: var(--deep-green, #0A4B2C); /* Use deep green for contrast */
  color: var(--text-main, #F2FFF6);
}

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

.page-slot-games__guide-list li {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-slot-games__guide-step-title {
  font-size: 1.3rem;
  color: var(--gold, #F2C14E); /* Gold color for step titles */
  margin-bottom: 10px;
}

.page-slot-games__guide-step-description {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
}

/* Strategy Section */
.page-slot-games__strategy-section {
  padding: 80px 0;
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

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

.page-slot-games__strategy-list li {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-slot-games__strategy-item-title {
  font-size: 1.3rem;
  color: var(--glow, #57E38D); /* Glow color for strategy titles */
  margin-bottom: 10px;
}

.page-slot-games__strategy-item-description {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: var(--deep-green, #0A4B2C); /* Use deep green for contrast */
  color: var(--text-main, #F2FFF6);
}

.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: center;
  padding: 20px;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-slot-games__promo-title {
  font-size: 1.4rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__promo-description {
  font-size: 0.95rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
}

/* Support Section */
.page-slot-games__support-section {
  padding: 80px 0;
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

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

.page-slot-games__support-item {
  text-align: center;
  padding: 30px;
}

.page-slot-games__support-title {
  font-size: 1.5rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__support-description {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--deep-green, #0A4B2C); /* Use deep green for contrast */
  color: var(--text-main, #F2FFF6);
}

.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(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(var(--main-color-rgb, 17, 168, 78), 0.1);
}

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold, #F2C14E); /* Gold color for toggle icon */
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
  padding: 80px 0;
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2.2rem, 4vw, 4rem);
  }
  .page-slot-games__subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-slot-games__hero-section {
    min-height: 450px;
    padding-bottom: 40px;
  }

  .page-slot-games__main-title {
    font-size: 2.5rem; /* Fixed for mobile */
  }

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

  .page-slot-games__image-content,
  .page-slot-games__game-image,
  .page-slot-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-slot-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 60px;
  }

  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    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 {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-slot-games__guide-list li,
  .page-slot-games__strategy-list li {
    padding: 20px;
  }

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

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

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

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

  .page-slot-games__hero-section {
    min-height: 400px;
  }

  .page-slot-games__btn-large {
    font-size: 1rem;
    padding: 12px 25px;
  }
}

/* Color Contrast Adjustments */
.page-slot-games__dark-bg {
  color: #F2FFF6; /* Main text on dark background */
}

.page-slot-games__light-bg {
  color: #F2FFF6; /* Main text on deep green background sections */
}

/* Specific elements on dark backgrounds */
.page-slot-games__hero-content .page-slot-games__main-title,
.page-slot-games__hero-content .page-slot-games__subtitle {
  color: #F2FFF6;
}

.page-slot-games__card .page-slot-games__feature-title,
.page-slot-games__card .page-slot-games__game-title,
.page-slot-games__card .page-slot-games__promo-title,
.page-slot-games__card .page-slot-games__support-title {
  color: #F2FFF6;
}

.page-slot-games__card .page-slot-games__feature-description,
.page-slot-games__card .page-slot-games__game-description,
.page-slot-games__card .page-slot-games__promo-description,
.page-slot-games__card .page-slot-games__support-description {
  color: #A7D9B8;
}

.page-slot-games__faq-question .page-slot-games__faq-qtext {
  color: #F2FFF6;
}

.page-slot-games__faq-answer {
  color: #A7D9B8;
}

/* Ensure all images have min-width/height */
.page-slot-games img {
  min-width: 200px;
  min-height: 200px;
}

/* No filter on images */
.page-slot-games img {
  filter: none; 
}