/* style/jackpot-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần thêm */
.page-jackpot-games {
  color: #ffffff; /* Vì body background là #0a0a0a (dark), nên text color phải là light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-jackpot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-jackpot-games__dark-bg {
  background-color: #0a0a0a; /* Body background color */
  color: #ffffff;
}

.page-jackpot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-jackpot-games__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding for the first section */
  padding-bottom: 60px;
  min-height: 600px;
  text-align: center;
}

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

.page-jackpot-games__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Giảm độ sáng video để chữ dễ đọc */
}

.page-jackpot-games__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 900px;
  background-color: rgba(0, 0, 0, 0.4); /* Nền overlay để chữ dễ đọc trên video */
  border-radius: 10px;
}

.page-jackpot-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-jackpot-games__hero-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-jackpot-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-jackpot-games__section-intro {
  font-size: 1.1rem;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-jackpot-games__features-grid,
.page-jackpot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-games__feature-card,
.page-jackpot-games__game-card,
.page-jackpot-games__step-card,
.page-jackpot-games__tip-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards are same height */
}

.page-jackpot-games__feature-card:hover,
.page-jackpot-games__game-card:hover,
.page-jackpot-games__step-card:hover,
.page-jackpot-games__tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games__feature-image,
.page-jackpot-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-jackpot-games__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-jackpot-games__feature-card p,
.page-jackpot-games__game-card p,
.page-jackpot-games__step-card p,
.page-jackpot-games__tip-card p {
  color: #f0f0f0;
  font-size: 1rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-jackpot-games__game-card .page-jackpot-games__btn-primary {
  margin-top: auto; /* Push button to bottom */
}

.page-jackpot-games__step-icon {
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-jackpot-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-jackpot-games__text-center {
  text-align: center;
}

.page-jackpot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-jackpot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.2); /* Semi-transparent brand color */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

.page-jackpot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-jackpot-games__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.3);
}

.page-jackpot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-jackpot-games__faq-item[open] .page-jackpot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-jackpot-games__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-jackpot-games__faq-answer p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-jackpot-games__faq-answer .page-jackpot-games__btn-primary {
  margin-top: 10px;
  display: inline-block;
}

.page-jackpot-games__cta-section {
  background-color: #26A9E0;
  padding: 80px 0;
  color: #ffffff;
}

.page-jackpot-games__cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-jackpot-games__cta-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Buttons */
.page-jackpot-games__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Màu cam cho nút đăng ký/nạp tiền */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: nowrap;
}

.page-jackpot-games__btn-primary:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

.page-jackpot-games__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  border: 2px solid #ffffff;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: nowrap;
}

.page-jackpot-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
  transform: translateY(-2px);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-jackpot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-jackpot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    min-height: 400px;
  }

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

  .page-jackpot-games__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-jackpot-games__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-jackpot-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-jackpot-games__btn-primary,
  .page-jackpot-games__btn-secondary,
  .page-jackpot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-jackpot-games__section {
    padding: 40px 0;
  }

  .page-jackpot-games__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-jackpot-games__section-intro {
    font-size: 1rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-jackpot-games__features-grid,
  .page-jackpot-games__game-grid,
  .page-jackpot-games__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-jackpot-games__feature-card,
  .page-jackpot-games__game-card,
  .page-jackpot-games__step-card,
  .page-jackpot-games__tip-card {
    padding: 20px;
  }

  .page-jackpot-games__feature-image,
  .page-jackpot-games__game-image {
    height: 200px;
  }

  .page-jackpot-games__card-title {
    font-size: 1.3rem;
  }

  .page-jackpot-games__feature-card p,
  .page-jackpot-games__game-card p,
  .page-jackpot-games__step-card p,
  .page-jackpot-games__tip-card p {
    font-size: 0.95rem;
  }

  .page-jackpot-games__faq-list {
    padding: 0 15px;
  }

  .page-jackpot-games__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }

  .page-jackpot-games__faq-answer {
    font-size: 0.95rem;
    padding: 15px;
    padding-top: 0;
  }

  .page-jackpot-games__cta-section {
    padding: 60px 0;
  }

  .page-jackpot-games__cta-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    padding: 0 15px;
  }

  .page-jackpot-games__cta-description {
    font-size: 1rem;
    padding: 0 15px;
    margin-bottom: 30px;
  }

  /* Responsive images, videos, and containers */
  .page-jackpot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-jackpot-games video,
  .page-jackpot-games__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-jackpot-games__container,
  .page-jackpot-games__hero-video-wrapper,
  .page-jackpot-games__hero-content,
  .page-jackpot-games__features-grid,
  .page-jackpot-games__game-grid,
  .page-jackpot-games__guide-steps,
  .page-jackpot-games__tips-grid,
  .page-jackpot-games__faq-list,
  .page-jackpot-games__cta-section .page-jackpot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-jackpot-games__hero-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}