/* style/sports.css */

/* Base styles for the page content, ensuring contrast with dark body background */
.page-sports {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
  padding-bottom: 60px; /* Space for footer */
}

/* Section styling */
.page-sports__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-sports__dark-bg {
  background-color: #111111; /* Card BG, also used for dark sections */
}

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

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

/* Card styling */
.page-sports__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6; /* Text Main */
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button doesn't overflow */
}

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

.page-sports__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-sports__btn-secondary:hover {
  background-color: #F2C14E; /* Main Color */
  color: #111111; /* Dark text for contrast */
  transform: translateY(-2px);
}

.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container doesn't overflow */
  box-sizing: border-box;
}

.page-sports__cta-center {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}


/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden; /* Ensure no overflow */
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum size */
}

.page-sports__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-sports__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-sports__intro-text {
  font-size: 1.2em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

/* Video Section */
.page-sports__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
  background-color: #0A0A0A; /* Background */
}

.page-sports__video-container {
  width: 100%; /* Desktop width */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  background-color: #000;
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-sports__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.page-sports__video-caption {
  text-align: center;
  margin-top: 30px;
  max-width: 800px;
  color: #FFF6D6; /* Text Main */
}

.page-sports__video-title {
  font-size: 2em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
}

.page-sports__video-description {
  font-size: 1.1em;
}


/* Why Choose Section */
.page-sports__why-choose {
  background-color: #0A0A0A; /* Background */
}

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

.page-sports__feature-card {
  text-align: center;
  padding: 30px;
}

.page-sports__feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: contain;
}

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

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

/* Popular Markets Section */
.page-sports__popular-markets {
  background-color: #111111; /* Card BG */
}

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

.page-sports__market-card {
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__category-icon {
  width: 30px; /* Allowed small icon size */
  height: 30px; /* Allowed small icon size */
  margin-bottom: 15px;
  object-fit: contain;
}

.page-sports__market-title {
  font-size: 1.3em;
  color: #FFD36B; /* Auxiliary Color */
  margin-bottom: 10px;
}

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

/* How to Bet Section */
.page-sports__how-to-bet {
  background-color: #0A0A0A; /* Background */
}

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

.page-sports__step-card {
  text-align: center;
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}