/* style/sports.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches shared.css body background */
}

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

.page-sports__section-title {
  font-size: 36px;
  color: #FFD700; /* Primary brand color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #8B0000; /* Secondary brand color */
  border-radius: 2px;
}

.page-sports__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

/* Hero Section */
.page-sports__hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:u888vip,thethao,hero,background]') no-repeat center center/cover;
  padding-top: 120px; /* Adjust for fixed header */
  padding-bottom: 80px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-sports__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Primary brand color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background: #FFD700; /* Primary brand color */
  color: #121212; /* Dark text for contrast */
}

.page-sports__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-sports__btn-secondary {
  background: #8B0000; /* Secondary brand color */
  color: #ffffff;
  border: 2px solid #8B0000;
}

.page-sports__btn-secondary:hover {
  background: #6a0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-sports__introduction-section {
  padding-bottom: 60px;
}

.page-sports__dark-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-sports__image-wrapper {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

/* Highlight Section */
.page-sports__highlight-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-sports__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent background for dark theme */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Light text for contrast */
}

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

.page-sports__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-sports__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700; /* Primary brand color */
}

.page-sports__feature-description {
  font-size: 16px;
  color: #e0e0e0;
}

/* Promo Section */
.page-sports__promo-section {
  padding-bottom: 60px;
}

.page-sports__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.page-sports__promo-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700;
  padding: 20px;
  border-radius: 8px;
  font-size: 17px;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

.page-sports__promo-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-sports__cta-buttons--center {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* Betting Guide Section */
.page-sports__betting-guide-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #121212;
}

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

.page-sports__guide-step {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-sports__step-number {
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #121212;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 25px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-sports__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-sports__step-description {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-sports__btn-link {
  display: inline-block;
  padding: 10px 25px;
  background: #8B0000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-link:hover {
  background: #6a0000;
  transform: translateY(-2px);
}

/* Safety Section */
.page-sports__safety-section {
  padding-bottom: 60px;
}

/* FAQ Section */
.page-sports__faq-section {
  padding-top: 60px;
  padding-bottom: 80px;
  background-color: #121212;
}

.page-sports__faq-list {
  margin-top: 40px;
}

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-sports__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Primary brand color */
  pointer-events: none;
}

.page-sports__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #f0f0f0;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Plus to X effect */
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #e0e0e0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 42px;
  }
  .page-sports__hero-subtitle {
    font-size: 18px;
  }
  .page-sports__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-sports__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-sports__hero-section {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    padding-bottom: 60px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-sports__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-sports__hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-sports__hero-cta {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-link {
    padding: 12px 25px !important;
    font-size: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-sports__text-block {
    font-size: 15px;
  }
  .page-sports__features-grid,
  .page-sports__guide-steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-sports__feature-card,
  .page-sports__guide-step {
    padding: 25px;
  }
  .page-sports__feature-title {
    font-size: 20px;
  }
  .page-sports__step-title {
    font-size: 20px;
  }
  .page-sports__image-wrapper {
    margin: 20px auto;
    border-radius: 8px;
  }
  .page-sports__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__promo-list {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 15px;
  }
  .page-sports__faq-question {
    padding: 15px 20px;
  }
  .page-sports__faq-question h3 {
    font-size: 16px;
  }
  .page-sports__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
    margin-left: 15px;
  }
  .page-sports__faq-answer {
    padding: 0 20px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px 20px !important;
  }
  .page-sports__cta-buttons--center {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 28px;
  }
  .page-sports__hero-subtitle {
    font-size: 15px;
  }
  .page-sports__section-title {
    font-size: 24px;
  }
  .page-sports__feature-icon {
    width: 60px;
    height: 60px;
  }
  .page-sports__feature-title {
    font-size: 18px;
  }
  .page-sports__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .page-sports__step-title {
    font-size: 18px;
  }
  .page-sports__faq-question h3 {
    font-size: 15px;
  }
}