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

.page-live__hero-section {
  padding-top: var(--header-offset, 120px);
  background: #0A0A0A;
  position: relative;
  overflow: hidden;
}

.page-live__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

.page-live__hero-image-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  border-radius: 10px;
}

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

.page-live__hero-content {
  text-align: center;
  padding: 20px;
  max-width: 800px;
}

.page-live__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.2;
}

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

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

.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__card-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111; /* Dark text for contrast */
  border: none;
}

.page-live__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-live__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
}

.page-live__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.page-live__featured-games-section,
.page-live__benefits-section,
.page-live__how-to-start-section,
.page-live__promotions-section,
.page-live__providers-section,
.page-live__faq-section,
.page-live__contact-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-live__game-card,
.page-live__step-card,
.page-live__promo-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-live__game-title,
.page-live__step-title,
.page-live__promo-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-live__game-title a,
.page-live__promo-title a {
  color: #F2C14E;
  text-decoration: none;
}

.page-live__game-title a:hover,
.page-live__promo-title a:hover {
  text-decoration: underline;
}

.page-live__game-description,
.page-live__step-description,
.page-live__promo-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__card-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111; /* Dark text for contrast */
  border: none;
  margin-top: auto;
  width: calc(100% - 30px); /* Adjust for padding */
  margin-left: auto;
  margin-right: auto;
}

.page-live__card-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-live__benefit-item {
  text-align: center;
  padding: 20px;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-live__benefit-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  display: inline-block;
  object-fit: contain;
}

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

.page-live__benefit-description {
  font-size: 0.95em;
  color: #FFF6D6;
}

.page-live__promo-cta {
  text-align: center;
  margin-top: 40px;
}

.page-live__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for 167x127 */
  gap: 15px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-live__provider-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 167px; /* Fixed width for game logos */
  height: 127px; /* Fixed height for game logos */
  box-sizing: border-box;
}

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

.page-live__faq-list {
  margin-top: 40px;
}

.page-live__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #F2C14E;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-live__faq-question h3 {
  margin: 0;
  color: inherit;
}

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

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

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

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

.page-live__contact-cta {
  text-align: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__description,
  .page-live__section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-live__hero-container {
    padding: 15px;
  }

  .page-live__hero-image-wrapper {
    padding-bottom: 65%; /* Adjust aspect ratio for mobile */
  }

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

  .page-live__description {
    font-size: 0.95em;
  }

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

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live__card-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  .page-live__game-grid,
  .page-live__benefits-grid,
  .page-live__steps-grid,
  .page-live__promo-grid,
  .page-live__providers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-live__container {
    padding: 20px 15px;
  }

  .page-live__section-title {
    font-size: 1.8em;
  }

  .page-live__section-description {
    font-size: 0.9em;
    margin-bottom: 25px;
  }

  .page-live__game-image,
  .page-live__promo-image {
    height: 180px;
  }

  .page-live__game-card,
  .page-live__step-card,
  .page-live__promo-card,
  .page-live__benefit-item,
  .page-live__provider-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__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-live__provider-item {
    width: 100%; /* Allow full width on mobile for better visibility */
    height: auto;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .page-live__main-title {
    font-size: clamp(1.5em, 8vw, 2.2em);
  }
  .page-live__section-title {
    font-size: 1.6em;
  }
}