/* style/sports.css */

/* Base styles for the sports page */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main color */
  background-color: #0A0A0A; /* Background color */
  /* body already handles padding-top from --header-offset */
}

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

/* Section padding */
.page-sports__hero-section,
.page-sports__about-section,
.page-sports__categories-section,
.page-sports__live-betting-section,
.page-sports__promotions-section,
.page-sports__getting-started-section,
.page-sports__partners-section,
.page-sports__faq-section,
.page-sports__cta-final-section {
  padding: 60px 0;
  position: relative;
}

/* Small top padding for the first content section, as body handles header offset */
.page-sports__hero-section {
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden; /* Ensure no overflow from images */
}

/* Hero Section */
.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for aesthetic */
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-sports__hero-content {
  max-width: 900px;
  width: 100%; /* Ensure it takes full width within max-width */
  padding: 0 20px;
  box-sizing: border-box;
}

.page-sports__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #FFF6D6; /* Text Main color */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-sports__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main color */
}

.page-sports__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 500px; /* Limit button group width */
  margin: 0 auto;
}

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  box-sizing: border-box;
  text-align: center;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast on bright button */
  border: none;
}

.page-sports__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4); /* Glow color shadow */
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #FFD36B; /* Glow color for secondary button text */
  border: 2px solid #FFD36B; /* Glow color border */
}

.page-sports__btn-secondary:hover {
  background-color: #FFD36B; /* Glow color background on hover */
  color: #111111; /* Dark text for contrast */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4); /* Glow color shadow */
}

.page-sports__btn-link {
  background-color: transparent;
  color: #FFD36B; /* Glow color for link buttons */
  border: 1px solid #3A2A12; /* Border color */
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-sports__btn-link:hover {
  background-color: #3A2A12; /* Border color background on hover */
  color: #FFF6D6; /* Text Main color */
}

.page-sports__btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* General Titles */
.page-sports__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #FFF6D6; /* Text Main color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #F2C14E; /* Main color */
  border-radius: 2px;
}

.page-sports__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
}

.page-sports__text-block {
  font-size: 1.05rem;
  color: #FFF6D6; /* Text Main color */
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.page-sports__about-section .page-sports__text-block {
  text-align: left;
}
.page-sports__about-section .page-sports__text-block:last-of-type {
  margin-bottom: 0;
}

/* Categories Section */
.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-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__category-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-sports__category-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__category-description {
  font-size: 0.95rem;
  color: #FFF6D6; /* Text Main color */
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

/* Live Betting Section */
.page-sports__live-betting-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-sports__live-betting-image {
  flex: 1;
  min-width: 300px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__live-betting-text {
  flex: 1;
  min-width: 300px;
  color: #FFF6D6; /* Text Main color */
}

.page-sports__feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-sports__feature-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1rem;
}

.page-sports__feature-list li::before {
  content: '✓';
  color: #FFD36B; /* Glow color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

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