/* style/sports.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

/* Video Section */
.page-sports__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust for fixed header */
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
}

.page-sports__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-sports__video,
.page-sports__video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
}

/* Hero Section */
.page-sports__hero-section {
  text-align: center;
  padding: 120px 20px 80px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, #0A246A 0%, #061536 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-sports__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #f0f0f0;
}

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

.page-sports__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-primary {
  background: #FFD700;
  color: #0A246A;
  border: 2px solid #FFD700;
}

.page-sports__btn-primary:hover {
  background: #e0b900;
  border-color: #e0b900;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

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

.page-sports__btn-secondary:hover {
  background: #FFD700;
  color: #0A246A;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-sports__center-cta {
    text-align: center;
    margin-top: 40px;
}

/* General Section Styling */
.page-sports__why-us-section,
.page-sports__betting-options-section,
.page-sports__live-betting-section,
.page-sports__promotions-section,
.page-sports__get-started-section,
.page-sports__app-section,
.page-sports__security-section,
.page-sports__faq-section,
.page-sports__blog-section {
  padding: 80px 20px;
}

.page-sports__dark-section {
  background: #0A246A;
  color: #ffffff;
}

.page-sports__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-sports__dark-section h2, .page-sports__dark-section h3 {
    color: #FFD700;
}

.page-sports__light-bg h2, .page-sports__light-bg h3 {
    color: #0A246A;
}

.page-sports__why-us-container,
.page-sports__betting-options-container,
.page-sports__live-betting-container,
.page-sports__promotions-container,
.page-sports__get-started-container,
.page-sports__app-container,
.page-sports__security-container,
.page-sports__faq-container,
.page-sports__blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-sports__why-us-title,
.page-sports__betting-options-title,
.page-sports__live-betting-title,
.page-sports__promotions-title,
.page-sports__get-started-title,
.page-sports__app-title,
.page-sports__security-title,
.page-sports__faq-main-title,
.page-sports__blog-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-sports__why-us-description,
.page-sports__betting-options-description,
.page-sports__live-betting-description,
.page-sports__promotions-description,
.page-sports__get-started-description,
.page-sports__app-description,
.page-sports__security-description,
.page-sports__blog-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.page-sports__card {
  background: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

.page-sports__dark-section .page-sports__card {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-sports__dark-section .page-sports__card h3 {
    color: #FFD700;
}

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

/* Why Us Section */
.page-sports__why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports__why-us-icon {
  width: 150px; /* Min size requirement */
  height: 150px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-sports__why-us-item-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Betting Options Section */
.page-sports__betting-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports__betting-option-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.page-sports__betting-option-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}

.page-sports__betting-option-card h3 {
  padding: 0 20px;
  margin-top: 0;
  font-size: 1.4em;
}

.page-sports__betting-option-card p {
  padding: 0 20px 20px;
  font-size: 1em;
}

/* Live Betting Section */
.page-sports__live-betting-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-sports__live-betting-content {
  flex: 1;
}

.page-sports__live-betting-title {
  text-align: left;
}

.page-sports__live-betting-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

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

.page-sports__live-betting-features li {
  margin-bottom: 10px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  color: #333333;
}

.page-sports__live-betting-features li .icon-check {
  color: #0A246A;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-sports__live-betting-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-sports__live-betting-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Promotions Section */
.page-sports__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports__promotion-card {
  padding: 0;
  overflow: hidden;
}

.page-sports__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}

.page-sports__promotion-title {
  padding: 0 20px;
  margin-top: 0;
  font-size: 1.4em;
}

.page-sports__promotion-card p {
  padding: 0 20px 20px;
  font-size: 1em;
}

/* Get Started Section */
.page-sports__get-started-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports__step-item {
  padding-bottom: 20px;
}

.page-sports__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0A246A;
  color: #ffffff;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-sports__step-item .page-sports__cta-button {
  margin-top: auto; /* Push button to bottom */
}

/* App Section */
.page-sports__app-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-sports__app-content {
  flex: 1;
}

.page-sports__app-title {
  text-align: left;
}

.page-sports__app-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

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

.page-sports__app-features li {
  margin-bottom: 10px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  color: #f0f0f0;
}

.page-sports__app-features li .icon-check {
  color: #FFD700;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-sports__app-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-sports__app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-sports__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-sports__security-item-title {
  font-size: 1.5em;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-sports__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1a3c7c; /* Darker blue for question */
  border: 1px solid #2a5298;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-sports__faq-question:hover {
  background: #2a5298;
  border-color: #3a68b0;
}

.page-sports__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-sports__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #061536;
  border-radius: 0 0 8px 8px;
  color: #f0f0f0;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Change to X or rotate */
}

/* Blog Section */
.page-sports__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports__blog-item {
  padding: 0;
  text-align: left;
}

.page-sports__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.page-sports__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}

.page-sports__blog-item-title {
  font-size: 1.4em;
  margin: 0 20px 10px;
  color: #0A246A;
  line-height: 1.4;
}

.page-sports__blog-item-excerpt {
  font-size: 0.95em;
  color: #666666;
  margin: 0 20px 15px;
}

.page-sports__blog-item-date {
  font-size: 0.85em;
  color: #999999;
  margin: 0 20px 20px;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__main-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__why-us-title,
  .page-sports__betting-options-title,
  .page-sports__live-betting-title,
  .page-sports__promotions-title,
  .page-sports__get-started-title,
  .page-sports__app-title,
  .page-sports__security-title,
  .page-sports__faq-main-title,
  .page-sports__blog-title {
    font-size: 2.2em;
  }
  .page-sports__live-betting-container,
  .page-sports__app-container {
    flex-direction: column;
    text-align: center;
  }
  .page-sports__live-betting-title,
  .page-sports__live-betting-description,
  .page-sports__app-title,
  .page-sports__app-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .page-sports__live-betting-features,
  .page-sports__app-features {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }
  .page-sports__app-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* Fixed header spacing for mobile */
  .page-sports__video-section {
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__hero-section {
    padding-top: 100px; /* Mobile: Adjust for fixed header */
    padding-bottom: 60px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__main-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-sports__why-us-section,
  .page-sports__betting-options-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__get-started-section,
  .page-sports__app-section,
  .page-sports__security-section,
  .page-sports__faq-section,
  .page-sports__blog-section {
    padding: 60px 15px;
  }
  .page-sports__why-us-title,
  .page-sports__betting-options-title,
  .page-sports__live-betting-title,
  .page-sports__promotions-title,
  .page-sports__get-started-title,
  .page-sports__app-title,
  .page-sports__security-title,
  .page-sports__faq-main-title,
  .page-sports__blog-title {
    font-size: 1.8em;
  }
  .page-sports__why-us-description,
  .page-sports__betting-options-description,
  .page-sports__live-betting-description,
  .page-sports__promotions-description,
  .page-sports__get-started-description,
  .page-sports__app-description,
  .page-sports__security-description,
  .page-sports__blog-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-sports__why-us-grid,
  .page-sports__betting-options-grid,
  .page-sports__promotions-grid,
  .page-sports__get-started-steps,
  .page-sports__security-features,
  .page-sports__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__card {
    padding: 20px;
  }
  .page-sports__betting-option-image,
  .page-sports__promotion-image,
  .page-sports__blog-image {
    height: 180px;
  }
  .page-sports__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-sports__faq-question h3 {
    font-size: 1.1em;
    width: calc(100% - 40px);
  }
  .page-sports__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-sports__faq-answer {
    padding: 0 15px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px !important;
  }
  /* All images responsive */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__video-container,
  .page-sports__hero-container,
  .page-sports__why-us-container,
  .page-sports__betting-options-container,
  .page-sports__live-betting-container,
  .page-sports__promotions-container,
  .page-sports__get-started-container,
  .page-sports__app-container,
  .page-sports__security-container,
  .page-sports__faq-container,
  .page-sports__blog-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Icon for list items (example, assuming an icon font or background image) */
.icon-check::before {
    content: '\2713'; /* Unicode checkmark */
    margin-right: 8px;
    color: inherit; /* Use parent's color */
}