/* style/sports.css */

/* Base styles for the sports page */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #f8f8f8); /* Assuming a light default body background for main content sections */
}

/* Colors based on brand and custom palette */
.page-sports__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-sports__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-sports__btn-primary:hover {
  background-color: #e02020; /* Slightly darker red on hover */
  transform: translateY(-2px);
}

.page-sports__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #C30808; /* Custom color for secondary button text */
  padding: 12px 25px;
  border: 2px solid #C30808;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.page-sports__btn-secondary:hover {
  background-color: #C30808;
  color: #FFFF00;
  transform: translateY(-2px);
}

.page-sports__text-link {
  color: #017439;
  text-decoration: underline;
}

.page-sports__text-link:hover {
  color: #005a2e;
}

/* Container for content sections */
.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Section common styles */
.page-sports section {
  padding: 80px 0;
  text-align: center;
}

.page-sports__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  padding: 180px 0 120px; /* Adjusted padding to accommodate header offset */
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Apply header offset here */
}

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

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

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

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__hero-buttons .page-sports__btn-primary,
.page-sports__hero-buttons .page-sports__btn-secondary {
  margin: 0 10px;
  min-width: 180px;
}

/* Video Section */
.page-sports__video-section {
  padding: 80px 0;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 1000px;
  margin: 40px auto 0;
  background-color: #000;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-sports__video-wrapper .page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

/* Introduction Section */
.page-sports__introduction .page-sports__text-block {
  text-align: left;
  margin-bottom: 25px;
  font-size: 1.05em;
}

.page-sports__image--centered {
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Popular Sports Section */
.page-sports__popular-sports .page-sports__section-title,
.page-sports__popular-sports .page-sports__section-description {
  color: #ffffff;
}

.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: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-sports__sport-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFFF00; /* Highlight title */
}

.page-sports__sport-description {
  font-size: 1em;
  line-height: 1.7;
}

.page-sports__image--full-width {
  width: 100%;
  height: auto;
  margin-top: 60px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-sports__advantage-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-sports__advantage-icon {
  width: 100%; /* Ensure images take full card width */
  max-width: 400px; /* But not larger than their intended size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-sports__advantage-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #017439;
}

.page-sports__advantage-text {
  font-size: 0.95em;
  color: #555555;
}

/* Betting Guide Section */
.page-sports__betting-guide .page-sports__section-title,
.page-sports__betting-guide .page-sports__section-description {
  color: #ffffff;
}

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

.page-sports__step-item {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #C30808;
  margin-bottom: 10px;
}

.page-sports__step-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #017439;
}

.page-sports__step-text {
  font-size: 0.95em;
  color: #555555;
}

/* Promotions Section */
.page-sports__promotions .page-sports__image--full-width {
  margin-bottom: 40px;
}