/* style/sports.css */

/* Base styles for the page content, ensuring contrast with dark body background */
.page-sports {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

/* Container for consistent content width */
.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-sports__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Section descriptions */
.page-sports__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0; /* Slightly off-white for body text */
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
}

.page-sports__btn-primary {
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

.page-sports__btn-tertiary {
  background-color: #EA7C07; /* Login color for specific actions */
  color: #ffffff;
  border: 2px solid #EA7C07;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  padding: 60px 20px; /* Add some padding for smaller screens if header offset is handled by body */
}

.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;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
}

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-sports__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

.page-sports__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

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

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

.page-sports__feature-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05); /* Slightly visible card background */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__feature-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-sports__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-sports__feature-text {
  color: #f0f0f0;
}

/* Sports Categories Section */
.page-sports__sports-categories {
  padding: 80px 0;
  background-color: #0d0d1e; /* A slightly lighter dark background */
  color: #ffffff;
}

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

.page-sports__category-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-sports__category-card:hover {
  transform: translateY(-5px);
}

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

.page-sports__category-content {
  padding: 25px;
}

.page-sports__category-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #26A9E0; /* Ensure title color is visible */
}

.page-sports__category-text {
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

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

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

.page-sports__live-betting-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-sports__live-betting-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__live-betting-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-sports__live-betting-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: #f0f0f0;
}

.page-sports__live-betting-list li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-sports__list-highlight {
  color: #26A9E0;
}

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

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

.page-sports__promotion-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.page-sports__promotion-card:hover {
  transform: translateY(-5px);
}

.page-sports__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-sports__promotion-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-sports__promotion-text {
  color: #f0f0f0;
  padding: 0 15px 20px;
}

.page-sports__view-all-promos {
  text-align: center;
  margin-top: 60px;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-sports__step-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-sports__step-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-sports__step-text {
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Security Section */
.page-sports__security-section {
  padding: 80px 0;
  background-color: #0d0d1e;
  color: #ffffff;
}

.page-sports__security-section .page-sports__container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-sports__security-content {
  flex: 1;
}

.page-sports__security-image-wrapper {
  flex: 1;
  text-align: center;
}

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

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

.page-sports__security-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: #f0f0f0;
}

.page-sports__security-list li::before {
  content: '🛡️'; /* Shield emoji */
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

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

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

.page-sports__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
}

.page-sports__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-sports__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
  flex-grow: 1;
}

.page-sports__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-sports__faq-text {
  color: #f0f0f0;
  margin: 0;
}

/* CTA Section */
.page-sports__cta-section {
  padding: 80px 0;
  background-color: #0d0d1e;
  color: #ffffff;
  text-align: center;
}