/* 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-color: #2E7A4E;
  --page-slot-games-glow-color: #57E38D;
  --page-slot-games-gold-color: #F2C14E;
  --page-slot-games-divider-color: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-slot-games {
  background-color: var(--page-slot-games-background); /* Dark background */
  color: var(--page-slot-games-text-main); /* Light text for dark background */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: 2.8em;
  font-weight: 700;
  color: var(--page-slot-games-gold-color);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-slot-games__section-title--light {
  color: var(--page-slot-games-text-main);
}

.page-slot-games__section-description {
  font-size: 1.1em;
  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__section-description--light {
  color: var(--page-slot-games-text-main);
}

.page-slot-games__content-block {
  margin-bottom: 30px;
}

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

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

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--page-slot-games-glow-color);
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  font-size: 1.1em;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for desktop */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-slot-games__hero-content-wrapper {
  width: 100%;
  background-color: var(--page-slot-games-background);
  padding: 60px 20px;
  text-align: center;
  box-sizing: border-box;
}

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

.page-slot-games__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  color: var(--page-slot-games-gold-color);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-slot-games__introduction-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.page-slot-games__features-section {
  padding: 60px 0;
}

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

.page-slot-games__feature-title {
  font-size: 1.6em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-slot-games__image-responsive {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-green);
}

.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-card {
  text-align: center;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-slot-games__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--page-slot-games-button-gradient);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 700;
  border: 4px solid var(--page-slot-games-border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__step-card p {
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 20px;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
  padding: 60px 0;
}

.page-slot-games__games-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;
  overflow: hidden;
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.page-slot-games__game-card:hover .page-slot-games__game-image {
  transform: scale(1.05);
}

.page-slot-games__game-title {
  font-size: 1.5em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__game-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-green);
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
}

.page-slot-games__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 12px;
  padding: 20px 25px;
  color: var(--page-slot-games-text-main);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3em;
  font-weight: 600;
  color: var(--page-slot-games-text-main);
  list-style: none; /* Remove default marker */
}

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

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  color: var(--page-slot-games-gold-color);
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  padding-top: 15px;
  font-size: 1.05em;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.6;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
  padding: 80px 0;
}

.page-slot-games__cta-final-section .page-slot-games__container {
  background-color: var(--page-slot-games-deep-green);
  border-radius: 15px;
  text-align: center;
  padding: 60px 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }
  .page-slot-games__section-title {
    font-size: 2.2em;
  }
}

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

  .page-slot-games__container {
    padding: 20px 15px; /* Adjust padding for mobile */
  }

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

  .page-slot-games__hero-content-wrapper {
    padding: 40px 15px;
  }

  .page-slot-games__hero-title {
    font-size: 2.2em; /* Fixed for mobile, as clamp might be too small */
    margin-bottom: 15px;
  }

  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

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

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

  .page-slot-games__card {
    padding: 20px;
  }

  .page-slot-games__feature-title,
  .page-slot-games__step-title,
  .page-slot-games__game-title {
    font-size: 1.4em;
  }

  .page-slot-games__step-card {
    padding-top: 50px;
  }

  .page-slot-games__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    top: -15px;
  }

  .page-slot-games__game-image {
    height: 180px;
  }

  .page-slot-games__faq-item summary {
    font-size: 1.1em;
  }

  .page-slot-games__faq-answer {
    font-size: 0.95em;
  }

  /* Mobile specific image/video/container rules */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__hero-section,
  .page-slot-games__introduction-section,
  .page-slot-games__features-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section,
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .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;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-slot-games__video-section {
    padding-top: 10px !important; /* Small top margin */
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-title {
    font-size: 1.6em;
  }
  .page-slot-games__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6em;
  }
}

/* Desktop specific width for video container */
.page-slot-games__video-container {
  width: 100%; /* Ensure full width on desktop too */
}

/* No CSS filters for images */
.page-slot-games img {
  filter: none; /* Ensure no filters are applied */
}