/* 智能颜色对比度保障系统 */
.page-sports {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-sports__section-padding {
  padding: 40px 0;
}

.page-sports__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #FFA53A;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.page-sports__section-description {
  text-align: center;
  margin-bottom: 30px;
  font-size: 18px;
  color: #FFF3E6;
}

.page-sports__content-block {
  margin-top: 20px;
  text-align: justify;
}

.page-sports__content-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #FFF3E6;
}

.page-sports__content-block strong {
  color: #FFA53A;
}

.page-sports__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-sports__list li {
  margin-bottom: 8px;
  font-size: 17px;
}

.page-sports__hero-section {
  padding-top: 10px; /* Not var(--header-offset) as body handles it */
  margin-bottom: 30px;
  overflow: hidden;
}

.page-sports__hero-content-wrapper {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  height: auto;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-sports__hero-text-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  background: rgba(13, 14, 18, 0.7); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-sports__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #FFB04D;
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.page-sports__hero-description {
  font-size: 19px;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-sports__cta-button--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
}

.page-sports__cta-button--primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-sports__cta-button--secondary {
  background: #17191F;
  color: #FFA53A;
  border: 1px solid #A84F0C;
}

.page-sports__cta-button--secondary:hover {
  background: #A84F0C;
  color: #FFF3E6;
  transform: translateY(-2px);
}

.page-sports__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-sports__dark-section {
  background-color: #17191F;
}

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

.page-sports__card {
  background: #0D0E12;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.page-sports__category-card .page-sports__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-sports__card-title {
  font-size: 22px;
  color: #FFA53A;
  margin-bottom: 10px;
  font-weight: 600;
}

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

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

.page-sports__advantage-item {
  background: #0D0E12;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-align: center;
}

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

.page-sports__advantage-item p {
  font-size: 16px;
  color: #FFF3E6;
}

/* FAQ Styles */
details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #0D0E12;
}
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: #17191F;
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}
.page-sports__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A;
  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: #17191F;
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
  font-size: 16px;
}

.page-sports__cta-content {
  text-align: center;
  padding: 40px 20px;
}

.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Required Homepage Trial CSS (as per instructions, even if not directly used by this page's HTML) */
@media (max-width: 1023px) {
  .page-sports__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-sports__hero-brand,
  .page-sports__hero-jackpot {
    display: none !important;
  }
  .page-sports__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-sports__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-sports__game-trial-topbar,
  .page-sports__game-trial-bottombar {
    display: none !important;
  }
  .page-sports__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-sports__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-sports__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-sports__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-sports__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-sports__hero-brand,
  .page-sports__hero-jackpot,
  .page-sports__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-sports__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-sports__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-sports__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-sports__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-sports__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  /* Placeholder for __promo-strip, __hot-games, __brand-intro, __winner-ticker PC styles */
  .page-sports__promo-strip {
    margin-top: 16px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .page-sports__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
  .page-sports__promo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .page-sports__hot-games {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .page-sports__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
  }
  .page-sports__hot-games-item-name,
  .page-sports__hot-games-item-rtp,
  .page-sports__hot-games-item-desc {
    text-align: center;
  }
  .page-sports__brand-intro {
    display: block;
  }
  .page-sports__winner-ticker {
    display: block;
  }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-sports__hero-text-content {
    padding: 15px;
  }

  .page-sports__main-title {
    font-size: 32px;
  }

  .page-sports__hero-description {
    font-size: 16px;
  }

  .page-sports__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-sports__section-title {
    font-size: 28px;
  }

  .page-sports__section-description {
    font-size: 16px;
  }

  .page-sports__content-block p,
  .page-sports__list li {
    font-size: 16px;
  }

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-sports__category-grid,
  .page-sports__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__card-title {
    font-size: 20px;
  }

  .page-sports__card-text {
    font-size: 15px;
  }

  .page-sports__advantage-title {
    font-size: 22px;
  }

  details.page-sports__faq-item summary.page-sports__faq-question {
    padding: 15px;
  }
  .page-sports__faq-qtext {
    font-size: 16px;
  }
  .page-sports__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* Placeholder for __promo-strip, __hot-games, __brand-intro, __winner-ticker mobile styles */
  .page-sports__promo-strip-track {
    grid-template-columns: repeat(2, 1fr); /* Example, adjust as needed */
    gap: 10px;
    overflow-x: hidden;
  }
  .page-sports__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .page-sports__hot-games-item-name,
  .page-sports__hot-games-item-rtp,
  .page-sports__hot-games-item-desc {
    font-size: 14px; /* Smaller text for mobile */
  }
  .page-sports__brand-intro {
    padding: 20px 15px;
  }
  .page-sports__winner-ticker {
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 999;
    background: rgba(0,0,0,0.8);
    padding: 10px 15px;
    color: #FFF3E6;
    font-size: 14px;
  }
}

/* General image and container responsive styles for content area */
.page-sports__section, .page-sports__card, .page-sports__container, .page-sports__content-block {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.page-sports__game-trial-overlay{z-index:5;pointer-events:auto;}.page-sports__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-sports__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-sports__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-sports__reward-modal{position:fixed;inset:0;z-index:10000;}
.page-sports__reward-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.page-sports__reward-modal[hidden] {
  opacity: 0;
  pointer-events: none;
  display: none; /* Ensure it's fully hidden */
}

.page-sports__reward-modal-content {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  color: #FFF3E6;
}

.page-sports__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #FFF3E6;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.page-sports__reward-modal-close:hover {
  color: #FFA53A;
}

.page-sports__reward-modal-title {
  font-size: 28px;
  color: #FFB04D;
  margin-bottom: 20px;
}

.page-sports__reward-modal-text {
  font-size: 17px;
  margin-bottom: 25px;
}

.page-sports__reward-modal-button {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
}

.page-sports__reward-modal-button:hover {
  filter: brightness(1.1);
}