/* style/slot-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không cần thêm ở đây */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #0d0d0d; /* Giả định var(--black-color) từ shared.css là màu tối */
  --login-color: #EA7C07;
}

.page-slot-games {
  color: var(--text-light); /* Mặc định chữ sáng trên nền tối của body */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* padding-top nhỏ, còn lại cho nội dung */
  text-align: center;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 30px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-slot-games__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  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;
  text-align: center;
}

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

.page-slot-games__btn-primary:hover {
  background-color: #1e87b6;
  border-color: #1e87b6;
}

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

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

.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page-slot-games__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-slot-games__content-area p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.page-slot-games__highlight {
  color: var(--primary-color);
  font-weight: 700;
}

.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;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: var(--text-dark);
}

.page-slot-games__list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

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

.page-slot-games__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--primary-color);
  border-bottom: 1px solid #e0e0e0;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid var(--primary-color);
}

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

.page-slot-games__faq-question::marker {
  display: none;
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary-color);
}

.page-slot-games__faq-answer {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-slot-games__final-cta {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-slot-games__final-cta .page-slot-games__section-title {
  color: var(--secondary-color);
}

.page-slot-games__final-cta p {
  color: var(--text-light);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    max-width: 700px;
  }
  .page-slot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
}

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

  .page-slot-games__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-slot-games__hero-content {
    margin-top: 20px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-slot-games__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

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

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

  .page-slot-games__content-area p,
  .page-slot-games__list li,
  .page-slot-games__faq-answer {
    font-size: 0.95rem;
  }

  .page-slot-games__faq-question {
    padding: 15px;
    font-size: 1rem;
  }

  /* 强制图片适配 */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-section {
    padding-bottom: 30px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .page-slot-games__description {
    font-size: 0.9rem;
  }
  .page-slot-games__section-title {
    font-size: 1.5rem;
  }
  .page-slot-games__faq-question {
    font-size: 0.9rem;
  }
  .page-slot-games__faq-answer {
    font-size: 0.85rem;
  }
}