/* style/live.css */
.page-live {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-top: 10px; /* Small top padding for main content */
}

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

.page-live__hero-section {
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 600px;
}

.page-live__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-live__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding-top: 50px;
  padding-bottom: 50px;
}

.page-live__hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

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

.page-live__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #F2C14E;
  padding-top: 40px;
}

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

.page-live__dark-section {
  background-color: #0A0A0A;
  padding: 60px 0;
}

.page-live__introduction-section, 
.page-live__why-choose-section, 
.page-live__support-section, 
.page-live__cta-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-live__game-card, .page-live__feature-item, .page-live__step-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-live__game-image, .page-live__feature-image, .page-live__support-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-live__game-title, .page-live__feature-title, .page-live__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD36B; /* Glow */
}

.page-live__game-text, .page-live__feature-text, .page-live__step-text {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff; /* Button text always white */
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-live__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-live__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}

.page-live__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
}

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

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

.page-live__support-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-live__support-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 50px auto 0 auto;
}

.page-live__support-info {
  flex: 1;
  text-align: left;
}

.page-live__support-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

.page-live__support-image {
  border-radius: 10px;
}

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

.page-live__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-live__contact-list li {
  margin-bottom: 10px;
}

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

.page-live__contact-link:hover {
  color: #F2C14E;
  text-decoration: underline;
}

.page-live__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__faq-item {
  background-color: #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 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFD36B; /* Glow */
  transition: background-color 0.3s ease;
}

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

.page-live__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  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 25px;
  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 to show all content */
  padding: 20px 25px;
}

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

.page-live__final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.text--highlight {
  color: #FFD36B;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-live__hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }
  .page-live__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }
  .page-live__support-content {
    flex-direction: column;
  }
  .page-live__support-info {
    text-align: center;
  }
  .page-live__contact-list {
    padding-left: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 0; /* Handled by shared body padding */
  }

  .page-live__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific offset */
    min-height: 450px;
  }

  .page-live__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .page-live__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

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

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

  /* All images responsive for mobile */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image containers responsive for mobile */
  .page-live__game-card,
  .page-live__feature-item,
  .page-live__step-item,
  .page-live__support-image-wrapper,
  .page-live__container,
  .page-live__hero-cta-buttons,
  .page-live__final-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive for mobile */
  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-live__game-card, .page-live__feature-item, .page-live__step-item {
    padding: 20px;
  }

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

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

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

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }
  .page-live__hero-description {
    font-size: clamp(0.85rem, 3vw, 0.95rem);
  }
  .page-live__section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }
}