/* style/live.css */

/* Base styles for the live page content */
.page-live {
  color: #FFF6D6; /* Text Main */
  background: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

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

/* Section specific styles */
.page-live__hero-video-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-live__video-container {
  position: relative;
  width: 100%; /* Important for desktop */
  max-width: 1200px; /* Max width for the video container */
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-live__video-link {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  cursor: pointer;
}

.page-live__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-live__hero-content {
  margin-top: 40px;
  max-width: 900px;
  z-index: 2;
}

.page-live__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #FFD36B; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.15rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Button styles */
.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

.page-live__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Auxiliary color */
  border: 2px solid #3A2A12; /* Border color */
  box-shadow: none;
}

.page-live__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  transform: translateY(-2px);
}

.page-live__btn-text {
  color: #FFD36B; /* Auxiliary color for text links */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-live__btn-text:hover {
  color: #F2C14E; /* Main color on hover */
  text-decoration: underline;
}

/* General section styling */
.page-live__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #FFD36B; /* Auxiliary color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.page-live__subtitle {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  font-weight: 600;
}

.page-live__text-block,
.page-live__paragraph {
  font-size: 1.05rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  text-align: center;
}

.page-live__paragraph {
  text-align: left;
}

/* About Section */
.page-live__about-section {
  padding: 80px 0;
  background: #0A0A0A; /* Background */
}

.page-live__image-text-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-live__image-wrapper {
  flex: 1;
  min-width: 300px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-live__image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.page-live__image:hover {
  transform: scale(1.03);
}

.page-live__text-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

/* Games Section */
.page-live__games-section {
  padding: 80px 0;
  background: #111111; /* Card BG */
}

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

.page-live__category-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-live__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

.page-live__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px #F2C14E);
}

.page-live__category-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-live__category-description {
  font-size: 0.95rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

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

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

.page-live__feature-item {
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-live__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px #FFD36B);
  border-radius: 8px;
}

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

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

/* Promo CTA Section */
.page-live__promo-cta-section {
  padding: 80px 0;
  background: #111111; /* Card BG */
}

.page-live__promo-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #3A2A12;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
  flex-wrap: wrap;
}

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

.page-live__promo-content .page-live__section-title {
  text-align: left;
  margin-bottom: 25px;
}

.page-live__promo-content .page-live__text-block {
  text-align: left;
  margin-bottom: 30px;
}

.page-live__promo-image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(167px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-live__partner-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  filter: grayscale(80%) brightness(120%);
  transition: filter 0.3s ease;
}

.page-live__partner-logo:hover {
  filter: grayscale(0%) brightness(100%) drop-shadow(0 0 5px #F2C14E);
}

/* FAQ Section */
.page-live__faq-section {
  padding: 80px 0;
  background: #111111; /* Card BG */
}

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

.page-live__faq-item {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
  border-radius: 10px;
  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;
  cursor: pointer;
  background: #1A1A1A; /* Slightly darker for question */
  transition: background 0.3s ease;
}

.page-live__faq-question:hover {
  background: #2A2A2A;
}

.page-live__faq-title {
  font-size: 1.15rem;
  color: #FFD36B; /* Auxiliary color */
  margin: 0;
  font-weight: 600;
}

.page-live__faq-toggle {
  font-size: 1.8rem;
  color: #F2C14E; /* Main color */
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-toggle {
  transform: rotate(0deg);
}

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  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;
  padding: 20px 25px;
}

.page-live__faq-answer p {
  margin-bottom: 0;
  font-size: 1rem;
  text-align: left;
}

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

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

/* Bottom CTA Section */
.page-live__cta-bottom-section {
  padding: 60px 0;
  background: #0A0A0A; /* Background */
  text-align: center;
}

.page-live__cta-bottom-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__cta-bottom-content .page-live__section-title {
  margin-bottom: 25px;
}

.page-live__cta-bottom-content .page-live__text-block {
  margin-bottom: 40px;
}


/* Responsive styles */
@media (max-width: 992px) {
  .page-live__hero-content {
    margin-top: 30px;
  }
  .page-live__image-text-grid {
    flex-direction: column;
    text-align: center;
  }
  .page-live__text-content {
    text-align: center;
  }
  .page-live__promo-card {
    flex-direction: column-reverse;
  }
  .page-live__promo-content {
    text-align: center;
  }
  .page-live__promo-content .page-live__section-title,
  .page-live__promo-content .page-live__text-block {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-live {
    font-size: 15px;
  }
  .page-live__container {
    padding: 0 15px;
  }

  /* Universal image responsiveness for content area */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All content containers for mobile */
  .page-live__hero-video-section,
  .page-live__about-section,
  .page-live__games-section,
  .page-live__why-choose-section,
  .page-live__promo-cta-section,
  .page-live__partners-section,
  .page-live__faq-section,
  .page-live__cta-bottom-section,
  .page-live__game-categories,
  .page-live__features-grid,
  .page-live__promo-card,
  .page-live__partners-grid,
  .page-live__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific video container padding */
  .page-live__hero-video-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  /* All buttons for mobile */
  .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;
  }
  
  /* Button containers for mobile */
  .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: 0;
    padding-right: 0;
    flex-direction: column !important;
    gap: 15px;
  }

  .page-live__section-title {
    margin-bottom: 25px;
  }

  .page-live__game-categories {
    grid-template-columns: 1fr;
  }

  .page-live__features-grid {
    grid-template-columns: 1fr;
  }

  .page-live__partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
  }

  .page-live__partner-logo {
    width: 120px;
    height: 90px;
  }

  .page-live__faq-question {
    padding: 15px 20px;
  }

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

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