/* style/live.css */
/* Colors from palette: */
/* Text Main: #FFF6D6 */
/* Card BG: #111111 */
/* Background: #0A0A0A */
/* Border: #3A2A12 */
/* Glow: #FFD36B */
/* Button: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%) */

.page-live {
  color: #FFF6D6; /* Default text color for dark body background */
  background-color: #0A0A0A; /* Page specific background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-live__section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0A0A0A; /* Default section background */
}

.page-live__section:first-of-type {
  padding-top: 10px; /* Small top padding for first section to avoid double header offset */
}

.page-live__section--dark-bg {
  background-color: #111111;
}

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

.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Adjusted padding to ensure image is above text */
  overflow: hidden;
  background-color: #0A0A0A; /* Ensure consistent background */
}

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

.page-live__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-live__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
  text-align: center;
}

.page-live__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #FFD36B;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.page-live__intro-text {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #FFD36B;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-live__text-block p {
  color: #FFF6D6;
  font-size: 1.05em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
  transform: translateY(-2px);
}

.page-live__btn-secondary {
  background-color: transparent;
  color: #FFD36B;
  border: 2px solid #FFD36B;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.2);
}

.page-live__btn-secondary:hover {
  background-color: #FFD36B;
  color: #111111;
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
  transform: translateY(-2px);
}

.page-live__feature-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-live__feature-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
}

.page-live__feature-item strong {
  color: #FFD36B;
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
}

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

.page-live__category-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
  transition: transform 0.3s ease;
}

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

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

.page-live__category-title {
  font-size: 1.3em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-live__video-section {
  margin-top: 40px;
  padding: 0;
  background-color: #0A0A0A;
}

.page-live__video-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #FFD36B;
  margin-bottom: 20px;
}

.page-live__video-container {
  position: relative;
  width: 100%; /* Desktop width */
  max-width: 1200px;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin: 0 auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-live__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-live__video-caption {
  color: #FFF6D6;
  margin-top: 15px;
  font-size: 0.95em;
}

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

.page-live__promo-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

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

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

.page-live__promo-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-live__promo-card .page-live__btn-primary {
  margin-top: 20px;
  align-self: flex-start;
}

.page-live__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
}

.page-live__step-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
}

.page-live__step-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-live__step-item .page-live__btn-primary,
.page-live__step-item .page-live__btn-secondary {
  margin-top: 20px;
}

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

.page-live__partner-item {
  background-color: #0A0A0A; /* Darker background for logos */
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  max-width: 167px; /* Max width for partner image container */
  max-height: 127px; /* Max height for partner image container */
  box-sizing: border-box;
}

.page-live__partner-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.2); /* Slightly dim and desaturate logos */
  transition: filter 0.3s ease;
}

.page-live__partner-logo:hover {
  filter: brightness(1) grayscale(0); /* Brighten on hover */
}

.page-live__call-to-action {
  background-color: #111111;
  border-top: 1px solid #3A2A12;
}

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

.page-live__faq-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111;
  border-bottom: 1px solid #3A2A12;
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: #1a1a1a;
}

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

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

.page-live__faq-item.active .page-live__faq-toggle {
  transform: rotate(0deg); /* No rotation for minus sign */
}

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

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

.page-live__faq-answer p {
  margin: 0;
  color: #FFF6D6;
  font-size: 1em;
}

.page-live img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

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

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

  .page-live__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem); /* Adjust clamp for mobile */
  }

  .page-live__intro-text {
    font-size: 1em;
  }

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

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

  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin-left: auto;
    margin-right: auto;
  }

  .page-live__feature-list,
  .page-live__game-categories,
  .page-live__promo-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .page-live__partners-grid {
    grid-template-columns: repeat(3, 1fr); /* Adjust to 3 columns for smaller screens */
    gap: 15px;
  }

  .page-live__video-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-bottom: 56.25% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__promo-card,
  .page-live__step-item,
  .page-live__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__video-section {
    padding-top: 10px !important; /* Ensure minimal padding, body handles header offset */
  }

  .page-live__faq-question,
  .page-live__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure all content images in main area are at least 200px */
.page-live__content-area img,
.page-live__text-block img,
.page-live__promo-image {
  min-width: 200px;
  min-
}

/* Exceptions for small icons */
.page-live__category-icon {
  min-width: 30px;
  min-height: 30px;
  width: 30px;
  height: 30px;
}

/* Exception for media partner game images */
.page-live__partner-logo {
  min-width: 167px;
  min-height: 127px;
  width: 100%;
  height: 100%;
}