/* style/live-scores.css */

/* Base Styles */
.page-live-scores {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #1a1a1a, so text is light */
  background-color: #1a1a1a; /* Ensure consistency with body background */
}

.page-live-scores__section {
  padding: 60px 20px;
  text-align: center;
}

.page-live-scores__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-live-scores__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-live-scores__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-live-scores__section-title--light {
  color: #ffffff;
}

.page-live-scores__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-live-scores__paragraph--light {
  color: #ffffff;
}

.page-live-scores__btn-primary,
.page-live-scores__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  margin: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-live-scores__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-live-scores__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-live-scores__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-live-scores__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

/* Specific button colors for register/login */
.page-live-scores__register-btn {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-live-scores__register-btn:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-live-scores__login-btn {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-live-scores__login-btn:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-live-scores__download-btn {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-live-scores__download-btn:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-live-scores__image-wrapper {
  margin: 40px auto;
  max-width: 1000px;
}

.page-live-scores__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-live-scores__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-live-scores__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-live-scores__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-live-scores__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

.page-live-scores__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-live-scores__intro-text {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Live Updates Section */
.page-live-scores__live-updates-section {
  background-color: #1a1a1a;
}

.page-live-scores__score-display {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Betting Guide Section */
.page-live-scores__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live-scores__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-live-scores__guide-item strong {
  color: #FFFF00;
}

/* Video Section */
.page-live-scores__video-section {
  background-color: #1a1a1a;
  padding-top: 60px; /* Default for desktop, adjusted for mobile if needed */
}

.page-live-scores__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 8px;
}

.page-live-scores__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

/* FAQ Section */
.page-live-scores__faq-section {
  background-color: #1a1a1a;
}

.page-live-scores__faq-list {
  margin-top: 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live-scores__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-live-scores__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #017439;
  color: #ffffff;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-live-scores__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

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

.page-live-scores__faq-item.active .page-live-scores__faq-toggle {
  transform: rotate(45deg);
}

.page-live-scores__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-live-scores__faq-item.active .page-live-scores__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px;
}

.page-live-scores__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

/* CTA Section */
.page-live-scores__cta-section {
  background-color: #017439;
  padding: 80px 20px;
}

.page-live-scores__cta-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.page-live-scores__cta-buttons {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-live-scores__cta-image {
  margin-top: 40px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live-scores__main-title {
    font-size: 3em;
  }
  .page-live-scores__intro-text {
    font-size: 1.2em;
  }
}

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

  .page-live-scores__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-live-scores__main-title {
    font-size: 2.2em;
  }

  .page-live-scores__intro-text {
    font-size: 1em;
  }

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

  .page-live-scores__paragraph {
    font-size: 1em;
  }

  .page-live-scores__btn-primary,
  .page-live-scores__btn-secondary {
    width: calc(100% - 30px); /* Full width with padding */
    margin: 10px 0;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live-scores__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-live-scores img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-live-scores__image-wrapper,
  .page-live-scores__video-wrapper,
  .page-live-scores__score-display,
  .page-live-scores__guide-list,
  .page-live-scores__faq-list,
  .page-live-scores__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-live-scores__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-live-scores video,
  .page-live-scores__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-live-scores__video-wrapper {
    padding-bottom: 75%; /* Adjust for common mobile video aspect ratios if needed, or keep 16:9 */
  }
  
  .page-live-scores__faq-question,
  .page-live-scores__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-live-scores__main-title {
    font-size: 1.8em;
  }
  .page-live-scores__section-title {
    font-size: 1.5em;
  }
  .page-live-scores__hero-section {
    min-height: 400px;
  }
}