/* style/sports.css */

/* General Styles for .page-sports scope */
.page-sports {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #f8f8f8; /* Light background for the page content */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Setting padding-top here */
}

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

.page-sports__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports__section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-sports__section-text {
  font-size: 16px;
  color: #333333;
  text-align: justify;
  margin-bottom: 20px;
}

/* Buttons */
.page-sports__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: break-word; /* Allow text to wrap for responsiveness */
  box-sizing: border-box;
}

.page-sports__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #000000; /* Black text on gold */
  border: 2px solid #FFD700;
}

.page-sports__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

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

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

.page-sports__btn--small {
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 6px;
}

.page-sports__btn--large {
  font-size: 20px;
  padding: 15px 30px;
  border-radius: 10px;
  width: auto;
  min-width: 250px;
}

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

/* HERO Section */
.page-sports__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #000000, #333333); /* Dark background for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 0; /* Hero itself should not add more padding, as padding is on .page-sports */
}

.page-sports__hero-content-wrapper {
  max-width: 600px;
  padding: 0 40px;
  text-align: left;
  z-index: 1;
}

.page-sports__hero-title {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #FFD700; /* Gold title */
  line-height: 1.1;
}

.page-sports__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.5;
}

.page-sports__hero-cta-buttons {
  display: flex;
  gap: 20px;
}

.page-sports__hero-image-wrapper {
  flex-shrink: 0;
  width: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-sports__intro-section {
  padding: 80px 0;
  background-color: #ffffff;
}

/* Game Types Section */
.page-sports__game-types-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

.page-sports__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
  border: 1px solid #e0e0e0;
}

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

.page-sports__card-image-wrapper {
  width: 100%;
  height: 220px; /* Fixed height for consistent card appearance */
  overflow: hidden;
}

.page-sports__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-sports__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin: 20px 20px 10px 20px;
}

.page-sports__card-text {
  font-size: 15px;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Features Section */
.page-sports__features-section {
  padding: 80px 0;
  background-color: #000000; /* Dark section background */
  color: #ffffff; /* Light text for dark background */
}

.page-sports__features-section .page-sports__section-title {
  color: #FFD700; /* Gold title on dark background */
}

.page-sports__features-section .page-sports__section-description {
  color: #cccccc;
}

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

.page-sports__feature-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-sports__feature-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.page-sports__feature-icon-wrapper {
  margin-bottom: 20px;
  display: inline-block;
}

.page-sports__feature-icon {
  width: 200px; /* Changed to 200px */
  height: 200px; /* Changed to 200px */
  object-fit: contain;
}

.page-sports__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD700; /* Gold title */
  margin-bottom: 15px;
}

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

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

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