/* style/slot-games.css */

:root {
  --page-slot-games-bg-color: #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-primary-color: #11A84E;
  --page-slot-games-secondary-color: #22C768;
  --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 {
  background-color: var(--page-slot-games-bg-color);
  color: var(--page-slot-games-text-main);
  font-family: 'Arial', sans-serif;
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-slot-games__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--page-slot-games-gold-color);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  color: var(--page-slot-games-text-secondary);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  border: 2px solid transparent;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
  transform: translateY(-2px);
}

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

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

.page-slot-games__btn-tertiary {
  background: var(--page-slot-games-deep-green);
  color: var(--page-slot-games-text-main);
  border-color: var(--page-slot-games-border-color);
  font-size: 0.95em;
  padding: 10px 20px;
}

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

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

/* Hero Section */
.page-slot-games__hero-section {
  padding: 10px 0 60px 0; /* body already handles header offset */
  background-color: var(--page-slot-games-bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-slot-games__description {
  font-size: 1.25em;
  line-height: 1.7;
  color: var(--page-slot-games-text-main);
  margin-bottom: 30px;
}

/* Dark Section */
.page-slot-games__dark-section {
  background-color: var(--page-slot-games-card-bg);
  color: var(--page-slot-games-text-main);
  border-top: 1px solid var(--page-slot-games-divider-color);
  border-bottom: 1px solid var(--page-slot-games-divider-color);
}

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

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

.page-slot-games__feature-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__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

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

.page-slot-games__card-description {
  font-size: 1em;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.6;
}

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

.page-slot-games__game-card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid var(--page-slot-games-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-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__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__game-content .page-slot-games__card-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95em;
}

/* Steps Grid */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__step-card {
  background-color: var(--page-slot-games-deep-green);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--page-slot-games-border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__step-card .page-slot-games__card-title {
  color: var(--page-slot-games-gold-color);
  font-size: 1.4em;
  margin-top: 0;
}

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

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

.page-slot-games__promo-card {
  background-color: var(--page-slot-games-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--page-slot-games-border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__promo-card .page-slot-games__card-title {
  color: var(--page-slot-games-gold-color);
  font-size: 1.5em;
  margin-top: 0;
}

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

/* Mobile Showcase */
.page-slot-games__mobile-showcase {
  margin-top: 60px;
  padding: 0 20px;
}

.page-slot-games__mobile-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* FAQ */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 8px;
  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.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-color);
  transition: background-color 0.3s ease;
}

details.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: var(--page-slot-games-primary-color);
  color: #ffffff;
}

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

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

.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);
}

details.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  color: #ffffff;
}

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

/* Final CTA */
.page-slot-games__final-cta {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: clamp(2em, 5vw, 2.5em);
  }
  .page-slot-games__main-title {
    font-size: clamp(2em, 6vw, 3em);
  }
  .page-slot-games__description {
    font-size: 1.1em;
  }
}

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

  .page-slot-games__section {
    padding: 40px 0;
  }

  .page-slot-games__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body already handles header offset */
  }

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

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-slot-games__description {
    font-size: 1em;
  }

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1em;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

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

  .page-slot-games__card-title {
    font-size: 1.4em;
  }

  .page-slot-games__card-description {
    font-size: 0.9em;
  }

  .page-slot-games__mobile-showcase {
    margin-top: 40px;
    padding: 0;
  }

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

  .page-slot-games__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }
  
  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__mobile-showcase {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Ensure video/image containers do not cause overflow */
  .page-slot-games__video-section, /* If video was present */
  .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 { /* If video was present */
    padding-top: 10px !important;
  }
}