/* style/slot-games-features.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-slot-games-features {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark); /* Inherited from body, but explicitly set for clarity */
}

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

/* Sections */
.page-slot-games-features__hero-section,
.page-slot-games-features__features-overview,
.page-slot-games-features__game-diversity,
.page-slot-games-features__why-i9bet,
.page-slot-games-features__tips-strategy,
.page-slot-games-features__faq-section,
.page-slot-games-features__contact-cta {
  padding: 80px 0;
  text-align: center;
  background-color: var(--bg-dark);
}

.page-slot-games-features__hero-section {
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero_bg:1920x1080:i9bet,slot_games,background,features]') center/cover no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-slot-games-features__main-title {
  font-size: 4em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-slot-games-features__description {
  font-size: 1.4em;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games-features__section-title {
  font-size: 3em;
  color: var(--primary-color);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.page-slot-games-features__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-slot-games-features__text-block {
  font-size: 1.1em;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* CTA Buttons */
.page-slot-games-features__cta-buttons,
.page-slot-games-features__cta-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-slot-games-features__cta-button {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-features__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-slot-games-features__btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games-features__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-slot-games-features__btn-secondary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Feature Grid */
.page-slot-games-features__feature-grid,
.page-slot-games-features__game-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games-features__feature-card,
.page-slot-games-features__game-type-card {
  background-color: var(--card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
}

.page-slot-games-features__feature-card:hover,
.page-slot-games-features__game-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.page-slot-games-features__feature-image,
.page-slot-games-features__game-type-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color-dark);
}

.page-slot-games-features__card-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-slot-games-features__card-text {
  font-size: 1em;
  color: var(--text-light);
}

/* Advantages List */
.page-slot-games-features__advantages-list,
.page-slot-games-features__tips-list {
  list-style: none;
  padding: 0;
  margin: 50px auto 0 auto;
  max-width: 900px;
}

.page-slot-games-features__list-item {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-dark);
}

.page-slot-games-features__list-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-slot-games-features__list-text {
  font-size: 1.1em;
  color: var(--text-light);
}

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

.page-slot-games-features__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-dark);
}

.page-slot-games-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: var(--card-bg-dark);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-slot-games-features__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none;
}

.page-slot-games-features__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-slot-games-features__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--text-light);
  border-top: 1px solid var(--border-color-dark);
}

.page-slot-games-features__faq-item.active .page-slot-games-features__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px !important;
  opacity: 1;
}

.page-slot-games-features__faq-item.active .page-slot-games-features__faq-toggle {
  color: var(--primary-color);
  transform: rotate(180deg);
}

/* Copyright */
.page-slot-games-features__copyright {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.6);
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-color-dark);
}

/* General image responsiveness */
.page-slot-games-features img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-features__main-title {
    font-size: 3.5em;
  }

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

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

  .page-slot-games-features__feature-image,
  .page-slot-games-features__game-type-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-slot-games-features__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-slot-games-features__main-title {
    font-size: 2.5em;
  }

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

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

  .page-slot-games-features__cta-buttons,
  .page-slot-games-features__cta-bottom {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games-features__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-slot-games-features__feature-grid,
  .page-slot-games-features__game-types {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games-features__feature-card,
  .page-slot-games-features__game-type-card,
  .page-slot-games-features__list-item,
  .page-slot-games-features__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games-features__feature-image,
  .page-slot-games-features__game-type-image {
    height: 180px;
  }

  .page-slot-games-features__card-title {
    font-size: 1.5em;
  }

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

  .page-slot-games-features__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-slot-games-features__faq-question h3 {
    font-size: 1.1em;
  }

  .page-slot-games-features__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    height: 25px;
  }

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

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