/* style/live.css */

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

/* Sections */
.page-live__dark-section {
  background-color: #0A0A0A;
  padding: 80px 0;
  text-align: center;
}

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

.page-live__section-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-live__content-area {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1em;
  line-height: 1.8;
  text-align: left;
}

.page-live__text-block p {
  margin-bottom: 20px;
}

/* Hero Section */
.page-live__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-live__hero-video-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 30px auto;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(242, 193, 78, 0.4);
}

.page-live__video-link {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
}

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

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  padding: 0 20px;
}

.page-live__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  font-weight: 900;
  color: #FFD36B;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-live__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.page-live__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  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 contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-live__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-live__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

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

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

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

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

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

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

.page-live__game-button {
  margin-top: 15px;
}

.page-live__more-games-text {
  margin-top: 50px;
  font-style: italic;
  color: #FFF6D6;
}

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

.page-live__mobile-content .page-live__text-block {
  flex: 1;
}

.page-live__mobile-image-wrapper {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.4);
}

.page-live__mobile-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 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 */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-live__faq-item.active {
  background-color: #1a1a1a;
  border-color: #F2C14E;
}

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

.page-live__faq-question:hover {
  color: #F2C14E;
}

.page-live__faq-toggle {
  font-size: 1.5em;
  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-out, padding 0.3s ease-out;
  color: #FFF6D6;
  text-align: left;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__section-title {
    font-size: 2.2em;
  }
  .page-live__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__mobile-content {
    flex-direction: column;
    text-align: center;
  }
  .page-live__mobile-image-wrapper {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-live__dark-section {
    padding: 60px 0;
  }
  .page-live__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-live__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-live__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__cta-button,
  .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__cta-buttons,
  .page-live__button-group,
  .page-live__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-live__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-live__hero-video-wrapper {
    margin-bottom: 20px;
  }
  .page-live__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-live__game-image {
    height: 180px;
  }
  .page-live__game-title {
    font-size: 1.5em;
  }
  .page-live__mobile-image-wrapper {
    max-width: 95%;
  }
  .page-live__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-live__faq-answer {
    padding: 0 20px;
  }
  .page-live__faq-item.active .page-live__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  /* All images must be 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__video-section {
    padding-top: 10px !important;
  }
  .page-live__video-container,
  .page-live__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .page-live__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-live__dark-section {
    padding: 40px 0;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__game-image {
    height: 150px;
  }
  .page-live__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-live__faq-answer {
    padding: 0 15px;
  }
  .page-live__faq-item.active .page-live__faq-answer {
    padding: 8px 15px 15px 15px;
  }
}