/* style/sports.css */

/* Base styles for the sports page */
.page-sports {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

/* Fixed header spacing - body padding-top is handled by shared.css */
.page-sports__hero-section {
  padding-top: 10px; /* Small top spacing for the hero section, body handles main offset */
  padding-bottom: 80px;
  background-color: #0A0A0A; /* Ensure consistent background */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 0; /* Ensure image is behind content if any overlap */
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Ensure minimum size */
  max-height: 700px; /* Max height for hero image */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -100px; /* Pull content up slightly over the bottom of the image */
  background-color: rgba(10, 10, 10, 0.8); /* Semi-transparent dark background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}


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

.page-sports__section-title {
  font-size: 2.8em;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-sports__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* H1 clamp for responsiveness */
  color: #FFD36B; /* Auxiliary color for impact */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-sports__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast */
  border: none;
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #FFE080 0%, #E8B42D 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-sports__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Border color */
}

.page-sports__btn-secondary:hover {
  background: #F2C14E;
  color: #111111; /* Dark text for contrast */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-sports__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
}

/* General Section Styling */
.page-sports__why-choose-section,
.page-sports__categories-section,
.page-sports__how-to-start-section,
.page-sports__live-betting-section,
.page-sports__promotions-section,
.page-sports__responsible-gaming-section,
.page-sports__faq-section,
.page-sports__cta-section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-sports__why-choose-section,
.page-sports__how-to-start-section,
.page-sports__promotions-section,
.page-sports__responsible-gaming-section,
.page-sports__faq-section,
.page-sports__cta-section {
  background-color: #0A0A0A; /* Background */
}

.page-sports__categories-section {
  background-color: #111111; /* Card BG for contrast */
}

/* Card Styling */
.page-sports__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

.page-sports__card-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main color */
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

.page-sports__feature-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-width: 400px; /* Max width for content images */
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Min size for content images */
}

/* Category Grid */
.page-sports__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.page-sports__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  text-decoration: none;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-sports__category-card:hover {
  transform: translateY(-5px);
  background-color: rgba(242, 193, 78, 0.1);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-sports__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  object-fit: contain;
}

.page-sports__category-name {
  color: #FFF6D6; /* Text Main */
  font-size: 1em;
  font-weight: bold;
  text-align: center;
}

/* How to Start Section */
.page-sports__step-card {
  position: relative;
  padding-top: 60px; /* Space for step number */
}

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

/* Live Betting Section */
.page-sports__live-betting-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background-color: #111111; /* Card BG */
  padding: 80px 40px;
  border-radius: 10px;
}

.page-sports__live-betting-content {
  flex: 1;
  min-width: 300px;
}

.page-sports__live-betting-content .page-sports__section-title {
  text-align: left;
}

.page-sports__live-betting-content .page-sports__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
}

.page-sports__live-betting-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Max width for content images */
  border-radius: 10px;
  object-fit: cover;
  min-height: 200px; /* Min size for content images */
}

/* Promotions Section */
.page-sports__promo-image {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-width: 400px; /* Max width for content images */
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Min size for content images */
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-content {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: center;
}

.page-sports__responsible-gaming-content p {
  margin-bottom: 30px;
  color: #FFF6D6;
}

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