/* style/sports-live-betting.css */

/* Base styles for the page */
.page-sports-live-betting {
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches shared.css body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-sports-live-betting__section-title {
  font-size: 2.8em;
  color: #ffc107; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports-live-betting__section-subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-sports-live-betting__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
}

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

.page-sports-live-betting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 123, 255, 0.7), rgba(0, 0, 0, 0.9));
  z-index: 2;
}

.page-sports-live-betting__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

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

.page-sports-live-betting__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  font-weight: 300;
}

.page-sports-live-betting__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-sports-live-betting__btn-primary,
.page-sports-live-betting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports-live-betting__btn-primary {
  background-color: #ffc107;
  color: #000000; /* Dark text for light background */
  border: 2px solid #ffc107;
}

.page-sports-live-betting__btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-sports-live-betting__btn-secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-sports-live-betting__btn-secondary:hover {
  background-color: #ffc107;
  color: #000000;
}

.page-sports-live-betting__btn-text {
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 15px;
  font-size: 1em;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports-live-betting__btn-text:hover {
  color: #007bff;
}

/* Video Section */
.page-sports-live-betting__video-section {
  background-color: #0d0d0d;
  padding: 80px 0;
  text-align: center;
  box-sizing: border-box;
}

.page-sports-live-betting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-sports-live-betting__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-sports-live-betting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

.page-sports-live-betting__video-cta {
  margin-top: 40px;
}

/* Features Section */
.page-sports-live-betting__features-section {
  padding: 80px 0;
  background-color: #007bff; /* Brand primary color for dark section */
  color: #ffffff;
  box-sizing: border-box;
}

.page-sports-live-betting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports-live-betting__feature-card {
  background-color: rgba(0, 0, 0, 0.3); /* Slightly transparent dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-sports-live-betting__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(0, 0, 0, 0.5);
}

.page-sports-live-betting__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
  border-radius: 8px;
  object-fit: cover;
}

.page-sports-live-betting__feature-title {
  font-size: 1.8em;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-sports-live-betting__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Tournaments Section */
.page-sports-live-betting__tournaments-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  box-sizing: border-box;
}

.page-sports-live-betting__tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports-live-betting__tournament-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent light background */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-align: center;
}

.page-sports-live-betting__tournament-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-sports-live-betting__tournament-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports-live-betting__tournament-title {
  font-size: 1.8em;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-sports-live-betting__tournament-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: left;
  padding-left: 20px;
}

.page-sports-live-betting__tournament-list li {
  margin-bottom: 8px;
  position: relative;
}

.page-sports-live-betting__tournament-list li::before {
  content: '•';
  color: #007bff;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* How To Bet Section */
.page-sports-live-betting__how-to-bet-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Dark background */
  color: #ffffff;
  box-sizing: border-box;
}

.page-sports-live-betting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-sports-live-betting__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-sports-live-betting__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 15px;
}

.page-sports-live-betting__step-title {
  font-size: 1.8em;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-sports-live-betting__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Promotions Section */
.page-sports-live-betting__promotions-section {
  padding: 80px 0;
  background-color: #007bff;
  color: #ffffff;
  box-sizing: border-box;
}

.page-sports-live-betting__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-sports-live-betting__promotion-card {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-sports-live-betting__promotion-card:hover {
  transform: translateY(-10px);
  background-color: rgba(0, 0, 0, 0.5);
}

.page-sports-live-betting__promotion-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports-live-betting__promotion-title {
  font-size: 1.8em;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-sports-live-betting__promotion-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-sports-live-betting__cta-bottom {
  text-align: center;
}

/* FAQ Section */
.page-sports-live-betting__faq-section {
  padding: 80px 0;
  background-color: #121212;
  color: #ffffff;
  box-sizing: border-box;
}

.page-sports-live-betting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-sports-live-betting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(0, 123, 255, 0.2); /* Primary color with transparency */
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-sports-live-betting__faq-question:hover {
  background-color: rgba(0, 123, 255, 0.4);
}

.page-sports-live-betting__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

.page-sports-live-betting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

.page-sports-live-betting__faq-item.active .page-sports-live-betting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 20px 25px;
}

.page-sports-live-betting__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports-live-betting__hero-title {
    font-size: 3em;
  }
  .page-sports-live-betting__hero-description {
    font-size: 1.2em;
  }
  .page-sports-live-betting__section-title {
    font-size: 2.5em;
  }
  .page-sports-live-betting__section-subtitle {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-sports-live-betting__hero-section {
    height: 60vh;
    min-height: 400px;
  }
  .page-sports-live-betting__hero-title {
    font-size: 2.2em;
  }
  .page-sports-live-betting__hero-description {
    font-size: 1em;
  }
  .page-sports-live-betting__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports-live-betting__btn-primary,
  .page-sports-live-betting__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }

  .page-sports-live-betting__section-title {
    font-size: 2em;
  }
  .page-sports-live-betting__section-subtitle {
    font-size: 0.9em;
  }
  .page-sports-live-betting__container {
    padding: 0 15px;
  }
  
  /* Mobile responsive images */
  .page-sports-live-betting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive videos */
  .page-sports-live-betting video,
  .page-sports-live-betting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports-live-betting__video-section,
  .page-sports-live-betting__video-container,
  .page-sports-live-betting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-sports-live-betting__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Mobile responsive buttons */
  .page-sports-live-betting__cta-button,
  .page-sports-live-betting__btn-primary,
  .page-sports-live-betting__btn-secondary,
  .page-sports-live-betting a[class*="button"],
  .page-sports-live-betting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports-live-betting__cta-buttons,
  .page-sports-live-betting__button-group,
  .page-sports-live-betting__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;
  }
  .page-sports-live-betting__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-sports-live-betting__features-grid,
  .page-sports-live-betting__tournaments-grid,
  .page-sports-live-betting__steps-grid,
  .page-sports-live-betting__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-sports-live-betting__feature-card,
  .page-sports-live-betting__tournament-card,
  .page-sports-live-betting__step-card,
  .page-sports-live-betting__promotion-card {
    padding: 20px;
  }
  .page-sports-live-betting__faq-question,
  .page-sports-live-betting__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-sports-live-betting__hero-title {
    font-size: 1.8em;
  }
  .page-sports-live-betting__hero-description {
    font-size: 0.9em;
  }
  .page-sports-live-betting__section-title {
    font-size: 1.8em;
  }
  .page-sports-live-betting__section-subtitle {
    font-size: 0.8em;
  }
  .page-sports-live-betting__feature-title,
  .page-sports-live-betting__tournament-title,
  .page-sports-live-betting__step-title,
  .page-sports-live-betting__promotion-title {
    font-size: 1.5em;
  }
}