/* style/sports.css */

/* --- General Styles --- */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__card-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* --- Buttons --- */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-sports__btn-primary {
  background-color: #C30808; /* Specific color for Register/Login */
  color: #FFFF00; /* Specific font color for Register/Login */
  border: 2px solid #C30808;
}

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

.page-sports__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-sports__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* --- Hero Section --- */
.page-sports__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #017439; /* Fallback for video, main brand color */
}

.page-sports__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-sports__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
}

.page-sports__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Additional overlay for contrast */
  z-index: 1;
}

.page-sports__hero-section .page-sports__container {
  position: relative;
  z-index: 2;
  padding-top: 50px; /* Adjust for visual balance after header offset */
  padding-bottom: 50px;
}

.page-sports__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --- Features Section --- */
.page-sports__features-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Lighter dark background */
}

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

.page-sports__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-sports__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 5px; /* Added border-radius for consistency */
}

/* --- Categories Section --- */
.page-sports__categories-section {
  padding: 80px 0;
  background-color: #017439; /* Brand color background */
}

.page-sports__categories-section .page-sports__section-title,
.page-sports__categories-section .page-sports__section-description {
  color: #ffffff;
}

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

.page-sports__category-card {
  background-color: rgba(0, 0, 0, 0.2); /* Darker semi-transparent for contrast */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.page-sports__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__category-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__category-card .page-sports__card-title {
  color: #FFFF00; /* Highlight category titles */
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-sports__category-card .page-sports__card-text {
  flex-grow: 1;
  padding: 0 20px 20px;
  color: #f0f0f0;
}

/* --- Live Betting Section --- */
.page-sports__live-betting-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-sports__live-betting-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-sports__live-betting-text {
  flex: 1;
}

.page-sports__content-heading {
  font-size: 2em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports__bullet-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-sports__bullet-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="%23017439" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-sports__list-highlight {
  color: #FFFF00; /* Highlight text in lists */
}

.page-sports__live-betting-image-wrapper {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-sports__live-betting-image {
  width: 100%;
  height: auto;
  display: block;
}

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

.page-sports__promotions-section .page-sports__section-title,
.page-sports__promotions-section .page-sports__section-description {
  color: #ffffff;
}

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

.page-sports__promo-card {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px; /* Space for button */
  display: flex;
  flex-direction: column;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__promo-card .page-sports__card-title {
  color: #FFFF00; /* Highlight promotion titles */
  padding: 0 20px;
}

.page-sports__promo-card .page-sports__card-text {
  flex-grow: 1;
  padding: 0 20px 20px;
  color: #f0f0f0;
}

.page-sports__promo-card .page-sports__btn-primary {
  margin-top: auto; /* Push button to bottom */
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

/* --- How to Start Section --- */
.page-sports__how-to-start-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-sports__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__step-card .page-sports__card-title {
  color: #FFFF00;
}

.page-sports__step-card .page-sports__card-text {
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-sports__step-card .page-sports__btn-primary {
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

/* --- FAQ Section --- */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #017439;
}

.page-sports__faq-section .page-sports__section-title,
.page-sports__faq-section .page-sports__section-description {
  color: #ffffff;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 0 auto;
}