/* General styles */
.page-sports {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-main, #1F2D3D); /* Default text color, assuming light body background */
  background-color: var(--page-bg, #F4F7FB); /* Background color from custom palette */
}

.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: 700;
  color: var(--text-main, #1F2D3D);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-sports__section-description {
  font-size: 18px;
  color: var(--text-main, #1F2D3D);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-sports__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
  max-width: 100%; /* For responsive */
  box-sizing: border-box; /* For responsive */
  white-space: normal; /* For responsive */
  word-wrap: break-word; /* For responsive */
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-sports__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  background: #ffffff;
  color: #2F6BFF;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #2F6BFF;
  cursor: pointer;
  max-width: 100%; /* For responsive */
  box-sizing: border-box; /* For responsive */
  white-space: normal; /* For responsive */
  word-wrap: break-word; /* For responsive */
}

.page-sports__btn-secondary:hover {
  background: #f0f5ff;
  color: #1a56cc;
  border-color: #1a56cc;
}

/* Hero Section */
.page-sports__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  background-color: var(--background, #F4F7FB);
  text-align: center;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-sports__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.page-sports__hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 20px;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-sports__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* For responsive */
  max-width: 100%; /* For responsive */
  box-sizing: border-box;
  overflow: hidden;
}

/* Categories Section */
.page-sports__categories-section {
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-sports__category-card {
  background: var(--card-bg, #FFFFFF);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-sports__category-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 10px;
}

.page-sports__category-text {
  font-size: 15px;
  color: var(--text-main, #1F2D3D);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Section */
.page-sports__why-choose-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--background, #F4F7FB);
}

.page-sports__why-choose-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-sports__why-choose-text {
  flex: 1;
  text-align: left;
}

.page-sports__why-choose-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 25px;
}

.page-sports__why-choose-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-sports__why-choose-list li {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
}

.page-sports__why-choose-list li::before {
  content: '✔';
  color: #2F6BFF;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-sports__why-choose-image-wrapper {
  flex: 1;
  max-width: 50%;
}

.page-sports__why-choose-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Live Betting Section */
.page-sports__live-betting-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #2F6BFF, #6FA3FF); /* Using brand colors for a gradient background */
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-sports__live-betting-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__live-betting-content .page-sports__section-title {
  font-size: 42px;
  margin-bottom: 20px;
}

.page-sports__live-betting-content .page-sports__section-description {
  font-size: 19px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-sports__live-betting-image-wrapper {
  max-width: 700px;
  width: 100%;
}