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

/* Hero Video Section */
.page-live__hero-video-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #0A0A0A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-live__video-wrapper {
  width: 100%; /* Important for desktop as well */
  max-width: 1920px; /* Max width for the video container */
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9 / 16 * 100%) */
  height: 0;
  overflow: hidden;
  background-color: #111111; /* Card BG as fallback */
  box-sizing: border-box;
}

.page-live__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  max-width: 100%; /* Ensure video does not overflow */
}

.page-live__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-live__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Clamp for H1 */
  font-weight: 700;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.1rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

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

/* Sections */
.page-live__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-live__section-description {
  font-size: 1rem;
  color: #FFF6D6;
  text-align: center;
  margin-bottom: 40px;
}

.page-live__about-section,
.page-live__why-choose-section,
.page-live__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-live__text-block p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #FFF6D6;
  text-align: justify;
}

/* CTA Buttons */
.page-live__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

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

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-live__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Primary color */
  border: 2px solid #F2C14E; /* Border color */
}

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

.page-live__btn-tertiary {
  background-color: #111111; /* Card BG */
  color: #F2C14E; /* Primary color */
  border: 1px solid #3A2A12; /* Border color */
}

.page-live__btn-tertiary:hover {
  background-color: #3A2A12;
  color: #FFD36B;
}

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

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

.page-live__category-card {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

.page-live__category-icon {
  width: 30px; /* Allowed small size for category icons */
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(242, 193, 78, 0.5)); /* Glow effect */
}

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

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

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

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

/* Why Choose Section */
.page-live__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__feature-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

.page-live__feature-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-live__feature-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 15px;
}

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

/* Promotions Section */
.page-live__promotions-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG for dark section */
}

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

.page-live__promo-card {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

.page-live__promo-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid #3A2A12;
}

.page-live__promo-title {
  font-size: 1.3rem;
  color: #F2C14E;
  padding: 15px 20px 10px;
}

.page-live__promo-text {
  font-size: 0.9rem;
  color: #FFF6D6;
  padding: 0 20px 20px;
}

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

.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for 167x127px images */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-live__partner-logo {
  width: 167px; /* Fixed width for partner logos */
  height: 127px; /* Fixed height for partner logos */
  max-width: 167px; /* Ensure max-width is also set */
  object-fit: contain;
  filter: grayscale(80%) brightness(120%);
  transition: filter 0.3s ease;
}

.page-live__partner-logo:hover {
  filter: grayscale(0%) brightness(100%);
}

/* FAQ Section */
.page-live__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-live__faq-question:hover {
  background-color: #3A2A12; /* Border color for hover */
}

.page-live__faq-title {
  margin: 0;
  color: #F2C14E;
}

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

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

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  background-color: #0A0A0A; /* Background */
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 20px !important;
}

.page-live__faq-answer p {
  margin: 0;
  font-size: 0.95rem;
}

/* Bottom CTA Section */
.page-live__cta-bottom-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #111111 0%, #0A0A0A 100%);
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-live__categories-grid,
  .page-live__feature-grid,
  .page-live__promo-grid,
  .page-live__partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-live__hero-video-section {
    padding-top: 10px !important; /* Ensure small top padding on mobile */
    padding-bottom: 40px;
  }

  .page-live__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-live__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-live__hero-description {
    font-size: 1rem;
  }

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

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live__btn-tertiary,
  .page-live a[class*="button"],
  .page-live 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-live__container {
    padding: 0 15px;
  }

  .page-live__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    padding-top: 30px;
  }

  .page-live__section-description {
    margin-bottom: 30px;
  }

  .page-live__about-section,
  .page-live__why-choose-section,
  .page-live__faq-section,
  .page-live__promotions-section,
  .page-live__partners-section,
  .page-live__cta-bottom-section {
    padding: 40px 0;
  }

  /* Images responsiveness */
  .page-live img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__video-wrapper,
  .page-live__partners-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Specific exceptions for small icons */
  .page-live__category-icon {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
  }
  .page-live__partner-logo {
    width: 167px !important;
    height: 127px !important;
    max-width: 167px !important;
  }

  .page-live__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-live__faq-answer {
    padding: 0 15px;
  }
  .page-live__faq-item.active .page-live__faq-answer {
    padding: 15px !important;
  }
}