/* style/slot-games.css */

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

/* Base styles for the page content, ensuring contrast with body background */
.page-slot-games {
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  background-color: var(--page-slot-games-bg-main); /* #08160F */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Sections */
.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-bg-main); /* #08160F */
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
}

.page-slot-games__light-bg {
  background-color: #f0f0f0; /* A light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__list-title,
.page-slot-games__light-bg .page-slot-games__card-title {
  color: var(--page-slot-games-deep-green); /* #0A4B2C */
}

.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.8em;
  margin-bottom: 40px;
  color: var(--page-slot-games-gold); /* #F2C14E */
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for readability */
  border-radius: 10px;
}

.page-slot-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--page-slot-games-gold); /* #F2C14E */
  margin-bottom: 20px;
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
}

.page-slot-games__description {
  font-size: 1.2em;
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  margin-bottom: 30px;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt to mobile */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

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

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--page-slot-games-gold); /* #F2C14E */
  border: 2px solid var(--page-slot-games-gold); /* #F2C14E */
}

.page-slot-games__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
}

/* Image content within sections */
.page-slot-games__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Lists */
.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-slot-games__list-item {
  background-color: var(--page-slot-games-bg-card); /* #11271B */
  border-left: 5px solid var(--page-slot-games-primary); /* #11A84E */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
}

.page-slot-games__list-title {
  font-size: 1.4em;
  color: var(--page-slot-games-gold); /* #F2C14E */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__list-description {
  font-size: 1em;
  color: var(--page-slot-games-text-secondary); /* #A7D9B8 */
}

.page-slot-games__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  margin: 0 auto 40px auto;
  max-width: 900px;
  text-align: left;
  counter-reset: my-counter;
}

.page-slot-games__numbered-list .page-slot-games__list-item {
  background-color: var(--page-slot-games-bg-card);
  border-left: none;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 60px; /* Space for custom counter */
}

.page-slot-games__numbered-list .page-slot-games__list-item::before {
  content: counter(my-counter);
  counter-increment: my-counter;
  position: absolute;
  left: 20px;
  top: 20px;
  width: 30px;
  height: 30px;
  background-color: var(--page-slot-games-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
}

/* Grid List (Benefits) */
.page-slot-games__grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 1200px;
}

.page-slot-games__grid-item {
  text-align: left;
  background-color: var(--page-slot-games-bg-card); /* #11271B */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid var(--page-slot-games-divider); /* #1E3A2A */
}

.page-slot-games__grid-item:hover {
  transform: translateY(-5px);
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: var(--page-slot-games-gold); /* #F2C14E */
  margin-top: 0;
  margin-bottom: 15px;
}

.page-slot-games__card-description {
  font-size: 1em;
  color: var(--page-slot-games-text-secondary); /* #A7D9B8 */
}

/* Promotions Grid */
.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 1200px;
}

.page-slot-games__promo-card {
  text-align: left;
  background-color: var(--page-slot-games-bg-card); /* #11271B */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid var(--page-slot-games-divider); /* #1E3A2A */
}

.page-slot-games__promo-card .page-slot-games__card-title {
  color: var(--page-slot-games-gold); /* #F2C14E */
}

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

.page-slot-games__card-link {
  display: inline-block;
  color: var(--page-slot-games-primary); /* #11A84E */
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.page-slot-games__card-link:hover {
  text-decoration: underline;
  color: var(--page-slot-games-glow); /* #57E38D */
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--page-slot-games-gold); /* #F2C14E */
  background-color: var(--page-slot-games-deep-green); /* #0A4B2C */
  border-bottom: 1px solid var(--page-slot-games-divider);
  list-style: none; /* For <details> summary */
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-slot-games-gold); /* #F2C14E */
}

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

/* Ensure images don't have CSS filters */
.page-slot-games img {
  filter: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2.2em;
  }

  .page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
}

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

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

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

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

  .page-slot-games__hero-content {
    margin-top: 20px;
    padding: 15px;
  }

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

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

  .page-slot-games__image-content {
    margin: 30px auto;
  }

  .page-slot-games__list-item,
  .page-slot-games__numbered-list .page-slot-games__list-item {
    padding: 15px;
    padding-left: 50px;
  }

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

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

  .page-slot-games__grid-list,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__grid-item,
  .page-slot-games__promo-card {
    padding: 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-slot-games__faq-list {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  /* Mobile images responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile video responsiveness (if any video is added) */
  .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;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }

  .page-slot-games__section-title {
    font-size: 1.6em;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 0.95em;
    padding: 10px 15px;
  }

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