/* style/live-streaming.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-live-streaming {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Main content background will be handled by sections */
  padding-top: 10px; /* Fixed nav spacing for desktop */
}

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

.page-live-streaming__section {
  padding: 80px 0;
  text-align: center;
}

.page-live-streaming__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than pure black for contrast */
  color: #ffffff;
}

.page-live-streaming__light-bg {
  background-color: #1a1a1a; /* Dark gray for contrast with brand colors */
  color: #f0f0f0;
}

.page-live-streaming__section-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFCC00; /* Highlight with auxiliary color */
  text-transform: uppercase;
}

.page-live-streaming__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #cccccc;
}

.page-live-streaming__section-description a {
  color: #FFCC00;
  text-decoration: none;
}

.page-live-streaming__section-description a:hover {
  text-decoration: underline;
}

.text-highlight {
  color: #CC3300;
}

/* Buttons */
.page-live-streaming__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-live-streaming__btn-primary {
  background-color: #CC3300;
  color: #ffffff;
  border-color: #CC3300;
}

.page-live-streaming__btn-primary:hover {
  background-color: #FFCC00;
  color: #000000;
  border-color: #FFCC00;
}

.page-live-streaming__btn-secondary {
  background-color: transparent;
  color: #FFCC00;
  border-color: #FFCC00;
}

.page-live-streaming__btn-secondary:hover {
  background-color: #FFCC00;
  color: #000000;
}

.page-live-streaming__btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

.page-live-streaming__btn--large {
  padding: 18px 40px;
  font-size: 18px;
}

/* Hero Banner */
.page-live-streaming__hero-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 100px 0;
  background: linear-gradient(135deg, #CC3300, #FFCC00);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
}

.page-live-streaming__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
  z-index: 1;
  padding: 0 20px;
}

.page-live-streaming__main-title {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-live-streaming__subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-live-streaming__subtitle a {
  color: #FFCC00;
  text-decoration: none;
}

.page-live-streaming__subtitle a:hover {
  text-decoration: underline;
}

.page-live-streaming__hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-live-streaming__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.page-live-streaming__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Why Choose Section */
.page-live-streaming__why-choose .page-live-streaming__section-title {
  color: #FFCC00;
}

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

.page-live-streaming__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f0f0f0;
}

.page-live-streaming__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: #FFCC00;
}

.page-live-streaming__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-live-streaming__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFCC00;
}

.page-live-streaming__feature-text {
  font-size: 16px;
  color: #cccccc;
}

.page-live-streaming__feature-text a {
  color: #CC3300;
  text-decoration: none;
}

.page-live-streaming__feature-text a:hover {
  text-decoration: underline;
}

/* How To Section */
.page-live-streaming__how-to .page-live-streaming__section-title {
  color: #ffffff;
}

.page-live-streaming__how-to .page-live-streaming__section-description {
  color: #cccccc;
}

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

.page-live-streaming__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live-streaming__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #CC3300;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 20px;
  border: 2px solid #FFCC00;
}

.page-live-streaming__step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFCC00;
}

.page-live-streaming__step-text {
  font-size: 15px;
  margin-bottom: 20px;
  color: #cccccc;
  flex-grow: 1;
}

.page-live-streaming__step-text a {
  color: #CC3300;
  text-decoration: none;
}

.page-live-streaming__step-text a:hover {
  text-decoration: underline;
}

/* Game Types Section */
.page-live-streaming__game-types .page-live-streaming__section-title {
  color: #FFCC00;
}

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

.page-live-streaming__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
}

.page-live-streaming__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: #CC3300;
}

.page-live-streaming__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-live-streaming__game-title {
  font-size: 24px;
  font-weight: 700;
  margin: 20px 20px 10px;
  color: #FFCC00;
}

.page-live-streaming__game-text {
  font-size: 16px;
  padding: 0 20px 20px;
  color: #cccccc;
  flex-grow: 1;
}

.page-live-streaming__game-text a {
  color: #CC3300;
  text-decoration: none;
}

.page-live-streaming__game-text a:hover {
  text-decoration: underline;
}

.page-live-streaming__game-card .page-live-streaming__btn {
  margin: 0 20px 20px;
}

/* Promotions Section */
.page-live-streaming__promotions .page-live-streaming__section-title {
  color: #ffffff;
}

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

.page-live-streaming__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live-streaming__promo-card:hover {
  border-color: #FFCC00;
}

.page-live-streaming__promo-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFCC00;
}

.page-live-streaming__promo-text {
  font-size: 15px;
  margin-bottom: 20px;
  color: #cccccc;
  flex-grow: 1;
}

.page-live-streaming__promo-text a {
  color: #CC3300;
  text-decoration: none;
}

.page-live-streaming__promo-text a:hover {
  text-decoration: underline;
}

.page-live-streaming__promo-cta {
  margin-top: 50px;
}

/* FAQ Section */
.page-live-streaming__faq .page-live-streaming__section-title {
  color: #FFCC00;
}

.page-live-streaming__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
  text-align: left;
}

.page-live-streaming__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-live-streaming__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: #1a1a1a; /* Darker background for question */
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

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

.page-live-streaming__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFCC00;
}

.page-live-streaming__faq-question h3 a {
  color: #FFCC00;
  text-decoration: none;
}

.page-live-streaming__faq-question h3 a:hover {
  text-decoration: underline;
}

.page-live-streaming__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #CC3300;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-live-streaming__faq-item.active .page-live-streaming__faq-toggle {
  color: #FFCC00;
  transform: rotate(45deg);
}

.page-live-streaming__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter transparent white */
  color: #cccccc;
}

.page-live-streaming__faq-item.active .page-live-streaming__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-live-streaming__faq-answer p {
  margin: 0;
  font-size: 15px;
  color: #cccccc;
}

.page-live-streaming__faq-answer a {
  color: #CC3300;
  text-decoration: none;
}

.page-live-streaming__faq-answer a:hover {
  text-decoration: underline;
}

/* Bottom CTA */
.page-live-streaming__cta-bottom {
  padding: 100px 0;
  background: linear-gradient(45deg, #CC3300, #FFCC00);
  color: #ffffff;
}

.page-live-streaming__cta-bottom .page-live-streaming__section-title {
  color: #ffffff;
}

.page-live-streaming__cta-bottom .page-live-streaming__section-description {
  color: #f0f0f0;
}

/* Global image responsiveness */
.page-live-streaming img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live-streaming__hero-banner {
    flex-direction: column;
    padding: 80px 20px;
  }

  .page-live-streaming__hero-content {
    text-align: center;
    max-width: 100%;
  }

  .page-live-streaming__main-title {
    font-size: 48px;
  }

  .page-live-streaming__subtitle {
    font-size: 18px;
  }

  .page-live-streaming__hero-actions {
    justify-content: center;
  }

  .page-live-streaming__hero-image-wrapper {
    min-width: unset;
    margin-top: 40px;
  }

  .page-live-streaming__section-title {
    font-size: 32px;
  }

  .page-live-streaming__section-description {
    font-size: 16px;
  }

  .page-live-streaming__feature-title, .page-live-streaming__step-title, .page-live-streaming__game-title {
    font-size: 20px;
  }

  .page-live-streaming__feature-text, .page-live-streaming__step-text, .page-live-streaming__game-text {
    font-size: 15px;
  }

  .page-live-streaming__promo-title {
    font-size: 20px;
  }

  .page-live-streaming__promo-text {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .page-live-streaming {
    padding-top: 10px; /* Fixed nav spacing for mobile */
  }

  .page-live-streaming__section {
    padding: 60px 0;
  }

  .page-live-streaming__container {
    padding: 0 15px;
  }

  .page-live-streaming__main-title {
    font-size: 38px;
  }

  .page-live-streaming__subtitle {
    font-size: 16px;
  }

  .page-live-streaming__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-live-streaming__btn {
    width: 100%;
    box-sizing: border-box;
  }

  .page-live-streaming__section-title {
    font-size: 28px;
  }

  .page-live-streaming__section-description {
    font-size: 15px;
  }

  .page-live-streaming__features-grid,
  .page-live-streaming__steps-grid,
  .page-live-streaming__game-grid,
  .page-live-streaming__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-live-streaming__feature-card, .page-live-streaming__step-card, .page-live-streaming__game-card, .page-live-streaming__promo-card {
    padding: 25px;
  }

  .page-live-streaming__feature-icon {
    width: 60px;
    height: 60px;
  }

  .page-live-streaming__feature-title, .page-live-streaming__step-title, .page-live-streaming__game-title {
    font-size: 18px;
  }

  .page-live-streaming__faq-question {
    padding: 15px;
  }

  .page-live-streaming__faq-question h3 {
    font-size: 16px;
  }

  .page-live-streaming__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }

  .page-live-streaming__faq-answer {
    padding: 0 15px;
  }

  .page-live-streaming__faq-item.active .page-live-streaming__faq-answer {
    padding: 15px !important;
  }

  .page-live-streaming img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-live-streaming__section,
  .page-live-streaming__card,
  .page-live-streaming__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-live-streaming__hero-image-wrapper {
    margin-top: 20px;
  }
}