/* style/slot-games-features.css */
.page-slot-games-features {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Inherit from shared.css */
}

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

.page-slot-games-features__dark-section {
  background-color: #300060;
  color: #ffffff;
}

.page-slot-games-features__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-slot-games-features__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-slot-games-features__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
  padding: 0 20px;
}

.page-slot-games-features__hero-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games-features__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-slot-games-features__btn-primary,
.page-slot-games-features__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-features__btn-primary {
  background-color: #FFD700;
  color: #300060;
  border: 2px solid #FFD700;
}

.page-slot-games-features__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-slot-games-features__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-slot-games-features__btn-secondary:hover {
  background-color: #FFD700;
  color: #300060;
}

.page-slot-games-features__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  z-index: 0;
}

.page-slot-games-features__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* General Section Styling */
.page-slot-games-features__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #300060;
}

.page-slot-games-features__dark-section .page-slot-games-features__section-title {
  color: #FFD700;
}

.page-slot-games-features__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #666;
}

.page-slot-games-features__dark-section .page-slot-games-features__section-description {
  color: #f0f0f0;
}

/* Features Grid */
.page-slot-games-features__features-overview {
  padding: 80px 0;
}

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

.page-slot-games-features__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-slot-games-features__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games-features__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 25px;
  border-radius: 8px;
  object-fit: cover;
}

.page-slot-games-features__feature-title {
  font-size: 1.5em;
  color: #300060;
  margin-bottom: 15px;
}

.page-slot-games-features__feature-text {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games-features__card-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-slot-games-features__card-link:hover {
  color: #300060;
}

/* Why nw88 Section */
.page-slot-games-features__why-nw88 {
  padding: 80px 0;
}

.page-slot-games-features__benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-bottom: 50px;
}

.page-slot-games-features__benefit-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-slot-games-features__benefit-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games-features__benefit-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-slot-games-features__benefit-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-slot-games-features__cta-bottom {
  text-align: center;
}

/* How To Play Section */
.page-slot-games-features__how-to-play {
  padding: 80px 0;
}

.page-slot-games-features__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-slot-games-features__step-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games-features__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 15px;
  top: 15px;
  background-color: #FFD700;
  color: #300060;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-slot-games-features__step-title {
  font-size: 1.4em;
  color: #300060;
  margin-bottom: 10px;
  padding-left: 20px;
}

.page-slot-games-features__step-text {
  font-size: 1em;
  color: #555;
  padding-left: 20px;
}

/* FAQ Section */
.page-slot-games-features__faq-section {
  padding: 80px 0;
}

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

.page-slot-games-features__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-slot-games-features__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-slot-games-features__faq-title {
  font-size: 1.2em;
  color: #FFD700;
  margin: 0;
}

.page-slot-games-features__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-slot-games-features__faq-item.active .page-slot-games-features__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games-features__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  font-size: 1em;
}

.page-slot-games-features__faq-item.active .page-slot-games-features__faq-answer {
  max-height: 1000px !important;
  padding: 15px 25px 25px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-features__hero-title {
    font-size: 2.8em;
  }
  .page-slot-games-features__section-title {
    font-size: 2em;
  }
  .page-slot-games-features__hero-content {
    margin-bottom: 30px;
  }
  .page-slot-games-features__hero-section {
    padding-bottom: 40px;
  }
}

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

  .page-slot-games-features__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    flex-direction: column;
    padding-bottom: 30px;
  }

  .page-slot-games-features__hero-content {
    max-width: 100%;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .page-slot-games-features__hero-title {
    font-size: 2.2em;
  }

  .page-slot-games-features__hero-description {
    font-size: 1em;
  }

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

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

  .page-slot-games-features__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games-features__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-slot-games-features__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-slot-games-features__features-grid,
  .page-slot-games-features__benefit-list,
  .page-slot-games-features__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games-features__feature-card,
  .page-slot-games-features__benefit-item,
  .page-slot-games-features__step-item {
    padding: 20px;
  }

  .page-slot-games-features__feature-icon {
    max-width: 180px;
    margin-bottom: 15px;
  }

  .page-slot-games-features__feature-title,
  .page-slot-games-features__benefit-title,
  .page-slot-games-features__step-title {
    font-size: 1.2em;
  }

  .page-slot-games-features__feature-text,
  .page-slot-games-features__benefit-text,
  .page-slot-games-features__step-text {
    font-size: 0.9em;
  }

  .page-slot-games-features__faq-question {
    padding: 15px 20px;
  }

  .page-slot-games-features__faq-title {
    font-size: 1em;
  }

  .page-slot-games-features__faq-toggle {
    font-size: 1.2em;
  }

  .page-slot-games-features__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games-features__faq-item.active .page-slot-games-features__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  /* Image, Video, Button Responsive Rules for mobile */
  .page-slot-games-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-slot-games-features__section,
  .page-slot-games-features__card,
  .page-slot-games-features__container,
  .page-slot-games-features__hero-image-wrapper,
  .page-slot-games-features__video-section,
  .page-slot-games-features__video-container,
  .page-slot-games-features__video-wrapper,
  .page-slot-games-features__cta-buttons,
  .page-slot-games-features__button-group,
  .page-slot-games-features__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

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

@media (max-width: 480px) {
  .page-slot-games-features__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games-features__section-title {
    font-size: 1.5em;
  }
  .page-slot-games-features__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games-features__faq-question {
    padding: 12px 15px;
  }
  .page-slot-games-features__faq-title {
    font-size: 0.9em;
  }
  .page-slot-games-features__faq-answer {
    padding: 0 15px;
  }
  .page-slot-games-features__faq-item.active .page-slot-games-features__faq-answer {
    padding: 8px 15px 15px 15px;
  }
}