/* style/slot-games-themes-features.css */

/* Base Styles & Typography */
.page-slot-games-themes-features {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--background);
  line-height: 1.6;
}

.page-slot-games-themes-features__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-slot-games-themes-features__section {
  padding: 60px 0;
  background-color: var(--background);
}

.page-slot-games-themes-features__dark-bg {
  background-color: var(--background);
  color: var(--text-main);
}

.page-slot-games-themes-features__section-title {
  font-size: 2.5em;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-slot-games-themes-features h3 {
  font-size: 1.5em;
  color: var(--text-main);
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games-themes-features p {
  margin-bottom: 1em;
  color: var(--text-secondary);
}

.page-slot-games-themes-features__highlight {
  color: var(--gold);
  font-weight: bold;
}

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

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

.page-slot-games-themes-features__light-text {
  color: var(--text-main);
}

/* Buttons */
.page-slot-games-themes-features__btn-primary,
.page-slot-games-themes-features__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  border: none;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-themes-features__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games-themes-features__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-slot-games-themes-features__btn-secondary {
  background-color: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  box-shadow: 0 2px 10px rgba(17, 168, 78, 0.2);
}

.page-slot-games-themes-features__btn-secondary:hover {
  background-color: var(--main-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games-themes-features__text-link {
  color: var(--glow);
  text-decoration: underline;
  font-weight: bold;
}

.page-slot-games-themes-features__text-link:hover {
  color: var(--gold);
}

/* Hero Section */
.page-slot-games-themes-features__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px 20px;
  overflow: hidden;
  text-align: center;
}

.page-slot-games-themes-features__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  margin-bottom: 30px;
}

.page-slot-games-themes-features__hero-content {
  max-width: 900px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.page-slot-games-themes-features__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
}

.page-slot-games-themes-features__description {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Themes Grid */
.page-slot-games-themes-features__themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-themes-features__theme-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-slot-games-themes-features__theme-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--divider);
}

/* Features List */
.page-slot-games-themes-features__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-themes-features__feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-slot-games-themes-features__feature-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--divider);
}

.page-slot-games-themes-features__list-unstyled {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.page-slot-games-themes-features__list-unstyled li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

/* Benefits List */
.page-slot-games-themes-features__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding-left: 0;
}

.page-slot-games-themes-features__benefits-list li {
  color: var(--text-secondary);
}

.page-slot-games-themes-features__content-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 40px;
  border: 1px solid var(--divider);
}

/* Guide List */
.page-slot-games-themes-features__guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  counter-reset: guide-step;
  list-style: none;
  padding-left: 0;
}

.page-slot-games-themes-features__guide-list li {
  position: relative;
  padding-left: 45px;
  margin-bottom: 20px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-slot-games-themes-features__guide-list li::before {
  counter-increment: guide-step;
  content: "0" counter(guide-step);
  position: absolute;
  left: 0;
  top: 15px;
  background-color: var(--deep-green);
  color: var(--text-main);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
  border: 2px solid var(--glow);
  box-shadow: 0 0 10px var(--glow);
}

.page-slot-games-themes-features__guide-list li:nth-child(n+10)::before {
  content: counter(guide-step);
}

.page-slot-games-themes-features__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* FAQ Section */
.page-slot-games-themes-features__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-slot-games-themes-features__faq-item {
  overflow: hidden;
}

.page-slot-games-themes-features__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-slot-games-themes-features__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-slot-games-themes-features__faq-item summary:hover {
  background-color: var(--main-color);
}

.page-slot-games-themes-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--text-main);
  transition: transform 0.3s ease;
}

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

.page-slot-games-themes-features__faq-answer {
  padding: 15px 20px 5px 20px;
  color: var(--text-secondary);
  background-color: rgba(17, 168, 78, 0.1);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border: 1px solid var(--border);
  border-top: none;
}

/* Final CTA */
.page-slot-games-themes-features__final-cta {
  text-align: center;
  margin-top: 60px;
}

.page-slot-games-themes-features__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-themes-features__hero-image {
    max-height: 500px;
  }
  .page-slot-games-themes-features__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-slot-games-themes-features__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games-themes-features__content-area,
  .page-slot-games-themes-features__hero-section,
  .page-slot-games-themes-features__themes-grid,
  .page-slot-games-themes-features__features-list,
  .page-slot-games-themes-features__benefits-list,
  .page-slot-games-themes-features__guide-list,
  .page-slot-games-themes-features__faq-list,
  .page-slot-games-themes-features__cta-buttons,
  .page-slot-games-themes-features__cta-bottom,
  .page-slot-games-themes-features__final-cta {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games-themes-features img,
  .page-slot-games-themes-features video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-themes-features__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

  .page-slot-games-themes-features__description {
    font-size: 1em;
  }

  .page-slot-games-themes-features__section-title {
    font-size: 1.8em;
  }

  .page-slot-games-themes-features h3 {
    font-size: 1.3em;
  }

  .page-slot-games-themes-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-themes-features__btn-primary,
  .page-slot-games-themes-features__btn-secondary,
  .page-slot-games-themes-features a[class*="button"],
  .page-slot-games-themes-features 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-themes-features__final-cta .page-slot-games-themes-features__btn-large {
    font-size: 1.1em;
    padding: 15px 25px;
  }

  .page-slot-games-themes-features__guide-list li::before {
    top: 0;
  }
}

@media (max-width: 480px) {
  .page-slot-games-themes-features__section {
    padding: 40px 0;
  }
  .page-slot-games-themes-features__section-title {
    font-size: 1.5em;
  }
  .page-slot-games-themes-features__faq-item summary {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-slot-games-themes-features__faq-answer {
    padding: 12px 15px 5px 15px;
  }
}