/* style/live.css */

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

/* Sections */
.page-live__section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-live__dark-section {
  background-color: #111111; /* Card BG */
}

.page-live__section-title {
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

/* 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 */
  text-align: center;
  overflow: hidden;
}

.page-live__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 0 30px rgba(255, 211, 107, 0.4);
}

.page-live__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.page-live__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-live__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
}

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

.page-live__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

.page-live__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B;
}

.page-live__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.3);
}

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

.page-live__game-category-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__game-category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 211, 107, 0.2);
}

.page-live__game-category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  border-bottom: 1px solid #3A2A12;
}

.page-live__game-category-title {
  font-size: 1.8em;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-live__game-category-text {
  font-size: 1em;
  color: #FFF6D6;
  padding: 0 15px;
}

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

.page-live__promo-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__promo-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
}

.page-live__promo-title {
  font-size: 1.6em;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-live__promo-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Mobile App Section */
.page-live__mobile-app {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__app-download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

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

.page-live__app-subtitle {
  font-size: 2em;
  color: #FFD36B;
  margin-bottom: 20px;
}

.page-live__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-live__app-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFD36B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-live__app-image-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
}

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

/* Security Section */
.page-live__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-live__security-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-live__security-title {
  font-size: 1.6em;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-live__security-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

/* Payment Methods Section */
.page-live__payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-live__payment-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-live__payment-name {
  font-size: 1.5em;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-live__payment-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Get Started Section */
.page-live__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-live__step-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 3px solid #FFD36B;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: 800;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.5);
}

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

.page-live__step-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Section */
.page-live__faq-list {
  margin-top: 50px;
}

.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;
  background-color: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

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

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

.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;
}

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

.page-live__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

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

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

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

.page-live__partner-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.3);
}

/* Final CTA Section */
.page-live__final-cta {
  text-align: center;
  padding-bottom: 80px;
}

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

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

  .page-live__partners-grid {
    grid-template-columns: repeat(4, 1fr); /* 2x4 grid for tablet */
  }
}

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

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

  .page-live__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-live__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* Body handles --header-offset */
  }

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

  .page-live__intro-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-live__video-container {
    margin-bottom: 30px;
  }

  .page-live__game-categories,
  .page-live__promo-cards,
  .page-live__security-features,
  .page-live__payment-options,
  .page-live__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

  .page-live__app-features {
    text-align: left;
    padding-left: 20px;
  }

  .page-live__app-features li {
    background-position: 0 center;
  }

  .page-live__partners-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid for mobile */
  }

  /* Image and Video Responsive */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

  /* Specific overrides for small icons if they need to be smaller than 200px and are exceptions */
  .page-live__payment-icon {
    width: 30px !important;
    height: 30px !important;
  }

  .page-live__partner-logo {
    width: 167px !important;
    height: 127px !important;
  }

  /* FAQ specific mobile styles */
  .page-live__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  .page-live__faq-toggle {
    font-size: 1.5em;
  }

  .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__section-title {
    font-size: 1.5em;
  }

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

  .page-live__game-category-title,
  .page-live__promo-title,
  .page-live__security-title,
  .page-live__payment-name,
  .page-live__step-title,
  .page-live__app-subtitle {
    font-size: 1.4em;
  }

  .page-live__partners-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid for smaller mobiles */
  }
}