/* style/sports.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background-color: #ffffff; /* Default body background */
}

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

.page-sports__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: #017439; /* Brand color for titles on light backgrounds */
}

.page-sports__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.8;
  color: #555555;
}

.page-sports__subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

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

.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-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

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

.page-sports__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-sports__btn-primary:hover {
  background-color: #005f2c;
  border-color: #005f2c;
}

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

.page-sports__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #017439;
}

.page-sports__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* About Section */
.page-sports__about-section {
  padding: 80px 0;
}

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

.page-sports__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__feature-item:hover {
  transform: translateY(-10px);
}

.page-sports__feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 600px; /* Base size */
  height: 400px; /* Base size */
  object-fit: cover;
}

.page-sports__feature-title {
  font-size: 28px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-sports__feature-text {
  font-size: 16px;
  color: #555555;
}

/* Game Types Section */
.page-sports__game-types-section {
  padding: 80px 0;
  color: #ffffff; /* Text color for dark background */
}

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

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

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

.page-sports__sport-card {
  background-color: #1a1a1a; /* Darker background for cards on dark section */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-sports__sport-card:hover {
  transform: translateY(-10px);
}

.page-sports__sport-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-sports__sport-card .page-sports__sport-title {
  font-size: 24px;
  font-weight: bold;
  padding: 20px;
  color: #ffffff;
  margin: 0;
}

.page-sports__sport-card .page-sports__sport-title a {
  color: #ffffff;
  text-decoration: none;
}

.page-sports__sport-card .page-sports__sport-title a:hover {
  color: #FFFF00;
}

.page-sports__sport-card .page-sports__sport-text {
  font-size: 16px;
  color: #cccccc;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-sports__card-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-sports__card-link:hover {
  color: #FFFF00; /* Yellow for hover on dark background */
}

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

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

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

.page-sports__live-betting-text p {
  margin-bottom: 20px;
  color: #555555;
}

.page-sports__video-wrapper {
  flex: 1;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.page-sports__btn-live-betting {
  margin-top: 30px;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  color: #ffffff;
}

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

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

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

.page-sports__promo-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
}

.page-sports__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-sports__promo-title {
  font-size: 24px;
  font-weight: bold;
  padding: 20px;
  color: #ffffff;
  margin: 0;
}

.page-sports__promo-title a {
  color: #ffffff;
  text-decoration: none;
}

.page-sports__promo-title a:hover {
  color: #FFFF00;
}

.page-sports__promo-text {
  font-size: 16px;
  color: #cccccc;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-sports__promo-cta {
  margin-top: 60px;
}

/* Mobile Betting Section */
.page-sports__mobile-betting-section {
  padding: 80px 0;
}

.page-sports__mobile-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
  flex-direction: row-reverse; /* Image on right, text on left */
}

.page-sports__mobile-text {
  flex: 1;
}

.page-sports__mobile-text p {
  margin-bottom: 20px;
  color: #555555;
}

.page-sports__mobile-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 800px; /* Base size */
  height: 600px; /* Base size */
  object-fit: cover;
}

/* Security Section */
.page-sports__security-section {
  padding: 80px 0;
  color: #ffffff;
}

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

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

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