/* style/live.css */
.page-live {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-live__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 10px;
  overflow: hidden;
}

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

.page-live__hero-content {
  text-align: center;
  padding: 40px 20px;
  margin-top: 20px;
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-sizing: border-box;
  max-width: 900px;
  width: 100%;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.6);
  line-height: 1.2;
}

.page-live__intro-text {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

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

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

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

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

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

.page-live__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-live__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
}

.page-live__section-description {
  font-size: 1em;
  color: #FFF6D6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-live__info-section,
.page-live__games-section,
.page-live__why-choose-section,
.page-live__getting-started-section,
.page-live__responsible-gaming-section,
.page-live__faq-section,
.page-live__partners-section,
.page-live__cta-bottom-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
  box-sizing: border-box;
}

.page-live__game-grid {
  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: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

.page-live__game-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-live__game-text {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-live__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

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

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

.page-live__feature-icon {
  width: 100%;
  height: auto;
  max-width: 300px; /* Ensure icons are not too big, but >= 200px */
  min-height: 200px;
  margin-bottom: 15px;
  object-fit: cover;
  border-radius: 8px;
}

.page-live__feature-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-live__feature-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

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

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

.page-live__step-title {
  font-size: 1.3em;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-live__step-text {
  font-size: 0.9em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

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

.page-live__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background: rgba(242, 193, 78, 0.1);
  transition: background 0.3s ease;
}

.page-live__faq-question:hover {
  background: rgba(242, 193, 78, 0.2);
}

.page-live__faq-title {
  font-size: 1.1em;
  color: #F2C14E; /* Main color */
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.page-live__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-left: 15px;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 0.95em;
  text-align: left;
}

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

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

.page-live__partner-logo {
  width: 100%;
  max-width: 167px; /* Fixed width */
  height: auto;
  max-height: 127px; /* Fixed height */
  object-fit: contain;
  filter: grayscale(80%) brightness(120%); /* Subtle effect, not color changing */
  transition: filter 0.3s ease;
}

.page-live__partner-logo:hover {
  filter: grayscale(0%) brightness(100%);
}

.page-live__cta-bottom-content {
  text-align: center;
  padding: 50px 20px;
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  margin-top: 60px;
}

.page-live__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-content {
    max-width: 800px;
  }
  .page-live__game-grid,
  .page-live__features-grid,
  .page-live__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-live__partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-live__hero-section,
  .page-live__info-section,
  .page-live__games-section,
  .page-live__why-choose-section,
  .page-live__getting-started-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section,
  .page-live__partners-section,
  .page-live__cta-bottom-section {
    padding: 40px 15px;
  }
  .page-live__container,
  .page-live__hero-content,
  .page-live__cta-bottom-content {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-live__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-live__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .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;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-live__game-grid,
  .page-live__features-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-live__game-image,
  .page-live__feature-icon {
    min-height: 200px; /* Global min size applies */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-live__video-container,
  .page-live__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-live__partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-live__partner-logo {
    max-width: 100px; /* Adjusting max-width for smaller screens */
    max-height: 76px;
  }
}

@media (max-width: 480px) {
  .page-live__main-title {
    font-size: clamp(1.5em, 9vw, 2.2em);
  }
  .page-live__section-title {
    font-size: clamp(1.3em, 8vw, 1.8em);
  }
  .page-live__cta-buttons {
    gap: 10px;
  }
  .page-live__partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Ensuring no filter on images except for partner logos (which is brightness/grayscale, not color changing) */
.page-live img:not(.page-live__partner-logo) {
  filter: none;
}

/* CSS for dark background with light text, ensuring contrast */
.page-live__dark-bg {
  color: #FFF6D6; /* Light text for dark background */
}

.page-live__card,
.page-live__faq-item,
.page-live__hero-content,
.page-live__cta-bottom-content {
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

.page-live__btn-primary {
  color: #111111; /* Ensure dark text on bright button */
}

.page-live__btn-secondary {
  color: #FFD36B; /* Ensure light text on dark button border */
}

/* Ensure all images in content area are at least 200px wide/high on desktop */
.page-live__game-image, .page-live__feature-icon {
  min-width: 200px;
  min-height: 200px;
}

/* Specific override for partner logos as per exception */
.page-live__partner-logo {
  min-width: unset; /* Remove min-width/height for these specific exceptions */
  min-height: unset;
}