.page-sports {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background: #FFFFFF;
}

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

.page-sports__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-sports__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-sports__btn-primary {
  background: #C30808; /* Đăng ký color */
  color: #FFFF00; /* Đăng ký font color */
  border: 2px solid #C30808;
}

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

.page-sports__btn-secondary {
  background: transparent;
  color: #C30808; /* Login color */
  border: 2px solid #C30808;
}

.page-sports__btn-secondary:hover {
  background: #C30808;
  color: #FFFF00; /* Login font color */
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background: #017439;
  color: #ffffff;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px 15px;
  margin-top: -80px; /* Pull content up over image slightly */
  background: linear-gradient(to bottom, rgba(1, 116, 57, 0.8) 0%, rgba(1, 116, 57, 0.95) 50%, rgba(1, 116, 57, 1) 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-sports__main-title {
  font-size: clamp(30px, 4vw, 52px); /* Using clamp for responsive H1 */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00;
}

.page-sports__hero-description {
  font-size: 19px;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-sports__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Why Us Section */
.page-sports__why-us-section {
  padding: 80px 0;
  background: #FFFFFF;
  color: #333333;
}

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

.page-sports__feature-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-sports__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
}

.page-sports__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #017439;
}

.page-sports__feature-text {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

/* Bet Types Section */
.page-sports__bet-types-section {
  padding: 80px 0;
  background: #017439;
  color: #ffffff;
}

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

.page-sports__bet-type-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-sports__bet-type-card:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-sports__bet-type-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-sports__bet-type-text {
  font-size: 16px;
  color: #f0f0f0;
}

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

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

.page-sports__step-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__step-number {
  width: 60px;
  height: 60px;
  background: #017439;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-sports__step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #017439;
}

.page-sports__step-text {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-sports__btn-link {
  display: inline-block;
  padding: 10px 20px;
  background: #C30808;
  color: #FFFF00;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-link:hover {
  background: #a30606;
  color: #fff;
}

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

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

.page-sports__security-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__security-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
}

.page-sports__security-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-sports__security-text {
  font-size: 16px;
  color: #f0f0f0;
  flex-grow: 1;
}

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

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

details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-sports__faq-item summary.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-sports__faq-item summary.page-sports__faq-question::-webkit-details-marker {
  display: none;
}

details.page-sports__faq-item summary.page-sports__faq-question:hover {
  background: #f5f5f5;
}

.page-sports__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

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

/* Global image responsiveness */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-image-wrapper {
    max-height: 500px;
  }
  .page-sports__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }
  .page-sports__main-title {
    font-size: clamp(28px, 5vw, 45px);
  }
  .page-sports__hero-description {
    font-size: 17px;
  }
  .page-sports__section-title {
    font-size: 32px;
  }
  .page-sports__section-description {
    font-size: 17px;
    margin-bottom: 30px;
  }
  .page-sports__features-grid,
  .page-sports__bet-types-grid,
  .page-sports__steps-grid,
  .page-sports__security-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-sports__feature-title,
  .page-sports__bet-type-title,
  .page-sports__step-title,
  .page-sports__security-title {
    font-size: 22px;
  }
  .page-sports__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-sports__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-sports__hero-section {
    padding-bottom: 40px;
  }
  .page-sports__hero-image-wrapper {
    max-height: 400px;
  }
  .page-sports__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain; /* Banner 849px contain */
  }
  .page-sports__hero-content {
    margin-top: -40px;
    padding: 20px 10px;
  }
  .page-sports__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }
  .page-sports__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-sports__section-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-sports__why-us-section,
  .page-sports__bet-types-section,
  .page-sports__guide-section,
  .page-sports__security-section,
  .page-sports__faq-section,
  .page-sports__cta-bottom-section {
    padding: 50px 0;
  }
  .page-sports__features-grid,
  .page-sports__bet-types-grid,
  .page-sports__steps-grid,
  .page-sports__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__feature-card,
  .page-sports__bet-type-card,
  .page-sports__step-card,
  .page-sports__security-item {
    padding: 25px;
  }
  .page-sports__feature-title,
  .page-sports__bet-type-title,
  .page-sports__step-title,
  .page-sports__security-title {
    font-size: 20px;
  }
  .page-sports__feature-text,
  .page-sports__bet-type-text,
  .page-sports__step-text,
  .page-sports__security-text {
    font-size: 15px;
  }
  details.page-sports__faq-item summary.page-sports__faq-question {
    padding: 15px;
  }
  .page-sports__faq-qtext {
    font-size: 16px;
  }
  details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 15px 15px;
  }
  .page-sports__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}