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

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

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

.page-sports__light-bg {
  background-color: #262626;
  color: #f0f0f0;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  padding: 120px 0 80px 0; /* Adjusted for header offset if shared doesn't set body padding */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background-color: #1a1a1a; /* Dark background for hero */
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.page-sports__hero-title {
  font-size: 3.2em;
  color: #26A9E0;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* General Section Styling */
.page-sports__section {
  padding: 60px 0;
}

.page-sports__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: #26A9E0;
}

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

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

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

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

.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__cta-buttons--center {
  text-align: center;
  margin-top: 40px;
}

.page-sports__cta-buttons--center a {
  margin: 0 10px;
}

/* Gameshow Grid (Sports Categories) */
.page-sports__gameshow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__gameshow-item {
  background-color: #262626;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
}

.page-sports__gameshow-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-sports__gameshow-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-sports__gameshow-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__gameshow-title a:hover {
  text-decoration: underline;
}

.page-sports__gameshow-text {
  color: #cccccc;
  padding: 0 15px;
}

/* Live Betting Section */
.page-sports__live-betting-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-sports__live-betting-content .page-sports__content-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-sports__feature-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-sports__list-item {
  background-color: #1a1a1a;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-sports__list-item strong {
  color: #26A9E0;
  font-size: 1.1em;
  display: block;
  margin-bottom: 5px;
}

/* Odds & Payouts Section */
.page-sports__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__feature-card {
  background-color: #262626;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #f0f0f0;
}

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

.page-sports__feature-text {
  font-size: 1.1em;
  color: #cccccc;
}

/* Promotions Section */
.page-sports__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__promo-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-sports__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-sports__promo-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__promo-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__promo-title a:hover {
  text-decoration: underline;
}

.page-sports__promo-text {
  color: #cccccc;
  padding: 0 15px 20px;
}

/* Why Choose Us Section */
.page-sports__advantage-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-sports__advantage-list .page-sports__list-item {
  background-color: #262626;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

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

.page-sports__list-text {
  color: #cccccc;
}

.page-sports__why-choose-us .page-sports__content-image {
  display: block;
  margin: 50px auto 0;
  max-width: 800px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-sports__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-sports__faq-item {
  background-color: #1a1a1a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #262626;
  color: #f0f0f0;
  border-bottom: 1px solid #333;
}

.page-sports__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #26A9E0;
}

.page-sports__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

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

.page-sports__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-sports__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__faq-answer a:hover {
  text-decoration: underline;
}

/* Call to Action Bottom */
.page-sports__cta-bottom {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a;
}

.page-sports__cta-content {
  max-width: 800px;
}

.page-sports__cta-title {
  font-size: 2.8em;
  color: #26A9E0;
  margin-bottom: 20px;
}

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

/* General Image Styling */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 2.8em;
  }

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

  .page-sports__section-title {
    font-size: 2.2em;
  }

  .page-sports__live-betting-content {
    flex-direction: column;
    text-align: center;
  }

  .page-sports__live-betting-content .page-sports__content-image {
    max-width: 80%;
  }

  .page-sports__advantage-list {
    grid-template-columns: 1fr;
  }

  .page-sports__cta-title {
    font-size: 2.4em;
  }

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

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-sports__hero-section {
    padding-top: 0; /* Assuming shared.css already handles body padding-top */
    padding-bottom: 60px;
  }

  .page-sports__hero-title {
    font-size: 2.2em !important;
  }

  .page-sports__hero-description {
    font-size: 1em !important;
  }

  .page-sports__hero-cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

  /* 产品展示图区域 */
  .page-sports__gameshow-grid {
    grid-template-columns: 1fr 1fr !important; /* First 4 items in 2x2 grid */
    padding: 0 15px;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-sports__gameshow-grid .page-sports__gameshow-item:nth-child(n+5) {
    grid-column: span 2; /* Items 5 and 6 take full width */
  }

  /* 通用图片与容器 */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__live-betting-content .page-sports__content-image {
    max-width: 100% !important;
  }

  /* 按钮与按钮容器 */
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports a[class*="button"],
  .page-sports a[class*="btn"] {
    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__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column !important;
  }

  /* 其他内容模块 */
  .page-sports__section-title {
    font-size: 1.8em !important;
  }

  .page-sports__section-description {
    font-size: 0.95em !important;
  }

  .page-sports__gameshow-item {
    padding-bottom: 15px;
  }

  .page-sports__gameshow-image {
    height: 200px;
  }

  .page-sports__feature-card,
  .page-sports__promo-card,
  .page-sports__advantage-list .page-sports__list-item {
    padding: 20px !important;
  }

  .page-sports__promo-image {
    height: 180px;
  }

  .page-sports__faq-question h3 {
    font-size: 1.1em !important;
  }

  .page-sports__faq-answer p {
    font-size: 0.95em !important;
  }

  .page-sports__cta-title {
    font-size: 2em !important;
  }

  .page-sports__cta-description {
    font-size: 1em !important;
  }

  .page-sports__advantage-list {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-sports__gameshow-grid {
    grid-template-columns: 1fr !important;
  }
  .page-sports__gameshow-grid .page-sports__gameshow-item:nth-child(n+5) {
    grid-column: span 1; 
  }
}