/* style/slot-games.css */

/* Biến màu sắc */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --dark-bg-color: #000000;
}

/* Các style chung cho trang Nổ Hũ */
.page-slot-games {
  color: var(--light-text-color); /* Body là nền đen, nên text mặc định là trắng */
  background-color: var(--dark-bg-color);
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small decorative padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Nền tối để chữ nổi bật trên ảnh */
  border-radius: 10px;
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: var(--light-text-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: clamp(1em, 1.5vw, 1.25em);
  line-height: 1.6;
  color: var(--light-text-color);
  margin-bottom: 30px;
}

.page-slot-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

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

.page-slot-games__btn-primary {
  background-color: var(--login-color); /* Màu login #EA7C07 */
  color: var(--light-text-color);
  border: 2px solid var(--login-color);
}

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

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

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

.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--dark-bg-color); /* Vẫn là nền đen để duy trì theme */
  color: var(--light-text-color);
}

.page-slot-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.page-slot-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--login-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-slot-games__image-container {
  margin: 40px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

.page-slot-games__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-slot-games__list-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: var(--light-text-color);
}

.page-slot-games__list-item::before {
  content: '✔️'; /* Hoặc một icon phù hợp */
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.page-slot-games__ordered-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-slot-games__ordered-list .page-slot-games__list-item {
  padding-left: 10px;
}

.page-slot-games__text-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-slot-games__text-link:hover {
  text-decoration: underline;
  color: var(--login-color);
}

.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Nền tối hơn cho FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-sizing: border-box;
  color: var(--light-text-color);
}

.page-slot-games__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: var(--light-text-color);
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    padding: 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-slot-games__hero-description {
    font-size: clamp(0.9em, 1.8vw, 1.1em);
  }

  .page-slot-games__content-area {
    padding: 40px 15px;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }

  .page-slot-games__text-block,
  .page-slot-games__list-item,
  .page-slot-games__faq-answer {
    font-size: 0.95em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-slot-games__hero-content {
    max-width: 95%;
    margin-left: 10px;
    margin-right: 10px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-slot-games__hero-description {
    font-size: clamp(0.9em, 2.5vw, 1em);
  }

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

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

  .page-slot-games__content-area {
    padding: 30px 15px;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
  }

  .page-slot-games__text-block,
  .page-slot-games__list-item,
  .page-slot-games__faq-answer {
    font-size: 0.9em;
  }

  .page-slot-games__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

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

  .page-slot-games__list-item::before {
    left: 5px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-content {
    padding: 10px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.5em, 7vw, 2.2em);
  }

  .page-slot-games__hero-description {
    font-size: clamp(0.85em, 3vw, 0.95em);
  }

  .page-slot-games__content-area {
    padding: 20px 10px;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.3em, 6vw, 1.8em);
  }

  .page-slot-games__text-block,
  .page-slot-games__list-item,
  .page-slot-games__faq-answer {
    font-size: 0.85em;
  }
}