/* style/live.css */

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

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

.page-live__section {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.page-live__section--dark {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-live__section--gold-bg {
  background: linear-gradient(180deg, #F2C14E 0%, #FFD36B 100%);
  color: #000000; /* Ensure high contrast text on gold background */
}

.page-live__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  margin-bottom: 40px;
  color: inherit;
}

.page-live__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

/* Hero Section */
.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, body handles header offset */
  overflow: hidden;
}

.page-live__video-container {
  width: 100%;
  max-width: 1920px; /* Max width for the video container */
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-live__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 40px; /* Space below video */
  background-color: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-live__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-live__cta-buttons--center {
  margin-top: 40px;
}

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  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 gradient */
  color: #000000; /* Ensure contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

.page-live__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Primary color for text */
  border: 2px solid #F2C14E; /* Primary color for border */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-live__btn-secondary:hover {
  background-color: #F2C14E;
  color: #000000; /* Ensure contrast */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

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

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

.page-live__card {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  text-align: center;
}

.page-live__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #F2C14E; /* Primary color */
}

.page-live__card-text {
  font-size: 1em;
  line-height: 1.7;
  text-align: justify;
}

.page-live__feature-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

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

.page-live__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-decoration: none;
  background-color: rgba(17, 17, 17, 0.7); /* Slightly transparent for gold background */
  color: #FFF6D6; /* Text Main */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  transition: all 0.3s ease;
}

.page-live__category-card:hover {
  background-color: #111111;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-live__category-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 10px;
}

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

.page-live__promo-card {
  text-align: center;
}

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

/* App Showcase */
.page-live__app-showcase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

.page-live__app-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-live__app-content .page-live__text-block {
  text-align: left;
}

.page-live__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-live__app-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

/* Partners Grid */
.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(167px, 1fr)); /* Fixed width for partner logos */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
}

.page-live__partner-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  padding: 10px;
  background-color: #111111; /* Card BG */
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  transition: transform 0.3s ease;
}

.page-live__partner-logo:hover {
  transform: scale(1.05);
}

/* FAQ Section */
.page-live__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-live__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2C14E; /* Primary color */
  background-color: #111111;
  transition: background-color 0.3s ease;
}

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

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

.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, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

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

.page-live__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.7;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__section {
    padding: 60px 0;
  }

  .page-live__section-title {
    font-size: clamp(2em, 5vw, 2.5em);
  }

  .page-live__main-title {
    font-size: clamp(2em, 6vw, 3em);
  }

  .page-live__hero-description {
    font-size: 1.1em;
  }

  .page-live__app-showcase {
    flex-direction: column;
    gap: 30px;
  }

  .page-live__app-content,
  .page-live__app-image-wrapper {
    max-width: 100%;
    text-align: center;
  }

  .page-live__app-content .page-live__text-block {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-live__section {
    padding: 40px 0;
  }

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

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

  .page-live__hero-description {
    font-size: 1em;
  }

  .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-left: 15px;
    padding-right: 15px;
  }

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

  .page-live__section,
  .page-live__card,
  .page-live__container {
    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;
  }

  .page-live__cta-buttons,
  .page-live__button-group,
  .page-live__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for mobile buttons */
  }

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

  .page-live__feature-icon {
    width: 150px;
    height: 100px;
  }

  .page-live__promo-image {
    height: 150px;
  }

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

  .page-live__card-title {
    font-size: 1.2em;
  }

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