/* style/live.css */

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

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

.page-live__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

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

/* Buttons */
.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__btn-text {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  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 light button */
  border: 2px solid transparent;
}

.page-live__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

.page-live__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #3A2A12; /* Border color */
}

.page-live__btn-secondary:hover {
  background: #222222;
  color: #FFD86A;
  border-color: #FFD86A;
}

.page-live__btn-text {
  background: transparent;
  color: #FFD36B;
  border: 2px solid transparent;
  padding: 8px 15px;
}

.page-live__btn-text:hover {
  text-decoration: underline;
  color: #FFD86A;
}

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

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

.page-live__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

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

.page-live__hero-content-wrapper {
  background: rgba(10, 10, 10, 0.85); /* Slightly transparent dark background */
  padding: 40px 30px;
  text-align: center;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  margin-top: -80px; /* Overlap with image for visual effect */
  position: relative;
  z-index: 10;
  border-radius: 15px;
  border: 1px solid #3A2A12;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-live__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 900;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

.page-live__intro-text {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Video Section */
.page-live__video-section {
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 60px;
  text-align: center;
  background-color: #0A0A0A; /* Background */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-live__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.3);
  margin-top: 30px;
}

.page-live__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

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

/* Features Section */
.page-live__features-section {
  padding: 60px 20px;
  margin-bottom: 60px;
  background-color: #0A0A0A; /* Background */
}

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

.page-live__feature-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid #3A2A12;
}

.page-live__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin: 0 auto 15px auto;
  border-radius: 8px;
  display: block;
}

/* Games Section */
.page-live__games-section {
  padding: 60px 20px;
  margin-bottom: 60px;
  background-color: #0A0A0A; /* Background */
}

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

.page-live__game-card {
  background-color: #111111; /* Card BG */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid #3A2A12;
}

.page-live__game-thumbnail {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

/* Promotions Section */
.page-live__promotions-section {
  padding: 60px 20px;
  margin-bottom: 60px;
  background-color: #0A0A0A; /* Background */
}

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

.page-live__promo-card {
  background-color: #111111; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid #3A2A12;
}

.page-live__promo-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Get Started Section */
.page-live__get-started-section {
  padding: 60px 20px;
  margin-bottom: 60px;
  background-color: #0A0A0A; /* Background */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

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

.page-live__step-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid #3A2A12;
}

.page-live__step-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin: 0 auto 15px auto;
  border-radius: 8px;
  display: block;
}

/* Mobile Section */
.page-live__mobile-section {
  padding: 60px 20px;
  margin-bottom: 60px;
  background-color: #0A0A0A; /* Background */
}

.page-live__mobile-section .page-live__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-live__mobile-content,
.page-live__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-live__mobile-benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.page-live__mobile-benefits li {
  background: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23FFD36B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"%3e%3cpath d="M22 11.08V12a10 10 0 0 1-20 0V11.08"%3e%3c/path%3e%3ccircle cx="8.5" cy="7.5" r="4.5"%3e%3c/circle%3e%3cpath d="M21.5 11.5L13 20l-3.5-3.5"%3e%3c/path%3e%3c/svg%3e') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #FFF6D6;
  font-size: 1.1em;
}

.page-live__mobile-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Safety Section */
.page-live__safety-section {
  padding: 60px 20px;
  margin-bottom: 60px;
  background-color: #0A0A0A; /* Background */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

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

.page-live__safety-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid #3A2A12;
}

/* FAQ Section */
.page-live__faq-section {
  padding: 60px 20px;
  margin-bottom: 60px;
  background-color: #0A0A0A; /* Background */
}

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

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

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

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

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

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

.page-live__faq-answer {
  max-height: 0; /* Initial collapsed state */
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  text-align: left;
}

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

.page-live__faq-answer p {
  margin: 0;
}

/* Bottom CTA Section */
.page-live__cta-bottom-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0A0A0A; /* Background */
}

.page-live__cta-bottom-content {
  background-color: #111111; /* Card BG */
  padding: 50px 30px;
  border-radius: 15px;
  border: 1px solid #3A2A12;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-content-wrapper {
    margin-top: -50px;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .page-live__section-title {
    font-size: 2em;
  }

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

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

  .page-live__intro-text {
    font-size: 1em;
  }

  .page-live__hero-content-wrapper {
    margin-top: -30px;
    padding: 25px 15px;
  }

  .page-live__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;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .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__mobile-section .page-live__container {
    flex-direction: column;
  }

  .page-live__mobile-content,
  .page-live__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-live__video-section {
    padding-top: 10px !important; /* Ensure minimal top padding */
  }

  /* Responsive images */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .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-wrapper {
    padding-bottom: 56.25%; /* Maintain aspect ratio */
  }

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

@media (max-width: 480px) {
  .page-live__section-title {
    font-size: 1.8em;
  }

  .page-live__card-title {
    font-size: 1.3em;
  }

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