/* style/sports.css */

/* General page styling */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #000; /* Ensure consistency with body background */
}

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

.page-sports__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__section-description,
.page-sports__paragraph {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__text-light {
  color: #ffffff;
}

.page-sports__text-gold {
  color: #FFD700;
}

/* Dark background elements */
.page-sports__dark-bg {
  background-color: #000;
  color: #ffffff;
}

.page-sports__dark-section {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-sports__btn-primary {
  background-color: #B22222; /* Main brand color */
  color: #ffffff;
  border: 2px solid #B22222;
}

.page-sports__btn-primary:hover {
  background-color: #FFD700; /* Gold hover */
  color: #000;
  border-color: #FFD700;
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700; /* Gold border */
  margin-left: 20px;
}

.page-sports__btn-secondary:hover {
  background-color: #FFD700;
  color: #000;
}

.page-sports__hero-cta-buttons,
.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-sports__card-link {
  display: inline-block;
  margin-top: 15px;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-sports__card-link:hover {
  color: #ffffff;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 80vh; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  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.7); /* Dark overlay for text readability */
  z-index: 2;
}

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

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

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

/* Intro Video Section */
.page-sports__intro-video-section {
  padding: 80px 0;
  text-align: center;
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-sports__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-sports__video-cta {
    margin-top: 30px;
}

/* Features Section */
.page-sports__features-section {
  padding: 80px 0;
  background-color: #000;
}

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

.page-sports__feature-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white card */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
}

.page-sports__feature-card:hover {
  transform: translateY(-10px);
  background-color: #B22222; /* Main brand color on hover */
}

.page-sports__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 0; /* No border-radius for icons as per new rules */
}

.page-sports__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Categories Section */
.page-sports__categories-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-sports__category-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
  text-align: center;
}

.page-sports__category-item:hover {
  transform: translateY(-10px);
  background-color: #B22222;
}

.page-sports__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-sports__category-item .page-sports__card-title {
  padding: 15px 10px 0;
}

.page-sports__category-item .page-sports__card-description {
  padding: 0 15px 20px;
  margin-bottom: 0;
}

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

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

.page-sports__live-betting-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

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

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

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

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

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