/* style/live.css */

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

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

.page-live__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-live__card-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow color */
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-live__card-text {
  font-size: 1em;
  color: #FFF6D6;
  line-height: 1.5;
}

.page-live__card-link {
  color: #FFD36B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__card-link:hover {
  color: #F2C14E;
}

/* Buttons */
.page-live__btn-primary, .page-live__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  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 */
  color: #111111; /* Dark text for light button */
  border: none;
}

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

.page-live__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #FFD36B; /* Glow color for border */
}

.page-live__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-2px);
}

.page-live__btn-large {
  padding: 15px 40px;
  font-size: 1.1em;
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-live__video-wrapper {
  width: 100%;
  max-height: 700px; /* Limit video height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-live__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between video and content */
}

.page-live__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Why Choose Section */
.page-live__why-choose-section {
  padding: 80px 0;
}

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

.page-live__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* Portfolio Section */
.page-live__portfolio-section {
  padding: 80px 0;
}

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

.page-live__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Promotions Section */
.page-live__promotions-section {
  padding: 80px 0;
}

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

.page-live__promo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  text-align: left;
  padding: 0;
}

.page-live__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.page-live__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-live__promo-content .page-live__card-title {
  margin-top: 0;
  text-align: left;
}

.page-live__promo-content .page-live__card-text {
  text-align: left;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-live__promo-content .page-live__btn-secondary {
  align-self: flex-start;
}

/* How to Start Section */
.page-live__how-to-start-section {
  padding: 80px 0;
}

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

.page-live__step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
  padding: 80px 0;
  text-align: center;
}

.page-live__responsible-gaming-section .page-live__btn-secondary {
  margin-top: 30px;
}

/* FAQ Section */
.page-live__faq-section {
  padding: 80px 0;
}

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

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

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

.page-live__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

.page-live__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2C14E;
  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 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #FFF6D6;
  font-size: 1em;
}

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

.page-live__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-live__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-live__cta-final-section .page-live__btn-primary {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-live__hero-content {
    padding: 30px 15px;
  }
  .page-live__hero-title {
    font-size: clamp(2em, 6vw, 2.5em);
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__btn-primary, .page-live__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
  }
  .page-live__hero-cta-buttons .page-live__btn-primary,
  .page-live__hero-cta-buttons .page-live__btn-secondary {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__section-title {
    font-size: clamp(1.8em, 5vw, 2.2em);
  }
  .page-live__section-description {
    font-size: 0.95em;
  }

  .page-live__why-choose-section,
  .page-live__portfolio-section,
  .page-live__promotions-section,
  .page-live__how-to-start-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section,
  .page-live__cta-final-section {
    padding: 50px 0;
  }

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

  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-live video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-live__video-wrapper,
  .page-live__hero-cta-buttons,
  .page-live__features-grid,
  .page-live__games-grid,
  .page-live__promotions-grid,
  .page-live__steps-grid,
  .page-live__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .page-live__promo-card {
    flex-direction: column;
  }

  .page-live__promo-content {
    padding: 15px;
  }

  .page-live__promo-content .page-live__btn-secondary {
    align-self: stretch;
  }

  .page-live__faq-question {
    padding: 15px 20px;
  }

  .page-live__faq-question h3 {
    font-size: 1.1em;
  }

  .page-live__faq-answer {
    padding: 0 20px;
  }

  .page-live__faq-item.active .page-live__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__btn-large {
    font-size: 1em;
  }
}