/* style/live.css */

/* Global styles for the page-live scope, using custom colors */
.page-live {
  background-color: #0A0A0A; /* Custom Background */
  color: #FFF6D6; /* Custom Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-live__section {
  padding: 60px 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-live__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-live__dark-section {
  background-color: #111111; /* Custom Card BG, used for dark sections */
}

/* Typography */
.page-live__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: bold;
  line-height: 1.2;
  color: #FFD36B; /* Glow color for prominence */
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #FFF6D6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #FFD36B; /* Glow color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-live__card-title {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: #F2C14E; /* Main color */
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-live__text-block {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  text-align: left;
}

.page-live__highlight {
  color: #FFD36B; /* Glow color for highlights */
  font-weight: bold;
}

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

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom Button color */
  color: #ffffff;
  border: none;
}

.page-live__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-live__btn-secondary {
  background: #111111; /* Custom Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Border color */
}

.page-live__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #111111; /* Card BG */
  transform: translateY(-2px);
}

.page-live__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  min-width: 120px;
}

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

.page-live__video-container {
  width: 100%; /* Important for desktop */
  max-width: 1200px; /* Max width for video */
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  transform: translateY(-20px); /* Lift video slightly to integrate with content */
}

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

.page-live__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 0;
  text-align: center;
  margin-top: 20px; /* Space after video */
}

/* Card Styles */
.page-live__card {
  background-color: #111111; /* Custom Card BG */
  border: 1px solid #3A2A12; /* Custom Border color */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6; /* Text Main */
}

.page-live__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

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

.page-live__game-card .page-live__card-image {
  height: 200px; /* Fixed height for game cards */
}

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

.page-live__feature-card .page-live__card-image {
  height: 250px; /* Fixed height for feature cards */
}

/* Promo Cards */
.page-live__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__promo-card .page-live__card-image {
  height: 250px; /* Fixed height for promo cards */
}

/* Advantages List */
.page-live__advantages-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  color: #FFF6D6;
}

.page-live__list-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for list items */
  border-left: 5px solid #F2C14E; /* Main color */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
}

.page-live__list-item strong {
  color: #FFD36B; /* Glow color for emphasis */
}

/* Payment Logos */
.page-live__payment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-live__payment-logo {
  width: 167px; /* Fixed width as per requirements */
  height: 127px; /* Fixed height as per requirements */
  object-fit: contain;
  filter: brightness(1.2); /* Slightly brighten for visibility on dark background, NOT changing color */
}

/* FAQ Section */
.page-live__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-live__faq-item {
  background-color: #111111; /* Custom Card BG */
  border: 1px solid #3A2A12; /* Custom Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #111111; /* Custom Card BG */
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-live__faq-title {
  margin: 0;
  font-size: 1.2rem;
  color: #F2C14E; /* Main color */
  font-weight: bold;
}

.page-live__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #FFD36B; /* Glow color */
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-live__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-live__section {
    padding: 40px 15px;
  }

  /* Images responsive (mandatory) */
  .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;
  }

  /* Video responsive (mandatory) */
  .page-live__video-section {
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
  }

  .page-live__video-container {
    padding-bottom: 56.25% !important; /* Ensure 16:9 aspect ratio */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 10px;
  }

  /* Buttons responsive (mandatory) */
  .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;
    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;
  }

  .page-live__game-grid,
  .page-live__features-grid,
  .page-live__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-live__card-image {
    min-height: 150px; /* Adjust min height for mobile */
  }

  .page-live__payment-logos {
    gap: 20px;
  }

  .page-live__payment-logo {
    width: 120px; /* Adjust size for mobile */
    height: auto;
  }

  .page-live__faq-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-live__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-live__section-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }
  .page-live__hero-description {
    font-size: 0.95rem;
  }
  .page-live__text-block {
    font-size: 0.9rem;
  }
  .page-live__list-item {
    font-size: 1rem;
  }
  .page-live__faq-question {
    padding: 15px;
  }
  .page-live__faq-answer {
    padding: 10px 15px;
  }
}