/* style/slot-games.css */

/* Custom Variables based on provided color scheme */
:root {
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-slot-games {
  background-color: var(--color-background);
  color: var(--color-text-main); /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Base styles for sections and containers */
.page-slot-games__section {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__dark-bg {
  background-color: var(--color-deep-green); /* Using Deep Green for dark sections */
  color: var(--color-text-main);
}

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

.page-slot-games__container--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Headings */
.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 font size with clamp */
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-slot-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-text-main);
  margin-bottom: 40px;
  font-weight: bold;
  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-color: var(--color-glow);
  border-radius: 2px;
}

.page-slot-games__card-title,
.page-slot-games__list-item-title {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

/* Text elements */
.page-slot-games__description,
.page-slot-games__text-block,
.page-slot-games__card-text,
.page-slot-games p,
.page-slot-games li {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.page-slot-games a {
  color: var(--color-glow); /* Links in text */
  text-decoration: none;
}

.page-slot-games a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

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

.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.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button adapts */
}

.page-slot-games__btn-primary {
  background: var(--button-gradient);
  color: var(--color-text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--color-glow);
  border: 2px solid var(--color-glow);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2);
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--color-glow);
  color: var(--color-background); /* Dark text on light background */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding for visual separation */
  padding-bottom: 80px;
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 40px; /* Space between image and content */
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Limit height for aesthetic */
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__hero-content {
  text-align: center;
  position: relative;
  z-index: 1; /* Ensure content is above any potential background layers */
  max-width: 900px;
  padding: 0 20px;
}

/* Image styling */
.page-slot-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto; /* Centered with vertical spacing */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

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

.page-slot-games__feature-card,
.page-slot-games__promo-card {
  background-color: var(--color-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  text-align: left;
}

/* Lists */
.page-slot-games__list,
.page-slot-games__numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-slot-games__list-item {
  margin-bottom: 25px;
  padding-left: 30px;
  position: relative;
}

.page-slot-games__list-item::before {
  content: '✔'; /* Custom bullet point */
  color: var(--color-glow);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-slot-games__numbered-list .page-slot-games__list-item::before {
  content: counter(list-item);
  counter-increment: list-item;
  background-color: var(--color-glow);
  color: var(--color-background);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
  left: -5px;
  top: 0;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

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

.page-slot-games__faq-question:hover {
  background-color: var(--color-deep-green);
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  color: var(--color-glow);
  margin-left: 15px;
}

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

/* Ensure details element works without JS */
.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__section {
    padding: 60px 0;
  }

  .page-slot-games__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-slot-games__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }

  .page-slot-games__hero-section {
    padding-bottom: 60px;
  }

  .page-slot-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-slot-games__description {
    font-size: 1rem;
    padding: 0 10px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto; /* Center individual buttons */
  }

  .page-slot-games__container {
    padding: 0 15px; /* Add padding to all containers on mobile */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset; /* Allow smaller images if needed, but still responsive */
    min-height: unset;
  }
  
  /* All containers with images */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Video responsiveness (if any, though not explicitly in HTML for this page) */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__video-section,
  .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-section {
    padding-top: 10px !important; /* Small top padding, not var(--header-offset) */
  }

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

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

  .page-slot-games__features-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr; /* Single column layout on mobile */
  }
}