/* style/sports.css */

/* Variables */
:root {
  --page-sports-primary-color: #017439;
  --page-sports-secondary-color: #FFFFFF;
  --page-sports-text-dark: #333333;
  --page-sports-text-light: #ffffff;
  --page-sports-bg-dark: #1a1a2e; /* From body background */
  --page-sports-bg-light: #f8f9fa;
  --page-sports-register-btn-bg: #C30808;
  --page-sports-login-btn-bg: #C30808;
  --page-sports-login-register-text: #FFFF00;
}

/* Base styles for the page content */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-sports-text-light); /* Default text color for dark body background */
  background-color: var(--page-sports-bg-dark);
}

/* Sections */
.page-sports__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  color: var(--page-sports-text-light);
  background-color: var(--page-sports-primary-color);
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Darken image for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-sports-text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--page-sports-text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-sports__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: var(--page-sports-primary-color);
}

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

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

.page-sports__intro-section,
.page-sports__guide-section,
.page-sports__security-section,
.page-sports__faq-section {
  background-color: var(--page-sports-bg-light);
  color: var(--page-sports-text-dark);
  padding: 80px 0;
}

.page-sports__intro-section .page-sports__section-title,
.page-sports__guide-section .page-sports__section-title,
.page-sports__security-section .page-sports__section-title,
.page-sports__faq-section .page-sports__section-title {
  color: var(--page-sports-primary-color);
}

.page-sports__intro-section .page-sports__section-description,
.page-sports__guide-section .page-sports__section-description,
.page-sports__security-section .page-sports__section-description,
.page-sports__faq-section .page-sports__section-description {
  color: var(--page-sports-text-dark);
}

.page-sports__betting-options-section,
.page-sports__promo-section {
  background-color: var(--page-sports-primary-color);
  color: var(--page-sports-text-light);
  padding: 80px 0;
}

.page-sports__betting-options-section .page-sports__section-title,
.page-sports__promo-section .page-sports__section-title {
  color: var(--page-sports-text-light);
}

.page-sports__betting-options-section .page-sports__section-description,
.page-sports__promo-section .page-sports__section-description {
  color: var(--page-sports-text-light);
}

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

.page-sports__feature-item {
  background-color: var(--page-sports-secondary-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-sports__feature-title {
  font-size: 1.5em;
  color: var(--page-sports-primary-color);
  margin-bottom: 15px;
}

.page-sports__feature-text {
  color: var(--page-sports-text-dark);
}

/* Image Gallery */
.page-sports__image-gallery {
  margin: 50px auto;
  text-align: center;
}

.page-sports__gallery-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Grid Content (for betting options) */
.page-sports__grid-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports__grid-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--page-sports-text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-sports__grid-title {
  font-size: 1.5em;
  color: var(--page-sports-secondary-color);
  margin-bottom: 15px;
}

.page-sports__grid-text {
  color: var(--page-sports-text-light);
}

/* Guide Section */
.page-sports__image-block {
  margin: 50px auto;
  text-align: center;
}