/* style/live.css */
/* Body padding-top is handled by shared.css for --header-offset. */
/* No need to add it here, to avoid double padding. */

.page-live {
  font-family: Arial, sans-serif;
  color: var(--text-main, #FFF6D6); /* Use Text Main color, fallback to light */
  background-color: var(--bg-color-page, #0A0A0A); /* Page specific background, fallback to dark */
}

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

.page-live__video-container {
  width: 100%;
  max-width: 100%; /* Ensure full width */
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background-color: #0A0A0A; /* Fallback background for video area */
}

.page-live__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block; /* Ensure no extra space below video */
  cursor: pointer; /* Indicate video is clickable */
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  margin-top: -120px; /* Adjust as needed to pull content up slightly over video poster */
  background: linear-gradient(0deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0) 100%);
  padding-top: 150px; /* Create fade effect at top */
  padding-bottom: 50px;
  border-radius: 8px;
}

.page-live__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: var(--text-main, #FFF6D6);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-live__hero-description {
  font-size: 1.1rem;
  color: #E0E0E0;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* General Section Styling */
.page-live__section {
  padding: 60px 20px;
  text-align: center;
  box-sizing: border-box;
}

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

.page-live__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--main-color, #F2C14E);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-live__section-description {
  font-size: 1.1rem;
  color: #E0E0E0;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Content Wrapper for text and image */
.page-live__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-live__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-live__text-block,
.page-live__image-block {
  flex: 1;
  min-width: 300px;
}

.page-live__text-block p {
  color: var(--text-main, #FFF6D6);
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-live__image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Card Styling */
.page-live__card {
  background-color: var(--card-bg, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
  object-fit: cover;
  width: 100%; /* Ensure images fill card width */
}

.page-live__card-title {
  font-size: 1.4rem;
  color: var(--main-color, #F2C14E);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-live__card-description {
  font-size: 0.95rem;
  color: #E0E0E0;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

/* Grids */
.page-live__game-cards-grid,
.page-live__promo-cards-grid,
.page-live__steps-grid,
.page-live__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Button Styling */
.page-live__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-live__cta-buttons--center {
  justify-content: center;
}

.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__card-link {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons adapt to container */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-live__btn-secondary {
  background: transparent;
  color: var(--main-color, #F2C14E);
  border: 2px solid var(--main-color, #F2C14E);
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.2);
}

.page-live__btn-secondary:hover {
  background: var(--main-color, #F2C14E);
  color: #111111;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.4);
}

.page-live__card-link {
  background: var(--main-color, #F2C14E);
  color: #111111;
  border: 2px solid transparent;
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 20px;
  margin-top: auto; /* Push link to bottom of card */
}

.page-live__card-link:hover {
  background: #FFD36B;
}


/* Dark Section (for Security/Features) */
.page-live__dark-section {
  background-color: var(--card-bg, #111111); /* Using card bg for this section */
  color: var(--text-main, #FFF6D6);
  padding: 80px 20px;
}
.page-live__dark-section .page-live__section-title {
  color: var(--main-color, #F2C14E);
}
.page-live__dark-section .page-live__section-description {
  color: #E0E0E0;
}
.page-live__dark-section .page-live__card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter card background */
  border-color: rgba(242, 193, 78, 0.2); /* Subtle border */
}
.page-live__dark-section .page-live__card-title {
  color: var(--main-color, #F2C14E);
}
.page-live__dark-section .page-live__card-description {
  color: #E0E0E0;
}


/* FAQ Section */
.page-live__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__faq-item {
  background-color: var(--card-bg, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: left;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--text-main, #FFF6D6);
  background-color: rgba(242, 193, 78, 0.05); /* Subtle highlight */
}

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

.page-live__faq-title {
  margin: 0;
  color: var(--text-main, #FFF6D6);
  font-size: 1.1rem;
}

.page-live__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 24px;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--main-color, #F2C14E);
}

.page-live__faq-item.active .page-live__faq-toggle {
  transform: rotate(45deg); /* Plus sign becomes 'x' or 'minus' */
}

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px; /* Adjust padding for collapsed state */
  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 content */
  padding: 15px 25px 25px; /* Padding for expanded state */
}

.page-live__faq-answer p {
  color: #E0E0E0;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}
.page-live__faq-answer a {
  color: var(--main-color, #F2C14E);
  text-decoration: underline;
}
.page-live__faq-answer a:hover {
  color: var(--glow-color, #FFD36B);
}


/* Final CTA Section */
.page-live__final-cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(17,17,17,0.9) 0%, rgba(242,193,78,0.2) 50%, rgba(17,17,17,0.9) 100%);
  border-top: 1px solid var(--border-color, #3A2A12);
}

.page-live__cta-content {
  max-width: 800px;
}

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

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

  .page-live__hero-section {
    padding-bottom: 40px;
  }
  
  .page-live__hero-content {
    margin-top: -60px;
    padding-top: 80px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-live__section {
    padding: 40px 15px;
  }

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

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

  .page-live__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  
  .page-live__content-wrapper--reverse {
    flex-direction: column; /* Keep column for mobile */
  }

  .page-live__text-block,
  .page-live__image-block {
    min-width: unset; /* Remove min-width for mobile */
    width: 100%;
  }

  .page-live__game-cards-grid,
  .page-live__promo-cards-grid,
  .page-live__steps-grid,
  .page-live__features-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }

  .page-live__card {
    padding: 20px;
  }

  .page-live__card-title {
    font-size: 1.2rem;
  }

  .page-live__card-description {
    font-size: 0.9rem;
  }

  .page-live__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    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;
    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;
  }
  
  /* Mobile image and video specific overrides */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-live__video {
    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 and padding-right are already set for .page-live__container */
  }
  
  .page-live__video-section {
    padding-top: 10px !important; /* Ensure minimal top padding for video section */
  }

  .page-live__faq-question,
  .page-live__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-live__faq-item.active .page-live__faq-answer {
    padding: 15px 15px 25px; /* Adjust padding for expanded state on mobile */
  }
}

/* Custom CSS variables */
:root {
  --main-color: #F2C14E;
  --accent-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --bg-color-page: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
}