/* style/live.css */
/* Body handles padding-top: var(--header-offset); page must not re-apply this to __video-section */

.page-live {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Light text on dark body background */
  background-color: #0A0A0A; /* Ensure consistency with body background */
  line-height: 1.6;
  padding-bottom: 50px; /* Space for footer */
}

/* Hero Section with Video */
.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image/Video on top, content below */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: #0A0A0A; /* Dark background for the section */
  box-sizing: border-box;
}

.page-live__video-container {
  width: 100%;
  max-width: 1200px; /* Desktop max width */
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-live__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer; /* Indicate video is clickable */
}

.page-live__hero-content {
  text-align: center;
  max-width: 800px;
  margin-top: 40px; /* Space between video and text */
  padding: 0 20px;
}

.page-live__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-live__hero-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-live__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
}

.page-live__btn-primary,
.page-live__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for primary button */
  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%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
  transform: translateY(-2px);
}

.page-live__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow color for secondary button text */
  border: 2px solid #3A2A12; /* Border color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-live__btn-secondary:hover {
  background: #3A2A12; /* Border color on hover */
  color: #FFD86A;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

/* General Section Styling */
.page-live__dark-bg {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

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

.page-live__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #FFD36B;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.page-live__text-block {
  font-size: 1.05rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

/* About Section */
.page-live__about-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

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

.page-live__feature-icon {
  width: 200px; /* Min size requirement */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-live__feature-title {
  font-size: 1.5rem;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-live__feature-description {
  font-size: 0.95rem;
  color: #FFF6D6;
}

/* Games Section */
.page-live__games-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-live__game-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
  display: flex;
  flex-direction: column;
}

.page-live__game-image {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  display: block;
}

.page-live__game-card h3 {
  padding: 20px 20px 10px 20px;
}

.page-live__game-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-live__game-title a {
  color: #F2C14E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__game-title a:hover {
  color: #FFD36B;
}

.page-live__game-description {
  font-size: 0.9rem;
  color: #FFF6D6;
  padding: 0 20px 20px 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-live__btn-small {
  font-size: 0.9rem;
  padding: 10px 20px;
  margin: 0 20px 20px 20px;
  align-self: flex-start; /* Align button to start within flex column */
}

/* Promotions Section */
.page-live__promotions-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-live__promo-content {
  flex: 1;
  min-width: 300px;
}

.page-live__promo-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-live__promo-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12;
}

.page-live__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

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

.page-live__promo-heading {
  font-size: 1.25rem;
  color: #FFD36B;
  margin-bottom: 10px;
}

/* Getting Started Section */
.page-live__getting-started-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

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

.page-live__step-icon {
  width: 200px; /* Min size requirement */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-live__step-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-live__step-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

/* FAQ Section */
.page-live__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-live__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  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;
  cursor: pointer;
  background: #111111; /* Card BG */
  color: #FFD36B;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: #3A2A12; /* Border color on hover */
}

.page-live__faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: inherit; /* Inherit color from parent */
}

.page-live__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #FFD36B;
  color: #111111;
  transition: transform 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-toggle {
  transform: rotate(45deg); /* For '-' icon, rotate '+' */
}

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 0.95rem;
}

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

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

.page-live__faq-answer a {
  color: #F2C14E;
  text-decoration: underline;
}

.page-live__faq-more-btn {
  margin-top: 40px;
  display: block;
  text-align: center;
}

/* Call to Action Bottom Section */
.page-live__cta-bottom-section {
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-live__promotions-section .page-live__container {
    flex-direction: column;
  }

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

  .page-live__promo-image {
    max-width: 100%;
  }
}

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

  .page-live__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure 10px top padding for video section */
  }

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

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

  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }

  .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; /* Ensure buttons have internal padding */
    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__container {
    padding: 30px 15px;
  }

  .page-live__section-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    margin-bottom: 20px;
  }

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

  .page-live__grid-features,
  .page-live__game-cards,
  .page-live__steps-grid,
  .page-live__responsible-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-live__feature-item,
  .page-live__game-card,
  .page-live__step-item,
  .page-live__promo-item {
    padding: 20px;
  }

  .page-live__game-image {
    height: 180px;
  }

  .page-live__feature-icon,
  .page-live__step-icon {
    width: 150px;
    height: 150px;
  }
  
  /* Mobile image adaptation */
  .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__faq-question {
    padding: 15px;
    font-size: 1rem;
  }

  .page-live__faq-question h3 {
    font-size: 1rem;
  }

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

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

@media (max-width: 480px) {
  .page-live__main-title {
    font-size: clamp(1.6rem, 9vw, 2.2rem);
  }
  .page-live__section-title {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }
}