/* style/sports.css */

/* --- Base Styles --- */
.page-sports {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Desktop fixed header spacing */
}

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

.page-sports__section-title {
  font-size: clamp(2em, 5vw, 2.8em); /* H1 font size rule */
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Main Color */
}

.page-sports__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6; /* Text Main */
}

/* --- Buttons --- */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-tertiary,
.page-sports__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-sports__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-sports__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main Color */
  border: 2px solid #3A2A12; /* Border color */
}

.page-sports__btn-secondary:hover {
  background: #F2C14E; /* Main Color */
  color: #111111;
  border-color: #F2C14E;
}

.page-sports__btn-tertiary {
  background: #3A2A12; /* Border color as background */
  color: #FFF6D6; /* Text Main */
  border: 1px solid #3A2A12;
  font-size: 0.9em;
  padding: 8px 15px;
}

.page-sports__btn-tertiary:hover {
  background: #F2C14E;
  color: #111111;
  border-color: #F2C14E;
}

.page-sports__btn-link {
  background: transparent;
  color: #FFD36B; /* Glow */
  border: none;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-sports__btn-link:hover {
  color: #F2C14E; /* Main Color */
}

.page-sports__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  justify-content: center;
}

.page-sports__cta-buttons--centered {
  justify-content: center;
  margin-top: 50px;
}

/* --- Hero Section --- */
.page-sports__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A0A0A; /* Background */
  padding-bottom: 50px; /* Space below content before next section */
  padding-top: var(--header-offset, 120px); /* Desktop fixed header spacing */
}

.page-sports__hero-image-container {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-sports__hero-content-wrapper {
  padding-top: 40px; /* Space between image and text */
}

.page-sports__hero-content {
  text-align: center;
}

.page-sports__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em); /* H1 font size rule */
  font-weight: 800;
  margin-bottom: 15px;
  color: #F2C14E; /* Main Color */
  line-height: 1.2;
}

.page-sports__lead-text {
  font-size: 1.25em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #FFF6D6; /* Text Main */
  line-height: 1.5;
}

/* --- General Section Styling --- */
.page-sports__why-niceph-section,
.page-sports__popular-sports-section,
.page-sports__how-to-start-section,
.page-sports__promotions-section,
.page-sports__mobile-app-section,
.page-sports__responsible-gaming-section,
.page-sports__faq-section,
.page-sports__cta-banner {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

.page-sports__promotions-section {
  background: linear-gradient(135deg, #0A0A0A 0%, #111111 100%);
}

.page-sports__cta-banner {
  background: linear-gradient(90deg, #F2C14E, #FFD36B); /* Main and Aux colors */
  color: #111111; /* Dark text for bright background */
  text-align: center;
}

.page-sports__cta-banner-title {
  font-size: clamp(2em, 5vw, 3em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #111111;
}

.page-sports__cta-banner-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #111111;
}

.page-sports__btn-primary--large {
  padding: 15px 40px;
  font-size: 1.1em;
}

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

.page-sports__feature-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #FFD36B; /* Glow */
}

.page-sports__feature-icon {
  width: 60px; /* Example size, adjust as needed */
  height: 60px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-sports__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Main Color */
}

.page-sports__feature-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
}

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

.page-sports__sport-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-sports__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #FFD36B; /* Glow */
}

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

.page-sports__sport-card h3,
.page-sports__sport-card p,
.page-sports__sport-card a {
  padding: 0 25px;
}

.page-sports__sport-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #F2C14E; /* Main Color */
}

.page-sports__sport-text {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__sport-card .page-sports__btn-tertiary {
  margin: 0 25px 20px;
  align-self: flex-start;
}

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

.page-sports__step-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-top: 60px;
}

.page-sports__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  border: 3px solid #0A0A0A; /* Background */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-sports__step-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Main Color */
}

.page-sports__step-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

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

.page-sports__promo-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}