/* style/slot-games.css */

:root {
  --page-slot-games-primary-color: #FF8C1A;
  --page-slot-games-secondary-color: #FFA53A;
  --page-slot-games-background-color: #0D0E12;
  --page-slot-games-card-bg: #17191F;
  --page-slot-games-text-main: #FFF3E6;
  --page-slot-games-border-color: #A84F0C;
  --page-slot-games-glow-color: #FFB04D;
  --page-slot-games-deep-orange: #D96800;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--page-slot-games-text-main); /* Dark body background, so light text */
  background-color: var(--page-slot-games-background-color);
  line-height: 1.6;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 40px;
  text-align: center;
  background-color: var(--page-slot-games-background-color);
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-slot-games__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is in normal flow below image */
  z-index: 1;
}

.page-slot-games__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-slot-games-glow-color);
  text-shadow: 0 0 10px rgba(255,176,77,0.5);
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-slot-games-text-main);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* General Section Styling */
.page-slot-games__intro-section,
.page-slot-games__why-42vn-section,
.page-slot-games__popular-games-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__cta-section {
  padding: 40px 0;
  margin-bottom: 30px;
  background-color: var(--page-slot-games-background-color);
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: var(--page-slot-games-secondary-color);
  line-height: 1.3;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-slot-games__image-centered {
  max-width: 800px;
}

/* Feature Cards */
.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-slot-games__feature-card {
  background-color: var(--page-slot-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-slot-games-border-color);
  text-align: center;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__feature-card p {
  color: var(--page-slot-games-text-main);
}

/* Lists */
.page-slot-games__game-types-list,
.page-slot-games__promo-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 30px;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__game-types-list li,
.page-slot-games__promo-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-slot-games__game-types-list li strong {
  color: var(--page-slot-games-primary-color);
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E67810 100%);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--page-slot-games-primary-color);
  color: #ffffff;
}

.page-slot-games__btn-centered {
  display: block;
  margin: 30px auto 0;
  max-width: 300px;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--page-slot-games-border-color);
  overflow: hidden;
  background: var(--page-slot-games-card-bg);
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: rgba(var(--page-slot-games-primary-color), 0.1);
}

.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--page-slot-games-primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 25px 20px;
  background: rgba(var(--page-slot-games-card-bg), 0.8);
  border-radius: 0 0 8px 8px;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* CTA Section */
.page-slot-games__cta-section .page-slot-games__section-title {
  color: var(--page-slot-games-glow-color);
}

.page-slot-games__cta-section .page-slot-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

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

  .page-slot-games__features-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__hero-content {
    padding: 30px 15px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px 20px;
  }

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

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

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 15px;
  }

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

  /* Hero Section */
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    margin-bottom: 30px;
  }

  .page-slot-games__main-title {
    font-size: 2em !important;
    margin-bottom: 10px;
  }

  .page-slot-games__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px;
  }

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

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

  /* General Section Styling */
  .page-slot-games__intro-section,
  .page-slot-games__why-42vn-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 30px 0 !important;
    margin-bottom: 20px;
  }

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

  .page-slot-games__text-block {
    font-size: 0.95em !important;
    margin-bottom: 15px;
  }

  /* Images */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
    box-sizing: border-box !important;
  }

  /* Feature Cards */
  .page-slot-games__features-grid {
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .page-slot-games__feature-card {
    padding: 20px;
  }

  .page-slot-games__card-title {
    font-size: 1.3em !important;
    margin-bottom: 10px;
  }

  /* Lists */
  .page-slot-games__game-types-list,
  .page-slot-games__promo-list {
    margin-left: 10px;
    margin-bottom: 20px;
  }

  .page-slot-games__game-types-list li,
  .page-slot-games__promo-list li {
    font-size: 1em !important;
  }

  /* FAQ Section */
  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px !important;
  }

  .page-slot-games__faq-qtext {
    font-size: 1em !important;
  }

  .page-slot-games__faq-toggle {
    font-size: 20px !important;
    width: 24px;
    margin-left: 10px;
  }

  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 15px 15px !important;
  }

  .page-slot-games__faq-answer p {
    font-size: 0.95em !important;
  }

  .page-slot-games__btn-centered {
    max-width: 100% !important;
    margin: 20px auto 0 !important;
  }
}