/* ============ 星空体育 · 全站共享样式 /assets/site.css ============ */
:root {
  --c-deep-space: #0B1B3A;
  --c-star-gold: #D4AF37;
  --c-passion-red: #E63946;
  --c-moon-white: #F4F6FA;
  --c-nebula: #1E2A4A;
  --c-shooter-gold: #FFD700;
  --c-constellation: #2A3B5C;
  --c-pure-white: #FFFFFF;

  --font-title: 'Noto Sans SC', 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
  --font-number: 'Roboto Mono', 'JetBrains Mono', 'SF Mono', 'Consolas', 'Courier New', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-card: 0 4px 16px rgba(11, 27, 58, 0.08);
  --shadow-soft: 0 2px 8px rgba(11, 27, 58, 0.12);
  --max-width: 1200px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-deep-space);
  background-color: var(--c-moon-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--c-nebula);
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--c-passion-red);
}

ul,
ol {
  list-style-position: inside;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-deep-space);
}

button {
  font-family: inherit;
}

::selection {
  background: var(--c-star-gold);
  color: var(--c-deep-space);
}

:focus-visible {
  outline: 3px solid var(--c-star-gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.section {
  padding: 48px 0;
}

.section--tight {
  padding: 24px 0;
}

.section--loose {
  padding: 80px 0;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--c-deep-space);
  margin: 0 0 12px;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-star-gold), var(--c-passion-red));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn--gold {
  background: var(--c-star-gold);
  color: var(--c-deep-space);
}

.btn--gold:hover {
  background: var(--c-shooter-gold);
  color: var(--c-deep-space);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--c-star-gold);
  border-color: var(--c-star-gold);
}

.btn--ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--c-star-gold);
}

.btn--red {
  background: var(--c-passion-red);
  color: var(--c-pure-white);
}

.btn--red:hover {
  background: #d52e3b;
  color: var(--c-pure-white);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
  background: var(--c-deep-space);
  color: var(--c-moon-white);
  border-top: 4px solid var(--c-star-gold);
  box-shadow: 0 8px 28px rgba(11, 27, 58, 0.45);
}

.header-upper {
  background: linear-gradient(180deg, #0A1732 0%, var(--c-deep-space) 100%);
}

.header-upper__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c-pure-white);
}

.header-brand:hover {
  color: var(--c-pure-white);
}

.header-brand__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--c-shooter-gold) 0%, var(--c-star-gold) 70%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.45));
}

.header-brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header-brand__name strong {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--c-pure-white);
  line-height: 1.2;
}

.header-brand__slogan {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-star-gold);
  letter-spacing: 0.28em;
  margin-top: 2px;
}

.header-upper__side {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-constellation);
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--c-moon-white);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.header-search:hover {
  border-color: var(--c-star-gold);
  color: var(--c-star-gold);
  background: rgba(212, 175, 55, 0.08);
}

.header-search span:first-child {
  font-size: 16px;
  color: var(--c-star-gold);
}

.header-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--c-constellation);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--c-moon-white);
}

.header-live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-passion-red);
  animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(230, 57, 70, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
  }
}

.header-lower {
  position: relative;
  background:
    radial-gradient(circle at 82% 0%, rgba(212, 175, 55, 0.1), transparent 42%),
    linear-gradient(180deg, var(--c-nebula) 0%, var(--c-deep-space) 100%);
  border-top: 1px solid rgba(42, 59, 92, 0.7);
}

.header-lower__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-moon-white);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-list a:hover {
  color: var(--c-shooter-gold);
  border-color: rgba(212, 175, 55, 0.5);
}

.nav-list a[aria-current="page"] {
  background: var(--c-star-gold);
  border-color: var(--c-star-gold);
  color: var(--c-deep-space);
  font-weight: 700;
}

.header-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-tag {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-constellation);
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(244, 246, 250, 0.55);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--c-constellation);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--c-star-gold);
}

.nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-moon-white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.star-track {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(42, 59, 92, 0.6);
}

.star-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -260px;
  width: 220px;
  background: linear-gradient(90deg, transparent, var(--c-star-gold) 70%, var(--c-shooter-gold));
  animation: comet-slide 5s linear infinite;
}

@keyframes comet-slide {
  0% {
    left: -260px;
  }
  55%,
  100% {
    left: 100%;
  }
}

.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-star-gold), var(--c-shooter-gold), var(--c-passion-red));
  z-index: 5;
  pointer-events: none;
}

/* ---------- Mobile Nav ---------- */
@media (max-width: 900px) {
  .header-upper__inner {
    min-height: 52px;
  }

  .header-brand__name strong {
    font-size: 20px;
  }

  .header-live {
    display: none;
  }

  .header-lower__inner {
    flex-wrap: wrap;
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-nav {
    order: 3;
    flex: 0 0 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
  }

  .site-nav[data-open] {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    opacity: 1;
    margin-top: 8px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-bottom: 4px;
  }

  .nav-list a {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--c-constellation);
    font-size: 15px;
  }

  .nav-list a[aria-current="page"] {
    background: var(--c-star-gold);
    border-color: var(--c-star-gold);
    color: var(--c-deep-space);
  }

  .header-tags {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-search span:last-child {
    display: none;
  }

  .header-search {
    padding: 7px 10px;
  }

  .header-brand__mark {
    width: 28px;
    height: 28px;
  }

  .header-brand__name strong {
    font-size: 18px;
  }

  .header-brand__slogan {
    font-size: 10px;
    letter-spacing: 0.16em;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  flex-shrink: 0;
  margin-top: 80px;
  background: var(--c-deep-space);
  color: var(--c-moon-white);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 26px;
  background-image: radial-gradient(ellipse 46px 26px at 50% 0%, var(--c-moon-white) 62%, var(--c-deep-space) 63%);
  background-size: 92px 100%;
  background-repeat: repeat-x;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 64px 24px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 48px;
}

.footer-brand__link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
  color: var(--c-pure-white);
}

.footer-brand__link:hover {
  color: var(--c-pure-white);
}

.footer-brand__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--c-shooter-gold), var(--c-star-gold));
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.footer-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand__text strong {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--c-pure-white);
}

.footer-brand__slogan {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-star-gold);
  letter-spacing: 0.2em;
}

.footer-trust {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 246, 250, 0.65);
  max-width: 300px;
  margin: 0;
}

.footer-local {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--c-constellation);
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--c-star-gold);
  letter-spacing: 0.08em;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.footer-col__title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-star-gold);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-constellation);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--c-moon-white);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--c-shooter-gold);
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-moon-white);
}

.footer-contact__icon {
  flex-shrink: 0;
  color: var(--c-star-gold);
  font-size: 14px;
  transform: translateY(2px);
}

.footer-contact__more {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-star-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact__more:hover {
  color: var(--c-shooter-gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 48px;
  padding: 20px 0 4px;
  border-top: 1px solid var(--c-constellation);
}

.footer-copyright {
  font-family: var(--font-title);
  font-size: 13px;
  color: rgba(244, 246, 250, 0.7);
}

.footer-icp {
  font-family: var(--font-number);
  font-size: 12px;
  color: rgba(244, 246, 250, 0.5);
}

.footer-note {
  flex-basis: 100%;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(244, 246, 250, 0.45);
}

.back-to-top {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--c-star-gold);
  color: var(--c-star-gold);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.back-to-top:hover {
  background: var(--c-star-gold);
  color: var(--c-deep-space);
}

@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-to-top {
    margin-left: 0;
  }

  .footer-inner {
    padding: 56px 16px 24px;
  }
}

/* ---------- Breadcrumb & Page Header ---------- */
.breadcrumb {
  padding: 16px 0 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-family: var(--font-title);
  font-size: 13px;
  padding: 0;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-nebula);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  color: var(--c-constellation);
  font-family: var(--font-number);
}

.breadcrumb__link {
  color: var(--c-nebula);
  text-decoration: none;
}

.breadcrumb__link:hover {
  color: var(--c-star-gold);
}

.breadcrumb__current {
  color: var(--c-passion-red);
  font-weight: 600;
}

.page-header {
  padding: 40px 0 24px;
}

.page-header__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: var(--c-deep-space);
  letter-spacing: 0.02em;
  margin: 8px 0 12px;
  line-height: 1.15;
}

.page-header__title::before {
  content: '';
  display: block;
  width: 56px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c-star-gold), var(--c-passion-red));
  margin-bottom: 16px;
}

.page-header__desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-nebula);
  max-width: 720px;
}

/* ---------- Prose ---------- */
.prose {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-nebula);
}

.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--font-title);
  color: var(--c-deep-space);
  margin: 32px 0 12px;
}

.prose p {
  margin-bottom: 20px;
}

.prose a {
  color: var(--c-passion-red);
}

.prose strong {
  color: var(--c-deep-space);
  font-weight: 700;
}

.prose blockquote {
  border-left: 4px solid var(--c-star-gold);
  background: var(--c-moon-white);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ---------- Cards & Media ---------- */
.card {
  background: var(--c-pure-white);
  border: 1px solid rgba(42, 59, 92, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(11, 27, 58, 0.14);
  border-color: rgba(212, 175, 55, 0.5);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(145deg, var(--c-nebula), var(--c-deep-space));
}

.card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.8) 1px, transparent 1.5px),
    radial-gradient(circle at 55% 62%, rgba(255, 255, 255, 0.6) 1px, transparent 1.5px),
    radial-gradient(circle at 82% 24%, rgba(212, 175, 55, 0.7) 1px, transparent 1.5px);
  pointer-events: none;
}

.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.card__content {
  padding: 20px;
}

.card__title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-deep-space);
  margin-bottom: 8px;
}

.card__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-nebula);
}

.hero-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-constellation);
  background: linear-gradient(135deg, var(--c-nebula), var(--c-deep-space));
}

.hero-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.7) 1px, transparent 1.4px),
    radial-gradient(circle at 70% 48%, rgba(212, 175, 55, 0.7) 1px, transparent 1.5px),
    radial-gradient(circle at 88% 78%, rgba(255, 255, 255, 0.6) 1px, transparent 1.4px),
    radial-gradient(circle at 44% 65%, rgba(255, 255, 255, 0.5) 1px, transparent 1.4px),
    radial-gradient(circle at 10% 82%, rgba(255, 255, 255, 0.5) 1px, transparent 1.4px);
  pointer-events: none;
}

.hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ---------- Sky Field ---------- */
.sky-field {
  background-color: var(--c-deep-space);
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.85) 1px, transparent 1.4px),
    radial-gradient(circle at 35% 72%, rgba(255, 255, 255, 0.6) 1px, transparent 1.4px),
    radial-gradient(circle at 52% 18%, rgba(255, 255, 255, 0.7) 1px, transparent 1.4px),
    radial-gradient(circle at 68% 43%, rgba(212, 175, 55, 0.75) 1px, transparent 1.5px),
    radial-gradient(circle at 82% 73%, rgba(255, 255, 255, 0.65) 1px, transparent 1.4px),
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.55) 1px, transparent 1.4px),
    radial-gradient(circle at 8% 58%, rgba(255, 255, 255, 0.5) 1px, transparent 1.4px),
    radial-gradient(circle at 24% 44%, rgba(255, 255, 255, 0.45) 1px, transparent 1.4px),
    radial-gradient(circle at 62% 88%, rgba(255, 255, 255, 0.6) 1px, transparent 1.4px);
}

/* ---------- Framed Hero ---------- */
.framed-hero {
  position: relative;
  padding: 56px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-constellation);
  background: linear-gradient(145deg, var(--c-deep-space) 0%, var(--c-nebula) 60%, var(--c-deep-space) 100%);
  color: var(--c-moon-white);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.framed-hero::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.framed-hero__content {
  position: relative;
  z-index: 2;
}

.framed-hero__corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 0 solid var(--c-star-gold);
  z-index: 2;
  pointer-events: none;
}

.framed-hero__corner--tl {
  top: 12px;
  left: 12px;
  border-top-width: 3px;
  border-left-width: 3px;
  border-top-left-radius: var(--radius-sm);
}

.framed-hero__corner--tr {
  top: 12px;
  right: 12px;
  border-top-width: 3px;
  border-right-width: 3px;
  border-top-right-radius: var(--radius-sm);
}

.framed-hero__corner--bl {
  bottom: 12px;
  left: 12px;
  border-bottom-width: 3px;
  border-left-width: 3px;
  border-bottom-left-radius: var(--radius-sm);
}

.framed-hero__corner--br {
  bottom: 12px;
  right: 12px;
  border-bottom-width: 3px;
  border-right-width: 3px;
  border-bottom-right-radius: var(--radius-sm);
}

/* ---------- Score & Data ---------- */
.score-display {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-constellation);
  background: var(--c-nebula);
  font-family: var(--font-number);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-pure-white);
}

.score-display__number {
  color: var(--c-passion-red);
}

.data-panel {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-constellation);
  border-top: 3px solid var(--c-star-gold);
  background: var(--c-nebula);
  color: var(--c-moon-white);
}

.data-panel__label {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-star-gold);
}

.data-panel__number {
  display: block;
  margin: 8px 0 4px;
  font-family: var(--font-number);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-pure-white);
}

.data-panel__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 246, 250, 0.75);
}

/* ---------- Table ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.stat-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--c-pure-white);
}

.stat-table th {
  padding: 10px 16px;
  background: var(--c-nebula);
  color: var(--c-moon-white);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
}

.stat-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(42, 59, 92, 0.14);
  color: var(--c-nebula);
}

.stat-table tr:last-child td {
  border-bottom: none;
}

.stat-table tbody tr:nth-child(even) td {
  background: var(--c-moon-white);
}

.stat-table .stat-table__num {
  font-family: var(--font-number);
  font-weight: 700;
  color: var(--c-deep-space);
}

.stat-table .stat-table__hot {
  font-family: var(--font-number);
  font-weight: 700;
  color: var(--c-passion-red);
}

/* ---------- Tag ---------- */
.tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-constellation);
  background: var(--c-nebula);
  color: var(--c-moon-white);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.tag--hot {
  background: var(--c-passion-red);
  border-color: var(--c-passion-red);
  color: var(--c-pure-white);
}

.tag--gold {
  background: var(--c-star-gold);
  border-color: var(--c-star-gold);
  color: var(--c-deep-space);
}

/* ---------- Accordion ---------- */
.accordion {
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-constellation);
  background: var(--c-pure-white);
  overflow: hidden;
}

.accordion__title {
  margin: 0;
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-deep-space);
  transition: background-color 0.2s ease;
}

.accordion__trigger:hover {
  background: rgba(212, 175, 55, 0.08);
}

.accordion__trigger::after {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-nebula);
  color: var(--c-star-gold);
  font-family: var(--font-number);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.accordion__trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
  background: var(--c-star-gold);
  color: var(--c-deep-space);
}

.accordion__panel {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.accordion__panel-inner {
  padding: 0 20px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-nebula);
}

/* ---------- Path Steps ---------- */
.path-steps {
  counter-reset: path-step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-step {
  position: relative;
  padding: 0 0 28px 64px;
}

.path-step::before {
  counter-increment: path-step;
  content: counter(path-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--c-star-gold);
  background: var(--c-nebula);
  color: var(--c-star-gold);
  font-family: var(--font-number);
  font-size: 15px;
  font-weight: 700;
}

.path-step::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--c-star-gold), var(--c-constellation));
}

.path-step:last-child::after {
  display: none;
}

.path-step__title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-deep-space);
  margin: 0 0 6px;
}

.path-step__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-nebula);
}

/* ---------- News List ---------- */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(42, 59, 92, 0.14);
}

.news-item__date {
  flex-shrink: 0;
  font-family: var(--font-number);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-passion-red);
  white-space: nowrap;
}

.news-item__title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-deep-space);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-item__title:hover {
  color: var(--c-star-gold);
}

/* ---------- Tabs ---------- */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-bottom: 2px solid var(--c-constellation);
}

.tab-item {
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 10px 20px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-nebula);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.tab-item:hover {
  color: var(--c-star-gold);
}

.tab-item[aria-selected="true"] {
  color: var(--c-deep-space);
  border-bottom-color: var(--c-star-gold);
  font-weight: 700;
}

.tab-panel[hidden] {
  display: none;
}

/* ---------- Visibility & Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 400;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--c-star-gold);
  color: var(--c-deep-space);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Responsive Grid ---------- */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 32px 0;
  }

  .framed-hero {
    padding: 32px 20px;
  }
}
