/* ===========================================================
   完美体育竞界 Site CSS
   =========================================================== */

/* ---------- 1. Variables ---------- */
:root {
  --primary-bg: #0a0e1a;
  --accent-neon: #39ff14;
  --accent-orange: #ff6a00;
  --text-light: #e0e6ff;
  --text-muted: #8a94b0;
  --card-bg: #141a2e;
  --metal-silver: #c0c0c0;
  --matt-black: #111111;
  --live-red: #ff3b3b;

  --font-heading: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-body: "JetBrains Mono", "SF Mono", "Fira Code", "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;

  --header-width: 264px;
  --scorebar-height: 44px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition-base: 0.3s ease-out;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --glow-neon: 0 0 16px rgba(57, 255, 20, 0.35);
  --glow-orange: 0 0 16px rgba(255, 106, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(192, 192, 192, 0.3) transparent;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-light);
  background-color: var(--primary-bg);
  background-image:
    linear-gradient(rgba(224, 230, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 230, 255, 0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-neon);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--accent-orange);
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

address {
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-light);
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-style: italic;
}

h3 {
  font-size: 20px;
  font-style: italic;
}

::selection {
  background: var(--accent-neon);
  color: var(--matt-black);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--accent-neon);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus,
button:focus,
[tabindex]:focus {
  outline: 3px solid var(--accent-neon);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
[tabindex]:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- 3. Shared Layout ---------- */

#main-content {
  margin-left: var(--header-width);
  padding-top: var(--scorebar-height);
  min-height: 100vh;
  display: block;
}

.main-content {
  margin-left: var(--header-width);
  padding-top: var(--scorebar-height);
  min-height: 100vh;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

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

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

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

/* ---------- 4. Skip Link ---------- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1006;
  background: var(--accent-neon);
  color: var(--matt-black);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top 0.3s ease-out;
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.4);
}

.skip-link:focus {
  top: 0;
  color: var(--matt-black);
}

/* ---------- 5. Progress Bar ---------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-neon), var(--accent-orange));
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 1005;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.5);
  transition: transform 0.1s linear;
}

/* ---------- 6. Score Bar ---------- */
.score-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--scorebar-height);
  z-index: 1003;
  background: var(--matt-black);
  border-bottom: 1px solid rgba(192, 192, 192, 0.12);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.score-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
  opacity: 0.4;
}

.score-bar__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 0 24px 0 16px;
}

.score-bar__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--live-red);
  background: rgba(255, 59, 59, 0.1);
  border: 1px solid rgba(255, 59, 59, 0.35);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}

.score-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live-red);
  animation: pulse-dot 1.6s ease-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.5);
  }
  50% {
    opacity: 0.75;
    box-shadow: 0 0 0 6px rgba(255, 59, 59, 0);
  }
}

.score-bar__match {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-bar__score {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-neon);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

.score-bar__meta {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767.98px) {
  .score-bar__inner {
    gap: 10px;
    padding: 0 10px 0 8px;
  }
  .score-bar__live {
    font-size: 10px;
    padding: 1px 7px;
  }
  .score-bar__match {
    font-size: 13px;
    flex: 1;
    min-width: 0;
  }
  .score-bar__meta {
    display: none;
  }
}

/* ---------- 7. Site Header (Sidebar) ---------- */
.site-header {
  position: fixed;
  top: var(--scorebar-height);
  left: 0;
  width: var(--header-width);
  height: calc(100vh - var(--scorebar-height));
  z-index: 1001;
  background: var(--card-bg);
  border-right: 1px solid rgba(192, 192, 192, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 16px;
  border-bottom: 1px solid rgba(192, 192, 192, 0.06);
  flex-shrink: 0;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: inherit;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-neon);
  color: var(--matt-black);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 17px;
  font-style: italic;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  position: relative;
  flex-shrink: 0;
  text-shadow: none;
  transition: box-shadow var(--transition-base);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(10, 14, 26, 0.3);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.brand:hover .brand__mark {
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.brand__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-light);
  line-height: 1.2;
  white-space: nowrap;
}

.brand__name em {
  font-style: normal;
  color: var(--accent-neon);
  margin-left: 4px;
}

.brand--footer .brand__mark {
  background: var(--accent-orange);
  transition: box-shadow var(--transition-base);
}

.brand--footer:hover .brand__mark {
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.4);
}

.brand--footer .brand__name em {
  color: var(--accent-orange);
}

@media (max-width: 767.98px) {
  .brand__mark {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .brand__name {
    font-size: 16px;
  }
}

/* Navigation */
.site-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0 16px;
}

.site-nav__list {
  counter-reset: nav-item;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: auto;
}

.site-nav__item {
  counter-increment: nav-item;
}

.site-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px 11px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.site-nav__link::before {
  content: "0" counter(nav-item);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  min-width: 28px;
  color: var(--text-muted);
  line-height: 1;
  border-right: 1px solid rgba(192, 192, 192, 0.14);
  padding-right: 8px;
  opacity: 0.65;
  transition: color var(--transition-base), opacity var(--transition-base);
}

.site-nav__link:hover {
  color: var(--text-light);
  background: rgba(224, 230, 255, 0.04);
  border-left-color: var(--metal-silver);
}

.site-nav__link:hover::before {
  color: var(--metal-silver);
  opacity: 1;
}

.site-nav__link[aria-current="page"] {
  color: var(--accent-neon);
  border-left-color: var(--accent-neon);
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.09), transparent);
  text-shadow: 0 0 16px rgba(57, 255, 20, 0.35);
}

.site-nav__link[aria-current="page"]::before {
  color: var(--accent-neon);
  opacity: 1;
  border-right-color: rgba(57, 255, 20, 0.4);
}

/* Sidebar aside */
.site-header__aside {
  margin-top: auto;
  padding: 16px 16px 8px;
  border-top: 1px solid rgba(192, 192, 192, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-header__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-light);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.1), rgba(57, 255, 20, 0.02));
  border: 1px solid rgba(57, 255, 20, 0.18);
  transition: border-color var(--transition-base), background-color var(--transition-base), color var(--transition-base);
  text-decoration: none;
}

.site-header__link:hover {
  border-color: rgba(57, 255, 20, 0.5);
  color: var(--accent-neon);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.16), rgba(57, 255, 20, 0.04));
}

.site-header__link-icon {
  font-size: 16px;
  color: var(--accent-neon);
}

.site-header__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
}

.site-header__meta-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* Nav toggle (mobile only visible) */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(192, 192, 192, 0.25);
  border-radius: 999px;
  background: var(--matt-black);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: border-color var(--transition-base), color var(--transition-base);
}

.nav-toggle:hover {
  border-color: var(--accent-neon);
  color: var(--accent-neon);
}

.nav-toggle__lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-toggle__line {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: background var(--transition-base), transform var(--transition-base);
}

.nav-toggle:hover .nav-toggle__line {
  background: var(--accent-neon);
}

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

.nav-toggle__text {
  font-size: 12px;
}

/* Nav backdrop */
.nav-backdrop {
  position: fixed;
  top: calc(var(--scorebar-height) + 56px);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 5, 12, 0.65);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

body.nav-lock .nav-backdrop {
  opacity: 1;
  visibility: visible;
}

body.nav-lock {
  overflow: hidden;
}

/* Mobile / tablet (<=1023px) */
@media (max-width: 1023.98px) {
  #main-content,
  .main-content {
    margin-left: 0;
    padding-top: calc(var(--scorebar-height) + 56px);
  }

  .site-header {
    top: var(--scorebar-height);
    left: 0;
    right: 0;
    width: 100%;
    height: 56px;
    flex-direction: row;
    align-items: center;
    padding: 0 0;
    border-bottom: 1px solid rgba(192, 192, 192, 0.08);
    overflow: visible;
    border-right: none;
  }

  .site-header__bar {
    flex: 1;
    height: 100%;
    padding: 0 12px 0 12px;
    border-bottom: none;
  }

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

  .site-nav {
    position: fixed;
    top: calc(var(--scorebar-height) + 56px);
    bottom: 0;
    left: 0;
    width: min(320px, 85vw);
    background: var(--card-bg);
    border-right: 1px solid rgba(192, 192, 192, 0.1);
    transform: translateX(-102%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1002;
    overflow-y: auto;
    padding: 16px 16px 24px;
    box-shadow: 12px 0 32px rgba(0, 0, 0, 0.4);
  }

  .site-nav[data-open="true"],
  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav__list {
    margin-bottom: 24px;
  }

  .site-nav__link {
    font-size: 16px;
    padding: 13px 16px 13px 20px;
  }

  .site-header__aside {
    margin-top: 0;
    padding: 8px 4px 0;
  }

  .site-header__meta {
    padding-left: 14px;
  }
}

@media (max-width: 479.98px) {
  .site-header__bar {
    padding: 0 8px 0 8px;
  }

  .brand__name {
    font-size: 15px;
  }

  .brand__name em {
    margin-left: 2px;
  }

  .nav-toggle__text {
    display: none;
  }

  .nav-toggle {
    padding: 8px 10px;
  }
}

/* ---------- 8. Footer ---------- */
.site-footer {
  background: var(--matt-black);
  border-top: 1px solid rgba(192, 192, 192, 0.08);
  margin-left: var(--header-width);
  padding: 48px 0 0;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-neon), var(--accent-orange));
  opacity: 0.28;
}

.site-footer__wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 24px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(192, 192, 192, 0.08);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.site-footer__statement {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 380px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer__heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
  position: relative;
  padding-left: 12px;
}

.site-footer__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-block;
  transition: color var(--transition-base), padding-left var(--transition-base);
}

.site-footer__links a:hover {
  color: var(--accent-neon);
  padding-left: 4px;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  word-break: break-all;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(138, 148, 176, 0.7);
}

.site-footer__bottom span {
  font-family: var(--font-body);
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .site-footer {
    margin-left: 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    margin-left: 0;
    padding: 36px 0 0;
  }

  .site-footer__wrap {
    padding: 0 20px 20px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 24px;
  }

  .site-footer__statement {
    max-width: 100%;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ---------- 9. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform 0.2s ease-out, box-shadow var(--transition-base);
}

.btn--primary {
  background: var(--accent-neon);
  color: var(--matt-black);
}

.btn--primary:hover {
  background: #52ff2e;
  color: var(--matt-black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57, 255, 20, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(224, 230, 255, 0.25);
}

.btn--secondary:hover {
  border-color: var(--accent-neon);
  color: var(--accent-neon);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 8px 16px;
  font-size: 13px;
  border-color: transparent;
}

.btn--ghost:hover {
  color: var(--text-light);
  background: rgba(224, 230, 255, 0.05);
}

/* ---------- 10. Breadcrumb ---------- */
.breadcrumb {
  margin-bottom: 24px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item:not(:last-child)::after {
  content: "/";
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb__link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

.breadcrumb__item[aria-current="page"] {
  color: var(--text-light);
  font-weight: 500;
}

/* ---------- 11. Section ---------- */
.section {
  padding: 64px 0;
}

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

.section--accent {
  background: var(--card-bg);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
  color: var(--text-light);
  position: relative;
  padding-left: 16px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background: var(--accent-neon);
  border-radius: 2px;
  transform: skewX(-20deg);
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.page-title {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 900;
  font-style: italic;
  line-height: 1.08;
  color: var(--text-light);
  position: relative;
  display: inline-block;
}

.page-title::after {
  content: "";
  position: absolute;
  right: -12px;
  top: -2px;
  bottom: -2px;
  width: 5px;
  background: var(--accent-orange);
  transform: skewX(-20deg);
  border-radius: 2px;
  opacity: 0.85;
}

/* ---------- 12. Cards ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid rgba(192, 192, 192, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.card--hover:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.4);
  box-shadow: var(--shadow-card), 0 0 16px rgba(57, 255, 20, 0.08);
}

.card--accent {
  border-left: 3px solid var(--accent-orange);
}

/* ---------- 13. Grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

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

.grid--12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.grid--12 > * {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .grid--12 > .col--3 {
    grid-column: span 3;
  }
  .grid--12 > .col--4 {
    grid-column: span 4;
  }
  .grid--12 > .col--6 {
    grid-column: span 6;
  }
  .grid--12 > .col--8 {
    grid-column: span 8;
  }
}

@media (max-width: 767.98px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
  .grid--12 {
    gap: 16px;
  }
}

/* ---------- 14. Tag ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid rgba(192, 192, 192, 0.22);
  color: var(--text-muted);
  background: rgba(224, 230, 255, 0.04);
  white-space: nowrap;
}

.tag--live {
  color: var(--live-red);
  border-color: rgba(255, 59, 59, 0.4);
  background: rgba(255, 59, 59, 0.08);
}

.tag--hot {
  color: var(--accent-neon);
  border-color: rgba(57, 255, 20, 0.3);
  background: rgba(57, 255, 20, 0.06);
}

.tag--focus {
  color: var(--accent-orange);
  border-color: rgba(255, 106, 0, 0.4);
  background: rgba(255, 106, 0, 0.08);
}

/* ---------- 15. Data Number ---------- */
.data-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--accent-neon);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.4);
}

/* ---------- 16. Image Frame ---------- */
.image-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--card-bg), var(--matt-black));
  border: 1px solid rgba(192, 192, 192, 0.1);
  aspect-ratio: 16 / 9;
  min-height: 180px;
}

.image-frame--portrait {
  aspect-ratio: 4 / 5;
}

.image-frame--square {
  aspect-ratio: 1 / 1;
}

.image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}

.image-frame:hover img {
  transform: scale(1.03);
}

/* ---------- 17. Alert ---------- */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
  background: rgba(224, 230, 255, 0.04);
}

.alert--info {
  border-color: rgba(57, 255, 20, 0.3);
  background: rgba(57, 255, 20, 0.06);
}

.alert--warning {
  border-color: rgba(255, 106, 0, 0.4);
  background: rgba(255, 106, 0, 0.08);
}

/* ---------- 18. Table ---------- */
.table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.table th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: italic;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(10, 14, 26, 0.5);
}

.table td {
  color: var(--text-light);
}

.table tr:hover td {
  background: rgba(57, 255, 20, 0.03);
}

/* ---------- 19. Prose ---------- */
.prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-light);
}

.prose p {
  margin-bottom: 1em;
}

.prose strong {
  color: var(--text-light);
}

.prose em {
  color: var(--accent-neon);
  font-style: normal;
}

.prose a {
  color: var(--accent-neon);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose h2,
.prose h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-style: italic;
}

.prose ul,
.prose ol {
  margin: 1em 0;
  padding-left: 1.5em;
}

.prose ul {
  list-style: square;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose blockquote {
  border-left: 3px solid var(--accent-orange);
  padding: 8px 20px;
  margin: 16px 0;
  color: var(--text-muted);
  background: rgba(255, 106, 0, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ---------- 20. Reveal Animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal][data-reveal-delay="100"] {
  transition-delay: 0.1s;
}

[data-reveal][data-reveal-delay="200"] {
  transition-delay: 0.2s;
}

[data-reveal][data-reveal-delay="300"] {
  transition-delay: 0.3s;
}

/* ---------- 21. Responsive & Motion Preferences ---------- */
@media (max-width: 1023.98px) {
  .section {
    padding: 40px 0;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 32px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .score-bar__dot {
    animation: none !important;
  }
}

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

.reduce-motion [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.reduce-motion .score-bar__dot {
  animation: none !important;
}

/* ---------- 22. Misc Utilities ---------- */
.text-muted {
  color: var(--text-muted);
}

.text-accent {
  color: var(--accent-neon);
}

.text-orange {
  color: var(--accent-orange);
}

.font-heading {
  font-family: var(--font-heading);
}

.font-body {
  font-family: var(--font-body);
}

.slant-line {
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-neon), var(--accent-orange));
  transform: skewX(-30deg);
  border-radius: 2px;
  margin: 12px 0 0;
}
