/* style/live.css */

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

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

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

.page-live__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

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

.page-live__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to overlap slightly with image below */
  position: relative;
  z-index: 1;
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-live__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-live__intro-text {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

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

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

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

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

/* Section Titles and Descriptions */
.page-live__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

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

/* General Card Styles */
.page-live__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-live__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-live__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
  display: block;
}

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

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

/* Grid Layouts */
.page-live__grid-three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-live__grid-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* Info Section */
.page-live__info-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

.page-live__dark-section {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

/* Games Section */
.page-live__games-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
}

.page-live__game-card {
  background: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

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

.page-live__game-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
  display: block;
}

.page-live__game-title {
  font-size: 1.6em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-live__game-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-live__other-games {
  margin-top: 50px;
  text-align: center;
}

.page-live__other-games-title {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-live__other-games-text {
  font-size: 1.1em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Sports Section */
.page-live__sports-section {
  padding: 60px 0;
}

.page-live__enhanced-odds {
  margin-top: 50px;
  text-align: center;
}

.page-live__enhanced-odds-title {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-live__enhanced-odds-text {
  font-size: 1.1em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

/* Get Started Section */
.page-live__get-started-section {
  padding: 60px 0;
}

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

.page-live__step-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  color: #FFF6D6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-live__step-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-live__step-text {
  font-size: 1em;
  margin-bottom: 25px;
}

.page-live__step-button {
  width: 100%;
}

/* Responsible Gaming Section */
.page-live__responsible-gaming {
  padding: 60px 0;
  background-color: #111111;
}

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

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

.page-live__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  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;
  color: #FFD36B; /* Glow */
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid transparent; /* To prevent double border when active */
}

.page-live__faq-question:hover {
  background-color: #0A0A0A;
}

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

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

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

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

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

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-live__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

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

  .page-live__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

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

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

  .page-live__grid-three-col,
  .page-live__grid-two-col,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-live__card-image,
  .page-live__game-image {
    max-height: 200px;
  }

  .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,
  .page-live__hero-section,
  .page-live__info-section,
  .page-live__games-section,
  .page-live__sports-section,
  .page-live__why-choose-section,
  .page-live__get-started-section,
  .page-live__responsible-gaming,
  .page-live__faq-section,
  .page-live__faq-list,
  .page-live__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-live__hero-section {
    padding-top: 10px !important; /* Rely on body padding for header offset */
  }

  .page-live__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

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