/* 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;
}

/* Base styles for the page content */
.page-slot-games {
  background-color: var(--page-slot-games-background); /* Deep dark green from custom colors */
  color: var(--page-slot-games-text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-slot-games-text-main);
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--page-slot-games-secondary-color);
  border-radius: 2px;
}

.page-slot-games__description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__main-title {
  font-weight: bold;
  text-align: center;
  color: var(--page-slot-games-text-main);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

/* HERO Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  background-color: var(--page-slot-games-background);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

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

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

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: var(--page-slot-games-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

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

/* About Section */
.page-slot-games__about-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-text-main);
  color: #333333; /* Dark text for light background */
}

.page-slot-games__about-section .page-slot-games__section-title {
  color: #333333;
}

.page-slot-games__about-section .page-slot-games__description {
  color: #555555;
}

.page-slot-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-slot-games__text-block {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #555555;
}

.page-slot-games__image-block {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Why Choose Us Section */
.page-slot-games__why-choose-us {
  padding: 80px 0;
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-main);
}

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

.page-slot-games__feature-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: var(--page-slot-games-secondary-color);
  margin-bottom: 15px;
}

.page-slot-games__feature-item p {
  color: var(--page-slot-games-text-secondary);
}

/* Games Section */
.page-slot-games__games-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-text-main);
  color: #333333;
}

.page-slot-games__games-section .page-slot-games__section-title {
  color: #333333;
}

.page-slot-games__games-section .page-slot-games__description {
  color: #555555;
}

.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 {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.page-slot-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__game-title {
  font-size: 1.3em;
  color: var(--page-slot-games-primary-color);
  margin-bottom: 10px;
}

.page-slot-games__game-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  min-height: 60px; /* Ensure consistent card height */
}

.page-slot-games__btn-play-now {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-main);
}

.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);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  text-align: center;
  border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  color: var(--page-slot-games-secondary-color);
  margin-bottom: 10px;
}

.page-slot-games__promo-card p {
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Strategy Guide Section */
.page-slot-games__strategy-guide {
  padding: 80px 0;
  background-color: var(--page-slot-games-text-main);
  color: #333333;
}

.page-slot-games__strategy-guide .page-slot-games__section-title {
  color: #333333;
}

.page-slot-games__strategy-guide .page-slot-games__description {
  color: #555555;
}

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

.page-slot-games__strategy-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-slot-games__strategy-title {
  font-size: 1.4em;
  color: var(--page-slot-games-primary-color);
  margin-bottom: 15px;
}

.page-slot-games__strategy-item p {
  color: #555555;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-main);
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-slot-games-text-main);
  cursor: pointer;
  background-color: var(--page-slot-games-deep-green);
  border-bottom: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid var(--page-slot-games-divider);
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: var(--page-slot-games-text-secondary);
  background-color: var(--page-slot-games-card-bg);
}

/* Details element specific styles for summary marker */
.page-slot-games__faq-item summary {
  list-style: none;
}

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

/* Final CTA Section */
.page-slot-games__final-cta {
  padding: 80px 0;
  background-color: var(--page-slot-games-text-main);
  color: #333333;
}

.page-slot-games__cta-content {
  text-align: center;
}

.page-slot-games__final-cta .page-slot-games__section-title {
  color: #333333;
}

.page-slot-games__final-cta .page-slot-games__description {
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

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

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

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

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

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

  .page-slot-games__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__about-section,
  .page-slot-games__why-choose-us,
  .page-slot-games__games-section,
  .page-slot-games__promotions-section,
  .page-slot-games__strategy-guide,
  .page-slot-games__faq-section,
  .page-slot-games__final-cta {
    padding: 50px 0;
  }

  .page-slot-games__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-slot-games__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-slot-games__image-block {
    order: -1; /* Image above text on mobile */
  }

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

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__strategy-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__game-description {
    min-height: auto;
  }

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

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

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}

/* Ensure all content area images meet min size requirements */
.page-slot-games img {
  min-width: 200px;
  min-height: 200px;
}

/* Override for elements that might be smaller by default but must be 200x200 or larger */
.page-slot-games__game-image, .page-slot-games__promo-image {
  min-width: 200px;
  min-height: 200px;
}

/* Text color adjustments for different background sections */
.page-slot-games__light-bg {
  background-color: var(--page-slot-games-text-main); /* White/light background */
  color: #333333; /* Dark text */
}

.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-background); /* Dark background */
  color: var(--page-slot-games-text-main); /* Light text */
}

.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  color: var(--page-slot-games-text-main);
}

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

.page-slot-games__light-bg .page-slot-games__feature-title,
.page-slot-games__light-bg .page-slot-games__game-title,
.page-slot-games__light-bg .page-slot-games__strategy-title {
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__dark-bg .page-slot-games__feature-title,
.page-slot-games__dark-bg .page-slot-games__promo-title {
  color: var(--page-slot-games-secondary-color);
}

.page-slot-games__dark-bg .page-slot-games__feature-item p,
.page-slot-games__dark-bg .page-slot-games__promo-card p {
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__light-bg p, .page-slot-games__light-bg li {
  color: #555555;
}

.page-slot-games__light-bg .page-slot-games__game-description {
  color: #666666;
}