.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* Light background for the page */
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

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

.page-sports__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color, #0047AB);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-sports__section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__text-link {
  color: var(--primary-color, #0047AB);
  text-decoration: underline;
  font-weight: bold;
}

.page-sports__text-link:hover {
  color: var(--secondary-color, #FFD700);
}

/* Buttons */
.page-sports__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color, #0047AB);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary:hover {
  background: var(--secondary-color, #FFD700);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: #ffffff;
  color: var(--primary-color, #0047AB);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--primary-color, #0047AB);
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-secondary:hover {
  background: var(--primary-color, #0047AB);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
}

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

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

.page-sports__hero-container {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-sports__hero-title {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-sports__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-sports__hero-cta {
  font-size: 20px;
  padding: 18px 45px;
}

/* Advantages Section */
.page-sports__advantages-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-sports__advantage-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-sports__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-sports__advantage-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__advantage-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color, #0047AB);
  margin-bottom: 15px;
}

.page-sports__advantage-text {
  font-size: 16px;
  color: #666666;
}

/* Popular Sports Section */
.page-sports__popular-sports-section {
  padding: 80px 0;
  background-color: var(--primary-color, #0047AB);
  color: #ffffff;
}

.page-sports__popular-sports-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__popular-sports-section .page-sports__section-description {
  color: #f0f0f0;
}

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

.page-sports__sport-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

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

.page-sports__sport-card-title {
  font-size: 26px;
  font-weight: bold;
  color: var(--primary-color, #0047AB);
  margin-bottom: 15px;
}

.page-sports__sport-card-text {
  font-size: 16px;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-sports__live-betting-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

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

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

.page-sports__live-betting-text .page-sports__section-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 {
  font-size: 18px;
  color: #333333;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-sports__live-betting-features li::before {
  content: '✔';
  color: var(--secondary-color, #FFD700);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.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 25px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: var(--primary-color, #0047AB);
  color: #ffffff;
}

.page-sports__promotions-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__promotions-section .page-sports__section-description {
  color: #f0f0f0;
}

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

.page-sports__promotion-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

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

.page-sports__promotion-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color, #0047AB);
  margin-bottom: 15px;
}

.page-sports__promotion-text {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__view-all-promotions {
  margin-top: 50px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Get Started Section */
.page-sports__get-started-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-sports__get-started-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-sports__get-started-text {
  flex: 1;
}

.page-sports__get-started-text .page-sports__section-title {
  text-align: left;
}

.page-sports__get-started-text .page-sports__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-sports__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-sports__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.page-sports__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--secondary-color, #FFD700);
  color: #000000;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  margin-right: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-sports__step-detail h3 {
  font-size: 22px;
  color: var(--primary-color, #0047AB);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-sports__step-detail p {
  font-size: 16px;
  color: #666666;
  margin-bottom: 15px;
}

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

.page-sports__get-started-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* App Download Section */
.page-sports__app-download-section {
  padding: 80px 0;
  background-color: var(--primary-color, #0047AB);
  color: #ffffff;
}

.page-sports__app-download-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__app-download-section .page-sports__section-description {
  color: #f0f0f0;
}

.page-sports__app-download-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-sports__app-download-text {
  flex: 1;
}

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

.page-sports__app-download-text .page-sports__section-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 {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-sports__app-features li::before {
  content: '✔';
  color: var(--secondary-color, #FFD700);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-sports__app-buttons .page-sports__btn-primary,
.page-sports__app-buttons .page-sports__btn-secondary {
  flex-grow: 1;
  max-width: 250px;
}

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

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

/* Testimonials Section */
.page-sports__testimonials-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-sports__testimonial-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-sports__testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-sports__testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--secondary-color, #FFD700);
}

.page-sports__testimonial-name {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color, #0047AB);
  margin-bottom: 10px;
}

.page-sports__testimonial-quote {
  font-size: 16px;
  color: #666666;
  font-style: italic;
}

/* Final CTA Section */
.page-sports__cta-final-section {
  padding: 80px 0;
  background-color: var(--primary-color, #0047AB);
  color: #ffffff;
  text-align: center;
}

.page-sports__cta-final-section .page-sports__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-sports__cta-final-section .page-sports__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 44px;
  }
  .page-sports__hero-description {
    font-size: 20px;
  }
  .page-sports__section-title {
    font-size: 30px;
  }
  .page-sports__section-description {
    font-size: 16px;
  }
  .page-sports__live-betting-content,
  .page-sports__get-started-content,
  .page-sports__app-download-content {
    flex-direction: column;
  }
  .page-sports__live-betting-text,
  .page-sports__get-started-text,
  .page-sports__app-download-text {
    text-align: center;
  }
  .page-sports__live-betting-text .page-sports__section-title,
  .page-sports__get-started-text .page-sports__section-title,
  .page-sports__app-download-text .page-sports__section-title {
    text-align: center;
  }
  .page-sports__live-betting-text .page-sports__section-description,
  .page-sports__get-started-text .page-sports__section-description,
  .page-sports__app-download-text .page-sports__section-description {
    text-align: center;
  }
  .page-sports__live-betting-image-wrapper,
  .page-sports__get-started-image-wrapper,
  .page-sports__app-download-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
  .page-sports__app-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-sports {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-sports__container {
    padding: 30px 15px;
  }
  .page-sports__hero-section {
    height: 500px;
    padding: 15px;
  }
  .page-sports__hero-title {
    font-size: 36px;
  }
  .page-sports__hero-description {
    font-size: 18px;
  }
  .page-sports__hero-cta {
    font-size: 16px;
    padding: 15px 30px;
  }
  .page-sports__section-title {
    font-size: 28px;
  }
  .page-sports__section-description {
    font-size: 15px;
  }
  .page-sports__advantages-section,
  .page-sports__popular-sports-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__get-started-section,
  .page-sports__app-download-section,
  .page-sports__testimonials-section,
  .page-sports__cta-final-section {
    padding: 50px 0;
  }
  .page-sports__advantage-item,
  .page-sports__sport-card,
  .page-sports__promotion-card,
  .page-sports__testimonial-card {
    padding: 25px;
  }
  .page-sports__advantage-title,
  .page-sports__sport-card-title,
  .page-sports__promotion-title,
  .page-sports__testimonial-name {
    font-size: 20px;
  }
  .page-sports__advantage-text,
  .page-sports__sport-card-text,
  .page-sports__promotion-text,
  .page-sports__testimonial-quote,
  .page-sports__live-betting-features li,
  .page-sports__app-features li,
  .page-sports__step-detail p {
    font-size: 15px;
  }
  .page-sports__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-sports__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-sports__step-detail h3 {
    font-size: 18px;
  }
  .page-sports__app-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-sports__app-buttons .page-sports__btn-primary,
  .page-sports__app-buttons .page-sports__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* General image, video, button responsive styles */
  .page-sports img,
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__hero-section,
  .page-sports__advantages-section,
  .page-sports__popular-sports-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__get-started-section,
  .page-sports__app-download-section,
  .page-sports__testimonials-section,
  .page-sports__cta-final-section,
  .page-sports__container,
  .page-sports__advantage-item,
  .page-sports__sport-card,
  .page-sports__promotion-card,
  .page-sports__testimonial-card,
  .page-sports__live-betting-content,
  .page-sports__get-started-content,
  .page-sports__app-download-content,
  .page-sports__app-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-sports__live-betting-features,
  .page-sports__app-features,
  .page-sports__steps-list {
    padding-left: 0 !important;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }
  .page-sports__live-betting-features li,
  .page-sports__app-features li {
    padding-left: 30px;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 30px;
  }
  .page-sports__hero-description {
    font-size: 16px;
  }
  .page-sports__section-title {
    font-size: 24px;
  }
  .page-sports__hero-section {
    height: 400px;
  }
  .page-sports__hero-cta {
    padding: 12px 25px;
  }
  .page-sports__app-buttons .page-sports__btn-primary,
  .page-sports__app-buttons .page-sports__btn-secondary {
    font-size: 15px !important;
    padding: 12px 25px !important;
  }
}

/* Color Contrast Adjustments (Intelligent System) */
/* Default page text is dark on light background */
.page-sports__dark-bg {
  background: var(--primary-color, #0047AB);
  color: #ffffff;
}

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

.page-sports__popular-sports-section .page-sports__sport-card .page-sports__btn-secondary {
  background: #ffffff;
  color: var(--primary-color, #0047AB);
  border-color: var(--primary-color, #0047AB);
}

.page-sports__popular-sports-section .page-sports__sport-card .page-sports__btn-secondary:hover {
  background: var(--primary-color, #0047AB);
  color: #ffffff;
}

.page-sports__promotions-section .page-sports__promotion-card {
  background: #ffffff;
  color: #333333;
}

.page-sports__promotions-section .page-sports__promotion-card .page-sports__promotion-title {
  color: var(--primary-color, #0047AB);
}

.page-sports__promotions-section .page-sports__promotion-card .page-sports__promotion-text {
  color: #666666;
}

.page-sports__step-detail h3 a {
  color: var(--primary-color, #0047AB);
}

.page-sports__step-detail h3 a:hover {
  color: var(--secondary-color, #FFD700);
}

.page-sports__testimonial-quote a {
  color: var(--primary-color, #0047AB);
}

.page-sports__testimonial-quote a:hover {
  color: var(--secondary-color, #FFD700);
}