/* style/live.css */

/* Base styles for the page-live content area */
.page-live {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-bottom: 60px; /* Ensure space above footer */
}

.page-live__section-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-live__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-live__section-description {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  opacity: 0.9;
}

/* Hero Section */
.page-live__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px;
  text-align: center;
  background: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-live__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-live__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

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

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

.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__btn-tertiary,
.page-live__btn-play {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  max-width: 100%;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
}

.page-live__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 211, 107, 0.4);
}

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

.page-live__btn-secondary:hover {
  background: #FFD36B; /* Glow */
  color: #111111; /* Card BG */
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 211, 107, 0.4);
}

.page-live__btn-tertiary {
  background: #3A2A12; /* Border color as background */
  color: #FFD36B; /* Glow */
  border: 1px solid #FFD36B; /* Glow */
}

.page-live__btn-tertiary:hover {
  background: #F2C14E; /* Primary color */
  color: #111111; /* Dark text */
  transform: translateY(-2px);
}

.page-live__btn-play {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
}

.page-live__btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(255, 211, 107, 0.3);
}

.page-live__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.page-live__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-live__video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

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

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

.page-live__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-live__game-card:hover {
  transform: translateY(-5px);
}

.page-live__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

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

.page-live__game-description {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  opacity: 0.8;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Access Section */
.page-live__access-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

.page-live__access-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-live__step-title {
  font-size: 1.8em;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-live__step-description {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  opacity: 0.8;
  margin-bottom: 25px;
}

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

.page-live__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-live__promo-image {
  width: 100%;
  height: 250px; /* Consistent image height */
  object-fit: cover;
  margin-bottom: 15px;
}

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

.page-live__promo-text {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  opacity: 0.8;
  margin-bottom: 20px;
  padding: 0 15px;
}

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

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

.page-live__feature-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-live__feature-title {
  font-size: 1.8em;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-live__feature-description {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  opacity: 0.8;
}

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

.page-live__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-live__app-text-content {
  flex: 1 1 500px;
  text-align: left;
}

.page-live__app-subtitle {
  font-size: 2em;
  color: #F2C14E; /* Primary color */
  margin-bottom: 20px;
}

.page-live__app-description {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  opacity: 0.9;
  margin-bottom: 30px;
}

.page-live__app-download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.page-live__app-note {
  font-size: 0.9em;
  color: #FFF6D6; /* Text Main */
  opacity: 0.7;
}

.page-live__app-image-wrapper {
  flex: 0 0 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-live__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-live__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFD36B; /* Glow */
  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;
  background: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
  border-top: 1px solid #3A2A12; /* Border */
}

.page-live__faq-answer p {
  margin-bottom: 1em;
}

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

/* CTA Section */
.page-live__cta-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Gradient using primary and auxiliary */
  color: #111111; /* Dark text for bright background */
}

.page-live__cta-title {
  font-size: 2.8em;
  color: #111111; /* Card BG as dark text */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-live__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #111111;
}

/* General Image Styles for Responsiveness */
.page-live img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__hero-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-live__game-image {
    height: 180px;
  }
  .page-live__app-image-wrapper {
    flex: 0 0 350px;
  }
  .page-live__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-description,
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live__btn-tertiary,
  .page-live__btn-play {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-live__hero-section,
  .page-live__video-section,
  .page-live__games-section,
  .page-live__access-section,
  .page-live__promotions-section,
  .page-live__why-choose-section,
  .page-live__mobile-app-section,
  .page-live__faq-section,
  .page-live__cta-section {
    padding: 40px 15px;
  }
  .page-live__hero-section {
    padding-top: 10px !important;
  }
  .page-live__video-section {
    padding-top: 10px !important;
  }
  .page-live__game-image {
    height: 160px;
  }
  .page-live__app-content {
    flex-direction: column;
  }
  .page-live__app-text-content {
    text-align: center;
    flex: 1 1 auto;
  }
  .page-live__app-download-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__app-image-wrapper {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px; /* Constrain width for smaller screens */
  }
  .page-live__cta-title {
    font-size: 1.8em;
  }
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-live__video-container,
  .page-live__hero-image-wrapper,
  .page-live__app-image-wrapper,
  .page-live__game-card,
  .page-live__promo-card,
  .page-live__access-step,
  .page-live__feature-item,
  .page-live__faq-item,
  .page-live__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-live__app-text-content,
  .page-live__faq-answer {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-live__faq-question {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-live__faq-item.active .page-live__faq-answer {
    padding: 15px 15px !important;
  }
  .page-live__cta-section {
    padding: 60px 15px;
  }
  .page-live__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}