/* ============ 新竞界 全站共享样式 ============ */
/* 视觉系统：午夜球场 / 数据流编辑部 */

/* ---------- 1. Reset & Variables ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --color-bg: #0B1E3A;
  --color-bg-2: #122A4D;
  --color-bg-3: #1A3A66;
  --color-accent: #39FF14;
  --color-accent-2: #2ECC40;
  --color-orange: #FF6B00;
  --color-text: #E5E5E5;
  --color-paper: #F5EFE6;
  --color-white: #FFFFFF;
  --color-black: #000000;

  --font-headline: "Oswald", "Impact", "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --container: 1280px;
  --header-h: 84px;
  --header-h-mobile: 68px;
  --space-section: clamp(3rem, 8vw, 6rem);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

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

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

#main-content {
  flex: 1 0 auto;
}

#main-content:focus {
  outline: none;
}

::selection {
  background: var(--color-accent);
  color: #000;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-3);
  border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(57, 255, 20, 0.5);
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ---------- 2. Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

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

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

/* ---------- 3. Section System ---------- */
.section {
  position: relative;
  padding-block: var(--space-section);
}

.section--tight {
  padding-block: 2rem;
}

.section--loose {
  padding-block: clamp(4rem, 10vw, 8rem);
}

.section--alt {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-2) 18%, var(--color-bg-2) 82%, var(--color-bg) 100%);
  border-top: 1px solid rgba(57, 255, 20, 0.15);
  border-bottom: 1px solid rgba(57, 255, 20, 0.15);
}

.section__header {
  position: relative;
  margin-bottom: 2.5rem;
  max-width: 760px;
}

.section__index {
  position: absolute;
  top: -0.4em;
  left: -0.25em;
  z-index: 0;
  font-family: var(--font-headline);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(57, 255, 20, 0.25);
  pointer-events: none;
}

.section__header > *:not(.section__index) {
  position: relative;
  z-index: 1;
}

.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--color-orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75em;
}

.section__kicker::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

.section__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section__lead {
  margin-top: 0.9rem;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(229, 229, 229, 0.8);
}

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  color: rgba(57, 255, 20, 0.4);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.4), transparent);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.8em 1.6em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  color: #000;
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: #2EE010;
  border-color: #2EE010;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(57, 255, 20, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
}

.btn--ghost:hover {
  background: rgba(57, 255, 20, 0.1);
  color: #2EE010;
}

.btn--orange {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #000;
}

.btn--orange:hover {
  background: #FF7D24;
  border-color: #FF7D24;
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.35);
}

.btn--sm {
  padding: 0.55em 1.1em;
  font-size: 0.82rem;
}

/* ---------- 5. Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.32em 0.9em;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  background: rgba(57, 255, 20, 0.08);
  color: var(--color-accent);
  border: 1px solid rgba(57, 255, 20, 0.4);
}

.tag--orange {
  background: rgba(255, 107, 0, 0.1);
  color: var(--color-orange);
  border-color: rgba(255, 107, 0, 0.45);
}

.tag--dark {
  background: var(--color-bg-2);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.15);
}

.tag--paper {
  background: var(--color-paper);
  color: var(--color-bg);
  border-color: transparent;
}

/* ---------- 6. Cards ---------- */
.card {
  position: relative;
  background: var(--color-bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(57, 255, 20, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card--paper {
  background: var(--color-paper);
  color: #1a1a1a;
  border-color: transparent;
}

.card--paper .card__title {
  color: #111;
}

.card--paper .card__text {
  color: #333;
}

.card__tag {
  position: absolute;
  top: -10px;
  left: 1rem;
}

.card__title {
  margin-top: 0.6rem;
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-white);
}

.card__text {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(229, 229, 229, 0.75);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 1.1rem;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.card__link::after {
  content: "→";
  transition: transform 0.2s;
}

.card__link:hover::after {
  transform: translateX(4px);
}

/* ---------- 7. Metric & Filter & Panel ---------- */
.metric {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--color-bg-2) 0%, rgba(26, 58, 102, 0.6) 100%);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-left: 4px solid var(--color-accent);
}

.metric__value {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
}

.metric__label {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: rgba(229, 229, 229, 0.65);
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.filter__button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.45em 1.1em;
  background: var(--color-bg-2);
  color: rgba(229, 229, 229, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter__button:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.filter__button[aria-pressed="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #000;
  font-weight: 600;
}

.panel {
  background: var(--color-bg-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.75rem;
}

.panel__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
}

.panel__trigger::after {
  content: "+";
  color: var(--color-accent);
  font-size: 1.3rem;
  transition: transform 0.25s;
}

.panel__trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.panel__content {
  padding: 0 1.25rem 1.25rem;
  color: rgba(229, 229, 229, 0.75);
  line-height: 1.75;
}

/* ---------- 8. Skip Link & Scroll Progress ---------- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 3000;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: #000;
  font-weight: 700;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 2000;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-orange) 100%);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.5);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- 9. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg);
  border-bottom: 1px solid rgba(57, 255, 20, 0.18);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(-55deg, transparent 0 12px, rgba(57, 255, 20, 0.025) 12px 14px);
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  z-index: 0;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 15%, var(--color-orange) 85%, transparent 100%);
  opacity: 0.7;
  pointer-events: none;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(57, 255, 20, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h-mobile);
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

/* --- Brand --- */
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--color-white);
}

.site-brand__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--color-accent);
  color: #000;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.35);
}

.site-brand__logo-flag {
  position: absolute;
  right: 6px;
  bottom: 5px;
  width: 9px;
  height: 9px;
  background: var(--color-orange);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.6);
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-brand__name {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-white);
  text-transform: uppercase;
}

.site-brand__slogan {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-top: 2px;
}

/* --- Update Entry --- */
.site-header__update {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.35);
  color: var(--color-accent);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.site-header__update:hover {
  background: rgba(57, 255, 20, 0.16);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.site-header__update-label {
  display: none;
}

.site-header__update-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--color-orange);
  animation: dot-pulse 1.6s ease-in-out infinite;
}

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

/* --- Nav Toggle --- */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--color-accent);
  transition: transform 0.25s, opacity 0.25s;
}

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

/* --- Nav (mobile-first) --- */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg-2);
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

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

.site-nav__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0.5rem 1.25rem 1.25rem;
}

.site-nav__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav__item:last-child {
  border-bottom: none;
}

.site-nav__link {
  display: flex;
  align-items: center;
  padding: 0.85rem 0.5rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav__link:hover {
  color: var(--color-white);
}

.site-nav__link[aria-current="page"] {
  color: var(--color-accent);
  font-weight: 600;
}

/* --- Desktop nav --- */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-header__inner {
    min-height: var(--header-h);
  }

  .site-nav {
    position: static;
    background: transparent;
    border-top: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
  }

  .site-nav__item {
    border-bottom: none;
  }

  .site-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    font-size: 0.95rem;
  }

  .site-nav__link::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.2rem;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.25s ease;
  }

  .site-nav__link:hover::after,
  .site-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
  }
}

@media (min-width: 760px) {
  .site-header__update {
    width: auto;
    height: auto;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
  }

  .site-header__update-label {
    display: inline;
  }
}

@media (max-width: 380px) {
  .site-brand__slogan {
    display: none;
  }
}

/* ---------- 10. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 4rem;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-3) 140%);
  border-top: 1px solid rgba(57, 255, 20, 0.12);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0% 65%, var(--color-orange) 65% 100%);
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

.site-footer__logo-link {
  display: inline-flex;
  text-decoration: none;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  color: #000;
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.3);
}

.site-footer__name {
  margin-top: 1rem;
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.03em;
}

.site-footer__slogan {
  margin-top: 0.25rem;
  color: var(--color-accent);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.site-footer__heading {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}

.site-footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--color-orange);
}

.site-footer__list li {
  margin-bottom: 0.5rem;
}

.site-footer__list a {
  position: relative;
  color: rgba(229, 229, 229, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s, padding-left 0.2s;
}

.site-footer__list a::before {
  content: "›";
  position: absolute;
  left: -1px;
  opacity: 0;
  color: var(--color-accent);
  transition: opacity 0.2s;
}

.site-footer__list a:hover {
  color: var(--color-accent);
  padding-left: 1em;
}

.site-footer__list a:hover::before {
  opacity: 1;
}

.site-footer__contact .site-footer__list li {
  color: rgba(229, 229, 229, 0.7);
  font-size: 0.92rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(229, 229, 229, 0.55);
}

.site-footer__copyright {
  color: inherit;
}

.site-footer__icp {
  color: inherit;
}

.site-footer__trust {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(229, 229, 229, 0.45);
  text-align: center;
}

/* ---------- 11. Breadcrumb ---------- */
.breadcrumb {
  margin-bottom: 2rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(229, 229, 229, 0.65);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "⁄";
  color: rgba(229, 229, 229, 0.35);
}

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

.breadcrumb__link:hover {
  text-decoration: underline;
}

.breadcrumb__item[aria-current="page"] {
  color: rgba(229, 229, 229, 0.85);
}

/* ---------- 12. Content Area ---------- */
.content-area {
  max-width: 780px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text);
}

.content-area h1 {
  font-family: var(--font-headline);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.content-area h2 {
  font-family: var(--font-headline);
  font-size: 1.8rem;
  color: var(--color-white);
  margin: 2.5rem 0 1rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--color-accent);
  line-height: 1.3;
}

.content-area h3 {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  color: var(--color-accent);
  margin: 2rem 0 0.75rem;
}

.content-area p {
  margin-bottom: 1.25rem;
}

.content-area ul {
  margin: 1.25rem 0;
  padding-left: 1.25rem;
}

.content-area ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
}

.content-area ul li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--color-orange);
}

.content-area a {
  color: var(--color-accent);
}

.content-area strong {
  color: #fff;
}

.content-area blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-orange);
  background: rgba(255, 107, 0, 0.06);
  font-style: italic;
  color: rgba(229, 229, 229, 0.85);
}

/* ---------- 13. Figure / Image Placeholder ---------- */
.figure {
  position: relative;
  margin: 2rem 0;
  background: var(--color-bg-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.figure__img {
  position: relative;
  display: block;
  width: 100%;
  padding-bottom: 56.25%;
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(57, 255, 20, 0.18) 50%, transparent 50.5%),
    var(--color-bg-2);
  overflow: hidden;
  min-height: 120px;
}

.figure__img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 14px 14px;
}

.figure__img::after {
  content: "IMG";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  color: rgba(229, 229, 229, 0.3);
}

.figure--ratio-4x3 .figure__img {
  padding-bottom: 75%;
}

.figure--ratio-3x2 .figure__img {
  padding-bottom: 66.66%;
}

.figure--ratio-square .figure__img {
  padding-bottom: 100%;
}

.figure__caption {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: rgba(229, 229, 229, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- 14. Reveal Motion ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

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

/* ---------- 15. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .site-nav {
    transition: none !important;
  }
}
