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

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --dark-background: #1a1a2e;
  --light-text: #ffffff;
  --dark-text: #333333;
  --login-color: #EA7C07;
}

.page-slot-games-features {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--light-text); /* Default text color for dark body background */
  background-color: var(--dark-background); /* Inherited from shared.css, but ensure consistency */
}

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

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

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

.page-slot-games-features__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

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

.page-slot-games-features__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--light-text);
  max-width: 800px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games-features__cta-buttons--center {
  margin-top: 40px;
}

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

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

.page-slot-games-features__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-slot-games-features__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Section Styling */
.page-slot-games-features__features-overview,
.page-slot-games-features__security-section,
.page-slot-games-features__mobile-experience,
.page-slot-games-features__promotions-section,
.page-slot-games-features__guide-section,
.page-slot-games-features__faq-section,
.page-slot-games-features__cta-section {
  padding: 80px 0;
}

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

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

.page-slot-games-features__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-slot-games-features__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  color: inherit;
}

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

.page-slot-games-features__feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  color: var(--light-text);
}

.page-slot-games-features__feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

.page-slot-games-features__feature-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-slot-games-features__feature-text {
  font-size: 1em;
  flex-grow: 1;
}

/* Security Section */
.page-slot-games-features__security-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-features__security-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--light-text);
}

.page-slot-games-features__security-icon {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

/* Mobile Experience */
.page-slot-games-features__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-games-features__mobile-text-block {
  flex: 1;
  min-width: 300px;
  color: var(--dark-text);
}

.page-slot-games-features__mobile-subtitle {
  font-size: 2em;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-slot-games-features__mobile-text {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-slot-games-features__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-slot-games-features__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-slot-games-features__promo-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--light-text);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-slot-games-features__promo-image {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-slot-games-features__promo-text {
  font-size: 1em;
  flex-grow: 1;
}

/* Guide Section */
.page-slot-games-features__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-features__step-item {
  background: var(--light-background, #f9f9f9);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--dark-text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-slot-games-features__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--light-text);
}

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

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

.page-slot-games-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
  font-size: 1em;
}

.page-slot-games-features__faq-item.active .page-slot-games-features__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px;
}

.page-slot-games-features__faq-answer p {
  margin: 0;
  color: var(--light-text);
}

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

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

  .page-slot-games-features__hero-section {
    padding: 80px 0;
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

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

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

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

  .page-slot-games-features__features-overview,
  .page-slot-games-features__security-section,
  .page-slot-games-features__mobile-experience,
  .page-slot-games-features__promotions-section,
  .page-slot-games-features__guide-section,
  .page-slot-games-features__faq-section,
  .page-slot-games-features__cta-section {
    padding: 50px 0;
  }

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

  .page-slot-games-features__feature-card,
  .page-slot-games-features__security-item,
  .page-slot-games-features__promo-card,
  .page-slot-games-features__step-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games-features__feature-icon,
  .page-slot-games-features__security-icon,
  .page-slot-games-features__mobile-image,
  .page-slot-games-features__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-slot-games-features__mobile-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-slot-games-features__mobile-text-block,
  .page-slot-games-features__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
  }

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

  .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;
  }
}

@media (max-width: 480px) {
  .page-slot-games-features__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games-features__hero-description {
    font-size: 1em;
  }
  .page-slot-games-features__section-title {
    font-size: 1.5em;
  }
}