/* style/live.css */

/* Base styles for the live page, ensuring light text on dark background */
.page-live {
  font-family: Arial, sans-serif;
  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; /* Main color for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-live__text-block {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-live__video-container {
  width: 100%;
  max-width: 1200px; /* Desktop width */
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

.page-live__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with video for visual flow */
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  z-index: 10;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__hero-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: 700;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-live__hero-description {
  font-size: 1.2em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  line-height: 1.5;
}

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

/* Buttons */
.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__game-btn {
  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;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast on bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
  opacity: 0.9;
}

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

.page-live__btn-secondary:hover,
.page-live__game-btn:hover {
  background: #F2C14E;
  color: #111111; /* Dark text on main color background */
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

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

/* Games Showcase */
.page-live__games-showcase-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.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: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

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

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

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

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

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

.page-live__feature-icon {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-live__feature-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-live__feature-description {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  line-height: 1.6;
}

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

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

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

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

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

.page-live__promo-description {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  line-height: 1.6;
  margin-bottom: 25px;
  padding: 0 20px;
}

/* How To Section */
.page-live__how-to-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-live__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-live__step-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

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

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

.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 2x5 grid for desktop */
  gap: 20px;
  margin-top: 40px;
  align-items: center;
  justify-items: center;
}

.page-live__partner-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.2); /* Slightly dim for aesthetic, no color change */
  transition: filter 0.3s ease;
}

.page-live__partner-logo:hover {
  filter: brightness(1) grayscale(0);
}

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

.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;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

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

.page-live__faq-title {
  margin: 0;
  color: inherit; /* Inherit color from question */
  font-size: 1em;
}

.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;
  color: #FFF6D6; /* Text Main */
  font-size: 0.95em;
  line-height: 1.6;
  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 for content */
  padding: 15px 25px 20px 25px;
}

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

.page-live__faq-answer a {
  color: #FFD36B; /* Glow color for links */
  text-decoration: underline;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }

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

  .page-live__partners-grid {
    grid-template-columns: repeat(4, 1fr); /* Adjust for smaller desktops/tablets */
  }
}

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

  .page-live__hero-content {
    margin-top: -50px; /* Less overlap on mobile */
    padding: 30px 15px;
  }

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

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

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

  .page-live__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-live__games-grid,
  .page-live__features-grid,
  .page-live__promo-grid,
  .page-live__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-live__game-image,
  .page-live__feature-icon,
  .page-live__promo-image {
    height: auto;
    max-height: 200px; /* Constrain height on mobile */
  }

  .page-live__partners-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for mobile */
    gap: 15px;
  }

  .page-live__partner-logo {
    width: 100%;
    max-width: 120px; /* Further constrain partner logos */
    height: auto;
  }

  /* Mobile responsive for all images */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Mobile responsive for all containers */
  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__hero-content,
  .page-live__game-card,
  .page-live__feature-item,
  .page-live__promo-card,
  .page-live__step-item,
  .page-live__faq-item,
  .page-live__cta-buttons,
  .page-live__hero-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Video section specific padding for mobile */
  .page-live__hero-section {
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px !important; /* body handles --header-offset */
  }

  /* Mobile responsive for all buttons */
  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live__game-btn,
  .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__hero-cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }
}

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

  .page-live__section-title {
    font-size: 1.5em;
  }
  
  .page-live__partners-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for very small screens */
  }

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

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

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