/* style/live.css */

/* Base styles for the live page, ensuring contrast with dark body background */
.page-live {
  color: #FFF6D6; /* Text Main color for dark background */
  background-color: #0A0A0A; /* Background color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: #FFD36B; /* Glow color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-live__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #FFD36B; /* Glow color for main title */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  max-width: 900px;
}

.page-live__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

.page-live .highlight {
  color: #F2C14E; /* Main color for highlights */
  font-weight: bold;
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

.page-live__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim image for text readability */
}

.page-live__hero-content {
  position: relative; /* Ensure content is above image wrapper if needed, but not overlaying */
  text-align: center;
  padding: 20px;
  z-index: 2; /* Above image if they were layered, but they are separate blocks */
  margin-top: -100px; /* Pull content up slightly over the image for visual flow */
}

.page-live__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-live__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  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;
  transition: background-color 0.3s ease, transform 0.3s ease;
  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%); /* Button color */
  color: #111111; /* Dark text for bright button */
  border: none;
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #FFE080 0%, #E8B025 100%);
  transform: translateY(-2px);
}

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

.page-live__btn-secondary:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
}

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

.page-live__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-live__card-description {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-live__feature-image,
.page-live__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-live__introduction-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

/* Features Section */
.page-live__features-section {
  padding: 60px 20px;
}

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

/* Games Showcase Section */
.page-live__games-showcase-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

.page-live__game-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.page-live__category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  text-decoration: none;
  color: #FFF6D6;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 25px;
  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;
  height: 30px;
  object-fit: contain;
}

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

/* Promo Section */
.page-live__promo-section {
  padding: 60px 20px;
}

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

/* Getting Started Section */
.page-live__getting-started-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

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

/* Trust Section */
.page-live__trust-section {
  padding: 60px 20px;
  text-align: center;
}

/* FAQ Section */
.page-live__faq-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

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

.page-live__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
  text-align: left;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #1a1a1a; /* Slightly lighter than card BG */
  cursor: pointer;
  font-weight: bold;
  color: #FFF6D6;
  border-bottom: 1px solid #3A2A12;
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: #F2C14E;
  color: #111111;
}

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

.page-live__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: inherit;
}

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

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: #111111;
  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 to show content */
  padding: 15px 20px;
}

.page-live__faq-answer p {
  margin: 0;
  text-align: left;
  font-size: 0.95em;
}

/* CTA Section */
.page-live__cta-section {
  padding: 60px 20px;
  text-align: center;
}

/* Media Partners Section */
.page-live__media-partners-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 2x5 grid for desktop */
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.page-live__partner-item {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  max-width: 167px; /* Max width for partner items */
  max-height: 127px; /* Max height for partner items */
}

.page-live__partner-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  
  
}

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

@media (max-width: 768px) {
  .page-live__section-title {
    font-size: 2em;
  }

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

  .page-live__paragraph {
    font-size: 1em;
  }

  .page-live__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px;
  }

  .page-live__hero-content {
    margin-top: -80px; /* Adjust for smaller screens */
    padding: 15px;
  }

  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 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__features-grid,
  .page-live__game-detail-grid,
  .page-live__promo-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-live__category-item {
    width: calc(50% - 15px);
    justify-content: center;
  }

  .page-live__partners-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    gap: 15px;
  }

  .page-live img {
    max-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__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }
  .page-live__hero-content {
    margin-top: -60px;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__category-item {
    width: 100%; /* Full width for very small screens */
  }
  .page-live__partners-grid {
    grid-template-columns: 1fr; /* 1 column for very small screens */
  }
}