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

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

.page-live__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
}

.page-live__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

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

.page-live__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.page-live__card-title {
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #FFD36B; /* Glow */
}

.page-live__card-title a {
  color: #FFD36B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__card-title a:hover {
  color: #F2C14E;
}

.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
}

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

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

.page-live__btn-link {
  background: transparent;
  color: #F2C14E;
  border: none;
  padding: 8px 15px;
  font-size: 0.9em;
  text-decoration: underline;
}

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

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

.page-live__cta-buttons--centered {
  margin-top: 40px;
}

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

.page-live__video-container {
  width: 100%;
  max-width: 1920px; /* Max width for video */
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  /* Maintain aspect ratio for the video container */
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  order: 1; /* Video appears first in flex column */
}

.page-live__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  order: 2; /* Content appears after video */
  margin-top: 30px; /* Space between video and text */
}

.page-live__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #FFD36B;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.page-live__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

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

.page-live__feature-icon {
  width: 100%;
  height: auto;
  max-width: 600px; /* Recommended size */
  min-width: 200px;
  min-height: 200px;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* Games Showcase Section */
.page-live__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__game-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Recommended size */
  min-width: 200px;
  min-height: 200px;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* How to Start Section */
.page-live__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 30px;
}

.page-live__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 15px;
  background: #111111;
  border: 2px solid #3A2A12;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-live__promo-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Recommended size */
  min-width: 200px;
  min-height: 200px;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* Mobile Experience Section */
.page-live__mobile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-live__mobile-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
}

.page-live__mobile-text {
  text-align: center;
  max-width: 700px;
}

.page-live__mobile-text h3 {
  font-size: 2em;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-live__mobile-text p {
  margin-bottom: 20px;
  color: #FFF6D6;
}

/* Responsible Gambling Section */
.page-live__responsible-gambling {
  text-align: center;
}

.page-live__responsible-features p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #FFF6D6;
}

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

.page-live__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  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: #111111;
  color: #FFD36B;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-live__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFD36B;
}

.page-live__faq-toggle {
  font-size: 1.8em;
  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;
}

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

.page-live__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-live__hero-section {
    padding-top: 10px; /* Small padding, body handles --header-offset */
    padding-bottom: 80px;
  }
  .page-live__hero-content {
    margin-top: -150px; /* Pull text up over video, but not covering it completely */
    padding-top: 0;
    background: linear-gradient(to bottom, transparent 0%, #0A0A0A 50%);
    width: 100%;
  }
  .page-live__mobile-content {
    flex-direction: row;
    text-align: left;
  }
  .page-live__mobile-text {
    text-align: left;
  }
  .page-live__mobile-image {
    flex: 1;
    max-width: 50%;
  }
  .page-live__mobile-text {
    flex: 1;
  }
  .page-live__hero-section .page-live__video-container {
    padding-bottom: 40%; /* Adjust video aspect ratio for larger screens */
  }
}

@media (max-width: 768px) {
  .page-live__section {
    padding: 30px 15px;
  }

  .page-live__section-title {
    font-size: 1.8em;
  }

  .page-live__section-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-live__hero-section {
    padding-bottom: 30px;
  }

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

  .page-live__main-title {
    font-size: 2em;
  }

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

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

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }

  .page-live__features-grid,
  .page-live__games-grid,
  .page-live__steps-grid,
  .page-live__promos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-live__feature-icon,
  .page-live__game-image,
  .page-live__promo-image,
  .page-live__mobile-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-live__card {
    padding: 20px;
  }

  .page-live__mobile-content {
    flex-direction: column;
  }
  .page-live__mobile-text h3 {
    font-size: 1.5em;
  }
  .page-live__mobile-text p {
    font-size: 0.95em;
  }

  .page-live__faq-question {
    padding: 15px;
  }

  .page-live__faq-question h3 {
    font-size: 1em;
  }

  .page-live__faq-answer {
    padding: 0 15px;
  }

  .page-live__faq-item.active .page-live__faq-answer {
    padding: 15px !important;
  }

  .page-live__video-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-live__video {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-live__hero-section .page-live__video-container {
    padding-bottom: 56.25%; /* Ensure 16:9 aspect ratio on mobile */
  }

  .page-live__hero-content {
    margin-top: 0; /* Remove negative margin on mobile */
    background: none; /* Remove gradient on mobile */
  }

  /* 🚨 Video section padding-top for mobile - body already handles --header-offset */
  .page-live__hero-section {
    padding-top: 10px !important;
  }
}