/* style/slot-games.css */

/* Custom Colors from provided scheme */
:root {
  --page-slot-games-primary-color: #11A84E;
  --page-slot-games-secondary-color: #22C768;
  --page-slot-games-bg-dark: #08160F;
  --page-slot-games-card-bg: #11271B;
  --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;
  --page-slot-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--page-slot-games-text-main); /* Default text color for main content */
  background-color: var(--page-slot-games-bg-dark); /* Main page background */
}

.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: 700;
  color: var(--page-slot-games-text-main);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__description-center {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__highlight {
  color: var(--page-slot-games-gold-color);
  font-weight: 700;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-btn-gradient);
  color: var(--page-slot-games-text-main);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

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

.page-slot-games__btn-secondary:hover {
  background: rgba(17, 168, 78, 0.1);
  color: var(--page-slot-games-text-main);
}

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

.page-slot-games__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 5px;
  background: var(--page-slot-games-btn-gradient);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__btn-small:hover {
  opacity: 0.9;
}

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

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

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
  display: block;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__main-title {
  font-weight: 800;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

/* About Slots Section */
.page-slot-games__about-slots-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-bg-dark);
}

.page-slot-games__grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.page-slot-games__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-card-bg);
}

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

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

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
}

.page-slot-games__feature-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 250px; /* Recommended max width for icons within cards */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-slot-games__card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 15px;
}

.page-slot-games__feature-card p {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__grid-2-col-reversed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-slot-games__steps-list li {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  line-height: 1.6;
  font-size: 1.05em;
  color: var(--page-slot-games-text-secondary);
  position: relative;
  padding-left: 60px;
}

.page-slot-games__steps-list li strong {
  color: var(--page-slot-games-text-main);
  font-size: 1.1em;
}

.page-slot-games__steps-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--page-slot-games-btn-gradient);
  color: var(--page-slot-games-text-main);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1em;
}

/* Game Highlights Section */
.page-slot-games__game-highlights-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-card-bg);
}

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

.page-slot-games__game-card {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-10px);
}

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

.page-slot-games__game-card .page-slot-games__card-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__game-card p {
  font-size: 0.9em;
  line-height: 1.5;
  color: var(--page-slot-games-text-secondary);
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-slot-games__center-cta {
  text-align: center;
}

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

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

.page-slot-games__promo-card {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-10px);
}

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

.page-slot-games__promo-card .page-slot-games__card-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__promo-card p {
  font-size: 0.9em;
  line-height: 1.5;
  color: var(--page-slot-games-text-secondary);
  padding: 0 15px;
  margin-bottom: 20px;
}

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

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

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  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: 20px 25px;
  font-size: 1.1em;
  font-weight: 600;
  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-border-color);
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

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

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

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

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--page-slot-games-text-secondary);
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter card bg for answer */
}

/* CTA Bottom Section */
.page-slot-games__cta-bottom-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-deep-green);
  text-align: center;
}

.page-slot-games__cta-bottom-content {
  max-width: 900px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__grid-2-col,
  .page-slot-games__grid-2-col-reversed {
    grid-template-columns: 1fr;
  }
  .page-slot-games__about-slots-section .page-slot-games__image-block,
  .page-slot-games__how-to-play-section .page-slot-games__image-block {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

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

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

  .page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 2.5em); /* Use clamp for H1 on mobile */
    margin-bottom: 15px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-large,
  .page-slot-games__btn-small,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-content .page-slot-games__cta-buttons {
    padding: 0;
  }

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

  .page-slot-games img,
  .page-slot-games__hero-image,
  .page-slot-games__content-image,
  .page-slot-games__feature-icon,
  .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__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__grid-2-col,
  .page-slot-games__grid-2-col-reversed,
  .page-slot-games__feature-grid,
  .page-slot-games__game-card-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__faq-list,
  .page-slot-games__cta-bottom-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-slot-games__feature-icon {
    max-width: 100% !important;
  }

  .page-slot-games__promo-card p, .page-slot-games__game-card p {
    padding: 0 10px;
  }
}

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

  .page-slot-games__hero-content {
    padding: 0 10px;
  }

  .page-slot-games__steps-list li {
    padding-left: 50px;
    font-size: 0.95em;
  }
}