/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

/* ===== Variables ===== */
:root {
  --color-bg: #0d1b2a;
  --color-bg-deep: #1b263b;
  --color-purple: #7b2fff;
  --color-gold: #f5c542;
  --color-cta: #39ff88;
  --color-silver: #c0c8d0;
  --color-white: #ffffff;
  --color-amber: #ff6b35;
  --color-border: rgba(255, 255, 255, 0.1);
  --font-heading: 'Rajdhani', 'Noto Sans SC', 'PingFang SC', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-accent: 'Orbitron', 'Noto Sans SC', monospace;
  --header-meta-h: 28px;
  --header-h: 64px;
  --radius: 12px;
  --gutter: clamp(0.75rem, 2vw, 1.5rem);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --glow-purple: 0 0 12px rgba(123, 47, 255, 0.6);
}

/* ===== Base ===== */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-silver);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(123, 47, 255, 0.09), transparent),
    radial-gradient(1px 1px at 82% 18%, rgba(255, 255, 255, 0.22), transparent 100%),
    radial-gradient(1.5px 1.5px at 14% 42%, rgba(255, 255, 255, 0.16), transparent 100%),
    radial-gradient(1px 1px at 94% 62%, rgba(245, 197, 66, 0.18), transparent 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 84px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: 1rem; }

h1, h2, h3 {
  text-shadow: 0 0 12px rgba(123, 47, 255, 0.6);
}

::selection {
  background: rgba(123, 47, 255, 0.4);
  color: var(--color-white);
}

/* ===== Layout ===== */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.container--wide {
  max-width: 1600px;
}

.container--narrow {
  max-width: 780px;
}

#main-content {
  min-height: 50vh;
  outline: none;
  scroll-margin-top: 92px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--cta {
  background: var(--color-cta);
  color: #062d1b;
  box-shadow: 0 0 18px rgba(57, 255, 136, 0.2);
}

.btn--cta:hover,
.btn--cta:focus-visible {
  background: #6bffa8;
  color: #041f12;
  box-shadow: 0 0 28px rgba(57, 255, 136, 0.42);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--color-white);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--color-gold);
  color: var(--color-gold);
  box-shadow: 0 0 16px rgba(245, 197, 66, 0.18);
}

.btn--light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
}

/* ===== Header ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 12px;
  z-index: 300;
  padding: 0.75rem 1.25rem;
  background: var(--color-bg-deep);
  color: var(--color-white);
  border: 1px solid var(--color-gold);
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 250;
  background: linear-gradient(90deg, var(--color-gold), var(--color-purple), var(--color-cta));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.12s linear;
  pointer-events: none;
}

.progress-bar[data-disabled] {
  display: none;
}

.header-meta {
  height: var(--header-meta-h);
  background: rgba(13, 27, 42, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-meta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  max-width: 1280px;
}

.header-meta__slogan {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: rgba(192, 200, 208, 0.75);
  text-transform: uppercase;
  white-space: nowrap;
}

.header-meta__links {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-meta__link {
  color: var(--color-silver);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.header-meta__link:hover {
  color: var(--color-gold);
}

.header-meta__dot {
  margin: 0 0.55rem;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
}

.header-nav {
  height: var(--header-h);
  border-bottom: 1px solid var(--color-border);
  background: rgba(13, 27, 42, 0.96);
  position: relative;
}

.header-nav::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-purple) 45%, transparent 80%);
  pointer-events: none;
}

.header-nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

/* ===== Brand ===== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  text-decoration: none;
  min-width: 0;
}

.brand__mark {
  font-size: 1.7rem;
  line-height: 1;
  color: var(--color-gold);
  text-shadow: 0 0 14px rgba(245, 197, 66, 0.7);
  flex-shrink: 0;
  animation: star-pulse 4s ease-in-out infinite;
}

@keyframes star-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.82; }
}

@media (prefers-reduced-motion: reduce) {
  .brand__mark {
    animation: none;
  }
}

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

.brand__cn {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-white);
  text-shadow: 0 0 10px rgba(123, 47, 255, 0.55);
}

.brand__en {
  font-family: var(--font-accent);
  font-size: 0.6rem;
  letter-spacing: 0.38em;
  color: var(--color-silver);
  opacity: 0.8;
  text-transform: uppercase;
}

.brand__note {
  writing-mode: vertical-rl;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--color-silver);
  opacity: 0.55;
  white-space: nowrap;
  margin-left: 0.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 0.35rem;
}

/* ===== Nav ===== */
.site-nav {
  margin-right: 0.5rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--color-silver);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, text-shadow 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}

.site-nav__link[aria-current="page"] {
  color: var(--color-gold);
  background: rgba(245, 197, 66, 0.07);
  text-shadow: 0 0 10px rgba(245, 197, 66, 0.35);
}

.site-nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-gold);
  box-shadow: 0 0 8px rgba(245, 197, 66, 0.6);
}

.site-nav__cta {
  display: none;
}

/* ===== Nav Toggle ===== */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  z-index: 130;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 197, 66, 0.4);
}

.nav-toggle__bar {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nav-toggle__bar:nth-child(1) { top: 13px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 29px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-purple) 45%, transparent 85%);
  z-index: 1;
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 22% 18%, rgba(255, 255, 255, 0.28), transparent 100%),
    radial-gradient(1px 1px at 65% 45%, rgba(255, 255, 255, 0.18), transparent 100%),
    radial-gradient(1.5px 1.5px at 84% 22%, rgba(123, 47, 255, 0.45), transparent 100%),
    radial-gradient(1px 1px at 92% 72%, rgba(255, 255, 255, 0.2), transparent 100%);
}

.footer-main {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}

.footer-main__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.6fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.footer-brand__about {
  margin-top: 1.1rem;
  color: var(--color-silver);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 42ch;
}

.footer-brand__trust {
  margin-top: 0.9rem;
  color: rgba(192, 200, 208, 0.7);
  font-size: 0.78rem;
  line-height: 1.7;
  padding: 0.6rem 0.85rem;
  border-left: 2px solid rgba(245, 197, 66, 0.45);
  border-radius: 0 8px 8px 0;
  background: rgba(123, 47, 255, 0.06);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-purple));
  border-radius: 2px;
}

.footer-links__list li {
  margin-bottom: 0.55rem;
}

.footer-links__list a {
  color: var(--color-silver);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links__list a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-contact__list {
  margin-bottom: 0.8rem;
}

.footer-contact__item {
  position: relative;
  padding-left: 1.25rem;
  color: var(--color-silver);
  font-size: 0.88rem;
  line-height: 1.85;
  word-break: break-all;
}

.footer-contact__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-purple));
}

.footer-contact__note {
  color: rgba(192, 200, 208, 0.65);
  font-size: 0.78rem;
  line-height: 1.7;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 0.65rem;
  margin-top: 0.5rem;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.1rem 0;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.footer-bottom__copy {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(192, 200, 208, 0.55);
}

.footer-bottom__icp {
  font-size: 0.7rem;
  color: rgba(192, 200, 208, 0.55);
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-bottom__icp:hover {
  color: var(--color-gold);
  border-color: rgba(245, 197, 66, 0.4);
}

/* ===== Replay Toolbar ===== */
.replay-toolbar {
  position: fixed;
  right: clamp(0.9rem, 3vw, 2rem);
  bottom: clamp(0.9rem, 3vw, 1.5rem);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.replay-toolbar__panel {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  min-width: 180px;
  background: linear-gradient(160deg, rgba(27, 38, 59, 0.98), rgba(13, 27, 42, 0.96));
  border: 1px solid rgba(123, 47, 255, 0.35);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), 0 0 18px rgba(123, 47, 255, 0.12);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.replay-toolbar__panel[data-open] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.replay-toolbar__hint {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 0.2rem 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.4rem;
}

.replay-toolbar__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  color: var(--color-silver);
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.replay-toolbar__link:hover {
  color: var(--color-white);
  background: rgba(123, 47, 255, 0.16);
}

.replay-toolbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cta);
  box-shadow: 0 0 8px rgba(57, 255, 136, 0.6);
  flex-shrink: 0;
}

.replay-toolbar__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.1rem 0.72rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #5a1ec8, var(--color-purple));
  border: 1px solid rgba(245, 197, 66, 0.35);
  box-shadow: 0 6px 20px rgba(123, 47, 255, 0.38);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.replay-toolbar__toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(123, 47, 255, 0.5);
}

.replay-toolbar__icon {
  font-size: 1.05rem;
  color: var(--color-cta);
  line-height: 1;
  transition: transform 0.3s ease;
}

.replay-toolbar__toggle[aria-expanded="true"] .replay-toolbar__icon {
  transform: rotate(180deg);
}

/* ===== Bento Grid ===== */
.grid-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: stretch;
}

.grid-bento__cell {
  grid-column: span 4;
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: linear-gradient(160deg, rgba(27, 38, 59, 0.72), rgba(13, 27, 42, 0.5));
  box-shadow: var(--shadow-card);
  padding: clamp(1rem, 2vw, 1.75rem);
  min-width: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.grid-bento__cell:hover {
  border-color: rgba(123, 47, 255, 0.4);
  box-shadow: 0 0 22px rgba(123, 47, 255, 0.12), var(--shadow-card);
}

.grid-bento__cell.is-focus {
  border-color: rgba(245, 197, 66, 0.4);
  background: linear-gradient(160deg, rgba(30, 42, 66, 0.9), rgba(13, 27, 42, 0.64));
  box-shadow: 0 0 30px rgba(245, 197, 66, 0.1), var(--shadow-card);
}

.grid-bento__cell.is-focus::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  pointer-events: none;
}

.bento-span-12 { grid-column: span 12; }
.bento-span-8 { grid-column: span 8; }
.bento-span-6 { grid-column: span 6; }
.bento-span-5 { grid-column: span 5; }
.bento-span-4 { grid-column: span 4; }
.bento-span-3 { grid-column: span 3; }
.bento-span-2 { grid-column: span 2; }

/* ===== Cards ===== */
.card {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: linear-gradient(160deg, rgba(27, 38, 59, 0.72), rgba(13, 27, 42, 0.5));
  box-shadow: var(--shadow-card);
  padding: clamp(1rem, 2vw, 1.75rem);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.card--focus {
  border-color: rgba(245, 197, 66, 0.35);
  box-shadow: 0 0 24px rgba(245, 197, 66, 0.08), var(--shadow-card);
}

.card--glow {
  box-shadow: 0 0 26px rgba(123, 47, 255, 0.18), var(--shadow-card);
}

.card__title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 0.75rem;
  text-shadow: none;
}

.card__body {
  color: var(--color-silver);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ===== Badges ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 47, 255, 0.4);
  background: rgba(123, 47, 255, 0.12);
  color: #d6ccff;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.badge--gold {
  border-color: rgba(245, 197, 66, 0.4);
  background: rgba(245, 197, 66, 0.1);
  color: var(--color-gold);
}

.badge--hot {
  border-color: rgba(255, 107, 53, 0.4);
  background: rgba(255, 107, 53, 0.12);
  color: var(--color-amber);
}

/* ===== Section Head ===== */
.section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-head .section-title {
  flex: 1;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.section-sub {
  color: var(--color-silver);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.section-note {
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--color-silver);
  opacity: 0.6;
  white-space: nowrap;
  line-height: 1.7;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  margin: 1.25rem 0 1.75rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.breadcrumb__link {
  color: var(--color-silver);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
  margin: 0 0.2rem;
}

.breadcrumb__item--current {
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ===== Decorative ===== */
.tilt-line {
  display: block;
  width: 90px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-purple), transparent);
  transform: skewX(-22deg);
}

.v-note {
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--color-silver);
  opacity: 0.7;
  line-height: 1.6;
  white-space: nowrap;
}

.star-field {
  position: relative;
  overflow: hidden;
}

.star-field::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.35), transparent 100%),
    radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.25), transparent 100%),
    radial-gradient(1.5px 1.5px at 65% 25%, rgba(255, 255, 255, 0.3), transparent 100%),
    radial-gradient(1px 1px at 80% 55%, rgba(123, 47, 255, 0.45), transparent 100%),
    radial-gradient(1.5px 1.5px at 90% 75%, rgba(245, 197, 66, 0.3), transparent 100%);
}

.star-field > * {
  position: relative;
  z-index: 1;
}

.divider {
  height: 1px;
  border: none;
  margin: clamp(2rem, 4vw, 3.5rem) 0;
  background: linear-gradient(90deg, transparent, rgba(123, 47, 255, 0.5), rgba(245, 197, 66, 0.5), transparent);
}

/* ===== Media ===== */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.1), rgba(245, 197, 66, 0.05));
}

.media--16-9 {
  aspect-ratio: 16 / 9;
}

.media--4-3 {
  aspect-ratio: 4 / 3;
}

.media--1-1 {
  aspect-ratio: 1 / 1;
}

.media__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(192, 200, 208, 0.4);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: rgba(27, 38, 59, 0.6);
  color: var(--color-silver);
  font-family: var(--font-accent);
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pagination__link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.pagination__link--current {
  background: var(--color-purple);
  border-color: var(--color-purple);
  color: var(--color-white);
}

/* ===== Utilities ===== */
.text-accent {
  font-family: var(--font-accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.text-gold {
  color: var(--color-gold);
}

/* ===== Reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ===== Accessibility ===== */
:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 3px;
  border-radius: 2px;
}

@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;
    transition-delay: 0s !important;
  }

  [data-reveal],
  [data-reveal][data-revealed] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .brand__mark {
    animation: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 979px) {
  .nav-toggle {
    display: block;
  }

  .header-nav__cta {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 120;
    margin: 0;
    background:
      radial-gradient(circle at 70% 20%, rgba(123, 47, 255, 0.22), transparent 60%),
      radial-gradient(circle at 20% 80%, rgba(245, 197, 66, 0.08), transparent 50%),
      var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  .site-nav__link {
    font-size: 1.35rem;
    padding: 0.6rem 1.2rem;
    letter-spacing: 0.12em;
  }

  .site-nav__link[aria-current="page"]::after {
    left: 18px;
    right: 18px;
  }

  .site-nav__cta {
    display: inline-flex;
    margin-top: 0.6rem;
  }

  .footer-main__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .grid-bento__cell,
  .bento-span-12,
  .bento-span-8,
  .bento-span-6,
  .bento-span-5,
  .bento-span-4 {
    grid-column: span 6;
  }

  .bento-span-3,
  .bento-span-2 {
    grid-column: span 4;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 76px;
  }

  .header-meta {
    display: none;
  }

  .site-header {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }

  .brand__note {
    display: none;
  }

  .brand__cn {
    font-size: 1.15rem;
  }

  .brand__en {
    font-size: 0.55rem;
  }

  .header-nav {
    height: 60px;
  }

  .header-nav__inner {
    gap: 0.75rem;
  }

  #main-content {
    scroll-margin-top: 60px;
  }

  .footer-main {
    padding-top: 2.5rem;
  }

  .footer-main__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 567px) {
  .grid-bento__cell,
  .bento-span-12,
  .bento-span-8,
  .bento-span-6,
  .bento-span-5,
  .bento-span-4,
  .bento-span-3,
  .bento-span-2 {
    grid-column: span 12;
  }

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

  .replay-toolbar__panel {
    min-width: 158px;
  }

  .replay-toolbar__toggle {
    padding: 0.65rem 0.9rem 0.65rem 0.75rem;
    font-size: 0.8rem;
  }
}
