/* style/slot-games.css */
/* Custom Colors */
:root {
  --win55-primary-color: #11A84E;
  --win55-secondary-color: #22C768;
  --win55-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --win55-card-bg: #11271B;
  --win55-background: #08160F;
  --win55-text-main: #F2FFF6;
  --win55-text-secondary: #A7D9B8;
  --win55-border-color: #2E7A4E;
  --win55-glow-color: #57E38D;
  --win55-gold-color: #F2C14E;
  --win55-divider-color: #1E3A2A;
  --win55-deep-green: #0A4B2C;
}

.page-slot-games {
  background-color: var(--win55-background); /* #08160F - Dark background */
  color: var(--win55-text-main); /* #F2FFF6 - Light text for contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom */
  color: var(--win55-text-main);
  overflow: hidden;
}

.page-slot-games__hero-image {
  position: relative; /* Not absolute to allow normal flow */
  width: 100%;
  max-height: 675px; /* Limit height for aesthetic */
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 10px;
}

.page-slot-games__hero-content {
  max-width: 900px;
  z-index: 1; /* Ensure content is above image if any overlap occurs visually, but not actually overlaying */
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--win55-gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--win55-text-secondary);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--win55-button-gradient);
  color: #ffffff; /* White text for contrast on dark green gradient */
  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(--win55-primary-color); /* Primary color text on transparent */
  border: 2px solid var(--win55-primary-color);
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--win55-primary-color);
  color: #ffffff;
}

.page-slot-games__section {
  padding: 60px 20px;
  text-align: center;
}

.page-slot-games__dark-section {
  background-color: var(--win55-deep-green); /* #0A4B2C - Dark green background */
  color: var(--win55-text-main); /* #F2FFF6 - Light text */
}

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

.page-slot-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--win55-gold-color);
  margin-bottom: 30px;
  font-weight: 600;
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: var(--win55-gold-color);
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--win55-text-secondary);
}

.page-slot-games__dark-section .page-slot-games__text-block {
  color: var(--win55-text-secondary);
}

.page-slot-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

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

.page-slot-games__game-card {
  background-color: var(--win55-card-bg); /* #11271B - Dark card background */
  color: var(--win55-text-main); /* #F2FFF6 - Light text */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: left;
  transition: transform 0.3s ease;
  border: 1px solid var(--win55-border-color); /* #2E7A4E */
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-slot-games__card-title {
  font-size: 1.5rem;
  color: var(--win55-gold-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__card-description {
  font-size: 1rem;
  color: var(--win55-text-secondary);
}

.page-slot-games__feature-list,
.page-slot-games__step-list,
.page-slot-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-slot-games__feature-item,
.page-slot-games__step-item,
.page-slot-games__promotion-item {
  background-color: var(--win55-card-bg); /* #11271B */
  color: var(--win55-text-main); /* #F2FFF6 */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid var(--win55-primary-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-size: 1.1rem;
}

.page-slot-games__step-item strong {
  color: var(--win55-gold-color);
}

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

.page-slot-games__faq-item {
  background-color: var(--win55-card-bg); /* #11271B */
  border: 1px solid var(--win55-border-color); /* #2E7A4E */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--win55-gold-color);
  background-color: var(--win55-deep-green); /* Darker for summary */
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--win55-primary-color);
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--win55-text-secondary);
}

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

.page-slot-games__final-cta {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* All images responsive base */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

/* All video responsive base */
.page-slot-games video,
.page-slot-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

.page-slot-games__video-section,
.page-slot-games__video-container,
.page-slot-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 40px;
  }

  .page-slot-games__main-title {
    font-size: 2rem !important;
  }

  .page-slot-games__hero-description {
    font-size: 1rem !important;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

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

  .page-slot-games__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__section-title {
    font-size: 1.8rem !important;
  }

  .page-slot-games__text-block {
    font-size: 1rem !important;
  }

  .page-slot-games__game-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-slot-games__card-title {
    font-size: 1.3rem;
  }

  .page-slot-games__feature-item,
  .page-slot-games__step-item,
  .page-slot-games__promotion-item {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .page-slot-games__faq-item summary {
    font-size: 1.1rem !important;
    padding: 15px;
  }

  .page-slot-games__faq-toggle {
    font-size: 1.5rem !important;
  }

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

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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