/* style/slot-games.css */

/* Custom Colors */
:root {
  --page-slot-games-bg: #08160F;
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --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;
}

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

/* Section Styling */
.page-slot-games__hero-section,
.page-slot-games__video-section,
.page-slot-games__content-section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow */
}

/* Fixed header spacing - body already handles padding-top */
.page-slot-games__hero-section {
  padding-top: 10px; /* Small top padding for visual separation */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-games__video-section {
  padding-top: 10px; /* Small top padding for visual separation */
}

/* Hero Section */
.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and content */
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-slot-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--page-slot-games-text-main);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow color */
}

.page-slot-games__subtitle {
  font-size: 1.2em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 30px;
}

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

.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;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-btn-gradient);
  color: var(--page-slot-games-text-main); /* White text for contrast */
  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-glow); /* Green glow color for text */
  border: 2px solid var(--page-slot-games-glow);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: rgba(87, 227, 141, 0.1); /* Slight background on hover */
}

.page-slot-games__small-btn {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: unset;
}

.page-slot-games__large-btn {
  padding: 18px 40px;
  font-size: 1.2em;
  min-width: 250px;
}

/* Video Section */
.page-slot-games__video-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 15px; /* Add padding for content inside container */
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer; /* Indicate clickable */
}

/* Content Sections */
.page-slot-games__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: left;
}

.page-slot-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: var(--page-slot-games-text-main);
  margin-top: 50px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  width: 80px;
  height: 4px;
  background: var(--page-slot-games-glow);
  border-radius: 2px;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 40px;
}

.page-slot-games__text-block {
  font-size: 1em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 20px;
}

.page-slot-games__text-link {
  color: var(--page-slot-games-glow);
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__text-link:hover {
  text-decoration: underline;
}

.page-slot-games__image-container {
  margin: 40px auto;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-slot-games__numbered-list {
  counter-reset: list-counter;
}

.page-slot-games__list-item {
  background-color: var(--page-slot-games-card-bg); /* Dark card background */
  border: 1px solid var(--page-slot-games-border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 60px; /* Space for counter or icon */
}

.page-slot-games__list-item:last-child {
  margin-bottom: 0;
}

.page-slot-games__numbered-list .page-slot-games__list-item::before {
  counter-increment: list-counter;
  content: counter(list-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  background: var(--page-slot-games-glow);
  color: var(--page-slot-games-bg); /* Dark text on glow background */
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1em;
}

.page-slot-games__list-title {
  font-size: 1.3em;
  color: var(--page-slot-games-text-main);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__list-item p {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95em;
  margin-bottom: 10px;
}

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

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-slot-games-text-main);
  background-color: var(--page-slot-games-deep-green); /* Slightly different dark green for question */
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(10, 75, 44, 0.8); /* Darken on hover */
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 30px;
  text-align: center;
  color: var(--page-slot-games-glow);
}

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  background-color: var(--page-slot-games-card-bg);
  color: var(--page-slot-games-text-secondary);
  text-align: left;
  border-top: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
}

.page-slot-games__faq-answer .page-slot-games__btn-primary,
.page-slot-games__faq-answer .page-slot-games__btn-secondary {
  margin-top: 15px;
  display: inline-flex;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-slot-games__hero-section,
  .page-slot-games__video-section,
  .page-slot-games__content-section {
    padding: 30px 15px;
  }

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

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

  .page-slot-games__cta-buttons,
  .page-slot-games__cta-video,
  .page-slot-games__cta-promotions,
  .page-slot-games__final-cta {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }

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

  /* Images responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__image-container,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Videos responsive */
  .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; /* body already handles --header-offset */
  }

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

  .page-slot-games__list-item {
    padding: 20px;
    padding-left: 50px;
  }

  .page-slot-games__numbered-list .page-slot-games__list-item::before {
    left: 15px;
    top: 20px;
    width: 28px;
    height: 28px;
    font-size: 0.9em;
  }

  .page-slot-games__list-title {
    font-size: 1.1em;
  }

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