/* style/live.css */

/* Base styles for the live page */
.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: 40px 20px;
  box-sizing: border-box;
}

.page-live__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

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

/* 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;
  background-color: #0A0A0A; /* Ensure dark background for dark-bg class */
}

.page-live__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
}

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

.page-live__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px;
  z-index: 1;
}

.page-live__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.page-live__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__btn-text {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  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 bright button */
  border: none;
}

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

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

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

.page-live__btn-text {
  background: none;
  border: none;
  color: #FFD36B; /* Glow */
  padding: 5px 10px;
  font-size: 1em;
}

.page-live__btn-text:hover {
  text-decoration: underline;
  color: #FFD86A;
}

/* Overview Section */
.page-live__overview-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

.page-live__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-live__image--full-width {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-live__image--centered {
  margin-left: auto;
  margin-right: auto;
}

/* Featured Games Section */
.page-live__featured-games-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

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

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

.page-live__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

.page-live__game-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  display: inline-block;
}

.page-live__game-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

.page-live__game-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

/* Why Choose Section */
.page-live__why-choose-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

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

.page-live__feature-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
}

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

.page-live__feature-description {
  font-size: 1em;
  color: #FFF6D6;
}

/* Get Started Section */
.page-live__get-started-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

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

.page-live__step-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
}

.page-live__step-number {
  font-size: 2.5em;
  color: #F2C14E; /* Main Color */
  font-weight: bold;
  margin-bottom: 15px;
}

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

.page-live__step-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

/* Bonuses Section */
.page-live__bonuses-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

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

/* Mobile Section */
.page-live__mobile-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

/* Security Section */
.page-live__security-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
  text-align: center;
}

/* FAQ Section */
.page-live__faq-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

.page-live__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-live__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

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

.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); /* Plus sign rotates to form an 'X' or 'minus' */
}

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

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

.page-live__faq-answer p {
  margin-bottom: 0;
  font-size: 0.95em;
}

/* Partners Section */
.page-live__partners-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
}

.page-live__partner-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  width: 160px; /* Adjust to fit 167x127 images */
  box-sizing: border-box;
}

.page-live__partner-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

/* Final CTA Section */
.page-live__cta-final-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
}

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

  .page-live__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

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

  .page-live__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-live__hero-content {
    padding: 20px 15px;
  }

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

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

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

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live__btn-text,
  .page-live a[class*="button"],
  .page-live a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !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: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-live__image,
  .page-live__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-live__video-container,
  .page-live__overview-section,
  .page-live__featured-games-section,
  .page-live__why-choose-section,
  .page-live__get-started-section,
  .page-live__bonuses-section,
  .page-live__mobile-section,
  .page-live__security-section,
  .page-live__faq-section,
  .page-live__partners-section,
  .page-live__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__game-grid,
  .page-live__features-grid,
  .page-live__steps-grid,
  .page-live__partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-live__partner-item {
    width: 100%;
    max-width: 200px; /* Limit individual item width for better layout */
    height: auto;
  }
}

/* Color Contrast Safety */
.page-live__dark-bg {
  background-color: #0A0A0A;
  color: #FFF6D6; /* Text Main */
}

.page-live__dark-section {
  background-color: #0A0A0A;
  color: #FFF6D6; /* Text Main */
}

.page-live__card {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  border: 1px solid #3A2A12; /* Border */
}

.page-live h1, .page-live h2, .page-live h3, .page-live h4, .page-live h5, .page-live h6 {
  color: #F2C14E; /* Main Color for headings */
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Ensure dark text on bright button */
}

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

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

.page-live__btn-text {
  color: #FFD36B;
}

.page-live__faq-question {
  color: #F2C14E;
}

.page-live__faq-answer {
  color: #FFF6D6;
}

.page-live__faq-answer a {
  color: #FFD36B; /* Link color within FAQ answer */
  text-decoration: underline;
}

.page-live__faq-answer a:hover {
  color: #FFD86A;
}