/* style/live.css */
.page-live {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-live__hero-video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #0A0A0A; /* Ensure background color for consistency */
}

.page-live__video-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.page-live__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-live__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-live__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with video for visual flow */
  position: relative;
  z-index: 2;
  background-color: rgba(10, 10, 10, 0.8); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-live__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: #FFD36B; /* Glow color for prominence */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-live__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

.page-live__btn-primary,
.page-live__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for contrast */
  border: none;
}

.page-live__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px #FFD36B;
}

.page-live__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-live__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
}

.page-live__section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #FFD36B;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-live__section-description {
  text-align: center;
  font-size: 1.05rem;
  color: #FFF6D6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Game Categories Section */
.page-live__game-categories-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-live__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-live__category-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px #FFD36B;
}

.page-live__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  object-fit: contain;
  display: inline-block;
}

.page-live__category-title {
  font-size: 1.4rem;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-live__category-text {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-live__category-link {
  color: #F2C14E;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-live__category-link:hover {
  color: #FFD36B;
  text-decoration: underline;
}

/* Advantages Section */
.page-live__advantages-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-live__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-live__advantage-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px #F2C14E;
}

.page-live__advantage-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  object-fit: contain;
  display: inline-block;
}

.page-live__advantage-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-live__advantage-text {
  font-size: 0.95rem;
  color: #FFF6D6;
}

/* How to Play Section */
.page-live__how-to-play-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-live__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-live__step-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px #FFD36B;
}

.page-live__step-title {
  font-size: 1.6rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-live__step-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 25px;
}

/* Promotions Section */
.page-live__promotions-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-live__promo-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px #F2C14E;
}

.page-live__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-live__promo-card h3,
.page-live__promo-card p,
.page-live__promo-card a {
  padding: 0 20px;
}

.page-live__promo-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-live__promo-text {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-live__promo-card .page-live__btn-primary,
.page-live__promo-card .page-live__btn-secondary {
  display: inline-block;
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

.page-live__more-promos {
  text-align: center;
}

/* Featured Games Section */
.page-live__featured-games-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-live__featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-live__game-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px #FFD36B;
}

.page-live__game-image {
  width: 100%;
  height: 220px; /* Consistent height for game images */
  object-fit: cover;
  display: block;
}

.page-live__game-card h3,
.page-live__game-card p,
.page-live__game-card a {
  padding: 0 20px;
}

.page-live__game-title {
  font-size: 1.3rem;
  color: #FFD36B;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-live__game-text {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-live__btn-text-link {
  display: inline-block;
  color: #F2C14E;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.page-live__btn-text-link:hover {
  color: #FFD36B;
  text-decoration: underline;
}

/* Partners Section */
.page-live__partners-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 2x5 grid */
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.page-live__partner-item {
  width: 100%;
  max-width: 167px; /* Fixed width for partner images */
  height: 127px; /* Fixed height for partner images */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111111; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__partner-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px #FFD36B;
}

.page-live__partner-logo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
  padding: 60px 0;
  background-color: #0A0A0A;
  text-align: center;
}

.page-live__responsible-gaming-section .page-live__section-description {
  font-size: 1rem;
  max-width: 900px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* FAQ Section */
.page-live__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-live__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-live__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: #111111;
  color: #FFD36B;
  font-size: 1.15rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: #1a1a1a;
}

.page-live__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E;
}

.page-live__faq-item.active .page-live__faq-toggle {
  transform: rotate(45deg);
}

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1rem;
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px 25px;
}

/* Call to Action Section */
.page-live__cta-section {
  padding: 60px 0;
  background-color: #0A0A0A;
  text-align: center;
}

.page-live__cta-section .page-live__section-title {
  color: #FFD36B;
}

.page-live__cta-section .page-live__section-description {
  color: #FFF6D6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-content {
    margin-top: -60px;
    padding: 30px;
  }
  .page-live__section-title {
    font-size: 2.2rem;
  }
  .page-live__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-live__partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .page-live__hero-video-section {
    padding-bottom: 40px;
  }
  .page-live__hero-content {
    margin-top: -40px;
    padding: 25px;
  }
  .page-live__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-live__description {
    font-size: 1rem;
  }
  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__section-title {
    font-size: 1.8rem;
  }
  .page-live__section-description {
    font-size: 0.9rem;
  }

  .page-live__categories-grid,
  .page-live__advantages-grid,
  .page-live__steps-grid,
  .page-live__promotions-grid,
  .page-live__featured-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-live__promo-image {
    height: 180px;
  }
  .page-live__game-image {
    height: 200px;
  }

  .page-live__partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .page-live__partner-item {
    max-width: 100%;
    width: 100%;
    height: auto;
    padding: 10px;
  }

  /* Ensure all images are responsive */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-live__section,
  .page-live__card,
  .page-live__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-live__hero-video-section {
    padding-top: 10px !important; /* Ensure minimal top padding */
  }
  .page-live__video-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .page-live__video {
    width: 100% !important;
    height: auto !important;
  }
  .page-live__faq-question,
  .page-live__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-live__faq-item.active .page-live__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-content {
    padding: 20px 15px;
    margin-top: -30px;
  }
  .page-live__main-title {
    font-size: 1.8rem;
  }
  .page-live__section-title {
    font-size: 1.6rem;
  }
  .page-live__partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}