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

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

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

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

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  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: #111111; /* Dark text for bright button */
  border: none;
}

.page-live__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

/* Hero Section */
.page-live__hero-section {
  position: relative;
  padding: 10px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: #FFF6D6;
}

.page-live__hero-video-wrapper {
  width: 100%;
  max-height: 800px;
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
}

.page-live__hero-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-live__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #FFD36B; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Intro Section */
.page-live__intro-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-live__intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-live__intro-item {
  background-color: #111111; /* Card BG color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border color */
}

.page-live__intro-subtitle {
  font-size: 1.8em;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-live__intro-text {
  font-size: 1.05em;
  color: #FFF6D6;
}

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

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

.page-live__game-card {
  background-color: #111111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-live__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-live__game-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-live__game-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-live__game-button {
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 30px);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
}

.page-live__game-button:hover {
  opacity: 0.9;
}

/* Why Choose Section */
.page-live__why-choose-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-live__advantage-item {
  background-color: #111111;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
}

.page-live__advantage-subtitle {
  font-size: 1.7em;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-live__advantage-text {
  font-size: 1.05em;
  color: #FFF6D6;
}

/* Getting Started Section */
.page-live__getting-started-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-live__step-item {
  background-color: #111111;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 15px;
  display: block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: rgba(242, 193, 78, 0.1);
  border: 2px solid #F2C14E;
}

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

.page-live__step-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-live__cta-center {
  text-align: center;
  margin-top: 40px;
}

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

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

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

.page-live__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  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-color: #111111;
  color: #F2C14E;
  font-size: 1.2em;
  font-weight: bold;
}

.page-live__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

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

.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: 1.05em;
}

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

/* --- Media Queries --- */

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-live__section-title {
    font-size: 2.5em;
  }

  .page-live__hero-title {
    font-size: 3em;
  }

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

  .page-live__intro-grid,
  .page-live__advantage-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-live__games-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

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

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

  .page-live__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live a[class*="button"],
  .page-live a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons */
  }

  .page-live__hero-cta-buttons,
  .page-live__cta-center {
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-live__intro-section,
  .page-live__featured-games-section,
  .page-live__why-choose-section,
  .page-live__getting-started-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section {
    padding: 40px 0;
  }

  .page-live__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

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

  .page-live__intro-subtitle,
  .page-live__advantage-subtitle,
  .page-live__step-title,
  .page-live__game-title {
    font-size: 1.4em;
  }

  .page-live__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-live__faq-answer {
    font-size: 0.95em;
    padding: 0 20px;
  }

  .page-live__faq-item.active .page-live__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

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

  .page-live__hero-video-wrapper,
  .page-live__intro-section .page-live__container,
  .page-live__featured-games-section .page-live__container,
  .page-live__why-choose-section .page-live__container,
  .page-live__getting-started-section .page-live__container,
  .page-live__responsible-gaming-section .page-live__container,
  .page-live__faq-section .page-live__container,
  .page-live__game-card,
  .page-live__intro-item,
  .page-live__advantage-item,
  .page-live__step-item,
  .page-live__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Override specific section padding for mobile to be consistent with container padding */
  .page-live__hero-content,
  .page-live__section-description {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Desktop specific adjustments for grid column counts */
@media (min-width: 1025px) {
  .page-live__intro-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-live__advantage-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-live__steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Ensure body padding-top is handled by shared.css, not here */
/* .page-live__hero-section { padding-top: 10px; } is correct, not var(--header-offset) */