/* style/sports.css */

/* --- Base Styles for Page Sports --- */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Inherit from body or shared.css */
  padding-top: 120px; /* Desktop: Ensure content is below fixed header */
}

/* --- Section Resets --- */
.page-sports__section-title {
  font-size: 38px;
  font-weight: bold;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-sports__description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #cccccc;
}

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

/* --- Card Styles --- */
.page-sports__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0; /* Light text */
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

/* --- Button Styles --- */
.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-sports__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  max-width: 100%; /* Ensure responsive */
  box-sizing: border-box; /* Ensure responsive */
}

.page-sports__btn-primary {
  background: #FFD700; /* Gold button */
  color: #1A202C; /* Dark text for gold button */
  border: 2px solid #FFD700;
}

.page-sports__btn-primary:hover {
  background: #e6c200;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.page-sports__btn-secondary {
  background: #1A202C; /* Dark blue-gray button */
  color: #FFD700; /* Gold text for dark button */
  border: 2px solid #FFD700;
}

.page-sports__btn-secondary:hover {
  background: #2c3447;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* --- Image Responsive Base --- */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Specific Section Styles --- */

/* Video Section */
.page-sports__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust for fixed header */
  background: #121212; /* Match body background */
}

.page-sports__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

.page-sports__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-sports__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-sports__video-link:hover .page-sports__video-overlay {
  opacity: 1;
}

.page-sports__video-click-hint {
  color: #1A202C; /* Dark text for gold hint */
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  padding: 12px 25px;
  background: rgba(255, 215, 0, 0.8); /* Gold with transparency */
  border-radius: 5px;
  white-space: nowrap;
}

.page-sports__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-sports__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700;
  color: #1A202C;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.page-sports__play-now-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-sports__hero-section {
  padding: 80px 20px;
  text-align: center;
  background: #1A202C; /* Dark blue-gray background */
  color: #f0f0f0;
}

.page-sports__main-title {
  font-size: 48px;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Features Section */
.page-sports__features-section {
  padding: 80px 20px;
  background: #121212; /* Match body background */
}

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

.page-sports__feature-item {
  text-align: center;
}

.page-sports__feature-image {
  width: 100%;
  max-width: 300px;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__feature-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

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

/* Categories Section */
.page-sports__categories-section {
  padding: 80px 20px;
  background: #1A202C; /* Dark blue-gray background */
  color: #f0f0f0;
}

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

.page-sports__category-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-sports__category-image {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.page-sports__category-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-sports__category-text {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 20px;
  min-height: 75px; /* Ensure consistent height for text */
}

.page-sports__category-button {
  width: 100%;
  padding: 10px 20px;
  font-size: 16px;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 80px 20px;
  background: #121212; /* Match body background */
}

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

.page-sports__guide-item {
  text-align: center;
}

.page-sports__guide-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__guide-text {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 25px;
  min-height: 90px; /* Ensure consistent height */
}


/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 20px;
  background: #1A202C; /* Dark blue-gray background */
  color: #f0f0f0;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}