/* style/live.css */

/* General styles for the live page content */
.page-live {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color based on dark background */
  background-color: #0A0A0A; /* Dark background */
  line-height: 1.6;
}

/* Container for consistent content width */
.page-live__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-live__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Brand main color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Subtitles/H3 in sections */
.page-live__feature-title,
.page-live__game-title,
.page-live__promo-title,
.page-live__faq-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color for sub-titles */
  margin-top: 15px;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Text blocks */
.page-live__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6; /* Ensure light text on dark background */
}

/* Buttons */
.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 10px;
  box-sizing: border-box;
  text-align: center;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
  color: #111111; /* Dark text on light-gold button for contrast */
  border: 2px solid transparent;
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  color: #000000;
}

.page-live__btn-secondary {
  background: #111111; /* Card BG color */
  color: #FFD36B; /* Auxiliary color for text */
  border: 2px solid #3A2A12; /* Border color */
}

.page-live__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  border: 2px solid #FFD36B;
}

/* Card styles */
.page-live__card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6; /* Main text color */
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Stacks image then content */
  align-items: center;
  padding: 60px 20px; /* General padding */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A0A0A; /* Ensure hero section background is dark */
}

.page-live__video-container {
  width: 100%;
  max-width: 1200px; /* Max width for video */
  margin: 0 auto;
  box-sizing: border-box;
  margin-bottom: 30px; /* Space between video and content */
}

.page-live__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  object-fit: cover;
}

.page-live__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-live__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive H1 font size */
  font-weight: 900;
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-live__subtitle {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-live__feature-item {
  text-align: center;
}

.page-live__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Smaller for feature icons within cards */
  margin: 0 auto 15px;
  border-radius: 8px;
  display: block;
}

.page-live__feature-description {
  color: #FFF6D6;
}

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

.page-live__game-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-live__category-item {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for categories */
  border: 1px solid #3A2A12;
  border-radius: 50px;
  text-decoration: none;
  color: #FFF6D6;
  font-weight: bold;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-live__category-item:hover {
  background-color: #F2C14E;
  color: #111111;
  border-color: #F2C14E;
}

.page-live__category-icon {
  width: 30px; /* Allowed small icon size */
  height: 30px; /* Allowed small icon size */
  margin-right: 10px;
}

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

.page-live__game-card {
  text-align: center;
}

.page-live__game-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-live__game-description {
  color: #FFF6D6;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-live__promotions-section {
  background-color: #0A0A0A; /* Dark background */
  padding: 80px 0;
}

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

.page-live__promo-card {
  text-align: center;
}

.page-live__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-live__promo-description {
  color: #FFF6D6;
  margin-bottom: 20px;
}

/* Mobile Section */
.page-live__mobile-section {
  background-color: #111111; /* Card BG color for this section */
  padding: 80px 0;
}

.page-live__app-showcase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.page-live__app-image {
  max-width: 450px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-live__app-features {
  max-width: 500px;
  color: #FFF6D6;
}

.page-live__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
  text-align: left;
}

.page-live__feature-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-live__feature-list li::before {
  content: '✓';
  color: #F2C14E;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for game images */
  gap: 20px;
  margin-top: 50px;
  justify-items: center;
  align-items: center;
}

.page-live__partner-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 167px; /* Max width for game images */
  height: 127px; /* Fixed height for game images */
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.page-live__partner-item:hover {
  transform: translateY(-5px);
}

.page-live__partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

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

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

.page-live__faq-item {
  margin-bottom: 15px;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  overflow: hidden;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter for question background */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-live__faq-title {
  margin: 0;
  color: #FFD36B;
  font-size: 1.2em;
}

.page-live__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #F2C14E;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-toggle {
  transform: rotate(45deg); /* Plus to X/minus */
}

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

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

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

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

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

@media (max-width: 768px) {
  .page-live__container {
    padding: 30px 15px; /* Smaller padding for mobile */
  }

  .page-live__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Rely on body for header offset */
  }

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

  .page-live__subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-live__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to button container */
  }

  .page-live__btn-primary,
  .page-live__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0; /* Remove horizontal margin for full width */
  }

  .page-live__features-grid,
  .page-live__game-highlight,
  .page-live__promo-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

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

  .page-live__feature-title,
  .page-live__game-title,
  .page-live__promo-title,
  .page-live__faq-title {
    font-size: 1.3em;
  }

  .page-live__text-block {
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video responsiveness */
  .page-live__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-live__video-container,
  .page-live__app-image,
  .page-live__partners-grid,
  .page-live__game-categories {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-live__app-showcase {
    flex-direction: column;
    gap: 30px;
  }

  .page-live__app-features {
    text-align: center;
  }

  .page-live__feature-list {
    text-align: left; /* Keep list items left-aligned */
  }

  .page-live__partners-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for partners on mobile */
    padding: 0 15px; /* Add padding to the grid container */
  }
  
  .page-live__partner-item {
    max-width: 100%; /* Adjust max-width for 2-column layout */
    height: auto; /* Allow height to adjust */
  }

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

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

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

@media (max-width: 480px) {
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__faq-title {
    font-size: 1.1em;
  }
  .page-live__partners-grid {
    grid-template-columns: 1fr; /* Single column for partners on very small screens */
  }
}