/* ============================================================
   SITE.CSS — m6米乐赛场 全站共享样式
   设计原型：赛事直播控制台 HUD / 技术蓝图网格
   色板：深空蓝 #0A1128 / 荧光绿 #39FF88 / 橙红 #FF6B35 / 山城金 #FFD700
   ============================================================ */

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

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

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #C0C8D8;
  background-color: #0A1128;
  background-image:
    radial-gradient(ellipse at 80% -10%, rgba(11, 29, 58, 0.7), transparent 60%),
    radial-gradient(ellipse at 10% 110%, rgba(255, 107, 53, 0.06), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* 蓝色图谱背景网格层 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(57, 255, 136, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 136, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10, 17, 40, 0.6), transparent);
  pointer-events: none;
}

/* ---------- 2. Design Tokens ---------- */
:root {
  --color-deep: #0A1128;
  --color-deep-2: #0B1D3A;
  --color-neon: #39FF88;
  --color-orange: #FF6B35;
  --color-rose: #FF2D55;
  --color-gold: #FFD700;
  --color-ink: #1A233A;
  --color-text: #C0C8D8;
  --color-white: #FFFFFF;

  --font-heading: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --text-display: 3.5rem;
  --text-h1: 2.75rem;
  --text-h2: 2rem;
  --text-h3: 1.5rem;
  --text-body: 1rem;
  --text-small: 0.875rem;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;

  --container-width: 1280px;
  --header-h: 72px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 60px;

  --shadow-neon: 0 0 22px rgba(57, 255, 136, 0.22);
  --shadow-orange: 0 0 22px rgba(255, 107, 53, 0.22);
  --border-light: 1px solid rgba(57, 255, 136, 0.16);
  --border-white: 1px solid rgba(255, 255, 255, 0.08);

  --z-header: 100;
  --z-nav: 90;
  --z-progress: 150;
  --z-skip: 300;
  --z-back-top: 60;
}

/* ---------- 3. Base Elements ---------- */
::selection {
  background: var(--color-neon);
  color: var(--color-deep);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--color-ink);
  border-radius: 6px;
  border: 2px solid var(--color-deep);
}

::-webkit-scrollbar-thumb:hover {
  background: #2A3A5E;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p {
  margin-bottom: 1em;
}

a {
  color: var(--color-neon);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--color-white);
}

ul, ol {
  list-style: none;
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
}

/* ---------- 4. Accessibility & Focus ---------- */
:focus-visible {
  outline: 2px solid var(--color-neon);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible,
.brand:focus-visible,
.site-nav__link:focus-visible {
  outline-color: var(--color-white);
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 24px;
  z-index: var(--z-skip);
  background: var(--color-neon);
  color: var(--color-deep);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 0 0 14px 14px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(57, 255, 136, 0.4);
  transition: top 0.25s ease;
}

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

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

#main-content {
  position: relative;
  z-index: 1;
  min-height: 70vh;
  padding-top: calc(var(--header-h) + 32px);
}

.section {
  position: relative;
  padding: var(--space-6) 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(11, 29, 58, 0.5), rgba(10, 17, 40, 0.2));
  border-top: 1px solid var(--border-white);
  border-bottom: 1px solid var(--border-white);
}

.section__header {
  margin-bottom: var(--space-4);
}

.section__index {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-neon);
  margin-bottom: 10px;
}

.section__index::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--color-neon);
  opacity: 0.7;
}

.section__title {
  font-size: var(--text-h2);
  margin-bottom: 12px;
}

.section__sub {
  max-width: 680px;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: var(--space-3);
}

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

/* ---------- 6. Split Hero Layout ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
  width: 100%;
}

/* ---------- 7. Header & Nav ---------- */
.site-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  padding-inline: 24px;
  transition: top 0.3s ease;
}

.site-header__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 8px 10px 8px 24px;
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header[data-scrolled="true"] .site-header__inner,
.site-header[data-open="true"] .site-header__inner {
  background: rgba(10, 17, 40, 0.96);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(57, 255, 136, 0.08),
    var(--shadow-neon);
  border-color: rgba(57, 255, 136, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--color-white);
}

.brand__mark {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-neon);
  background: rgba(57, 255, 136, 0.1);
  border: 1px solid rgba(57, 255, 136, 0.3);
  border-radius: 12px;
  padding: 6px 12px;
  text-shadow: 0 0 14px rgba(57, 255, 136, 0.5);
  box-shadow: 0 0 16px rgba(57, 255, 136, 0.1);
}

.brand__name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-white);
  white-space: nowrap;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--color-deep);
  background: var(--color-neon);
  box-shadow: 0 0 24px rgba(57, 255, 136, 0.35);
  transform: translateY(-1px);
}

.site-nav__link[aria-current="page"] {
  color: var(--color-neon);
  font-weight: 700;
  background: rgba(57, 255, 136, 0.06);
}

.site-nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-neon);
  box-shadow: 0 0 10px rgba(57, 255, 136, 0.7);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: calc(var(--z-header) + 1);
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(10, 17, 40, 0.6);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.nav-toggle:hover {
  border-color: var(--color-neon);
  background: rgba(57, 255, 136, 0.06);
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-neon);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* ---------- 8. Mobile Nav ---------- */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    padding: calc(var(--header-h) + 28px) 24px 32px;
    background: linear-gradient(180deg, rgba(10, 17, 40, 0.98), rgba(11, 29, 58, 0.95));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(57, 255, 136, 0.18);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    transform: translateY(-110%);
    visibility: hidden;
    transition:
      transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0.4s;
  }

  .site-nav[data-open="true"],
  .site-header[data-open="true"] .site-nav {
    transform: translateY(0);
    visibility: visible;
    transition:
      transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0s;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 6px;
  }

  .site-nav__item {
    width: 100%;
  }

  .site-nav__link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 22px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 14px;
  }

  .site-nav__link:hover,
  .site-nav__link:focus-visible {
    color: var(--color-neon);
    background: rgba(57, 255, 136, 0.08);
    box-shadow: none;
    transform: none;
  }

  .site-nav__link[aria-current="page"] {
    color: var(--color-neon);
    background: rgba(57, 255, 136, 0.08);
  }

  .site-nav__link[aria-current="page"]::after {
    left: 10px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(57, 255, 136, 0.6);
  }

  .site-header[data-open="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header[data-open="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .site-header[data-open="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ---------- 9. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  background: linear-gradient(180deg, var(--color-deep) 0%, #050814 100%);
  border-top: 1px solid var(--border-white);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-neon) 30%, var(--color-orange) 70%, transparent);
  opacity: 0.7;
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 20px,
    rgba(57, 255, 136, 0.014) 20px 21px
  );
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-4);
}

.site-footer__brand .brand {
  margin-bottom: 16px;
}

.brand--footer .brand__mark {
  background: rgba(57, 255, 136, 0.06);
  border-color: rgba(57, 255, 136, 0.35);
  box-shadow: none;
}

.brand--footer .brand__name {
  font-size: 1rem;
}

.site-footer__slogan {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-neon);
  margin-bottom: 10px;
}

.site-footer__address,
.site-footer__response {
  font-size: var(--text-small);
  color: rgba(192, 200, 216, 0.65);
  line-height: 1.7;
  margin-bottom: 4px;
}

.site-footer__col {
  min-width: 0;
}

.site-footer__heading {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 16px;
  padding-left: 14px;
  position: relative;
}

.site-footer__heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, var(--color-neon), var(--color-orange));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(57, 255, 136, 0.4);
}

.site-footer__list {
  display: grid;
  gap: 10px;
}

.site-footer__list a {
  display: inline-block;
  color: rgba(192, 200, 216, 0.8);
  font-size: 0.9rem;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.site-footer__list a:hover {
  color: var(--color-neon);
  padding-left: 6px;
}

.site-footer__list--contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(192, 200, 216, 0.8);
  line-height: 1.6;
}

.site-footer__list--contact li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-neon);
  opacity: 0.55;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(57, 255, 136, 0.3);
}

.site-footer__stateline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: var(--space-5);
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(192, 200, 216, 0.42);
  white-space: nowrap;
  overflow: hidden;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 20px 0 26px;
  font-size: var(--text-small);
  color: rgba(192, 200, 216, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 18px;
}

.site-footer__bottom p {
  margin-bottom: 0;
}

/* ---------- 10. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  color: inherit;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--color-neon) 0%, #2ECC71 100%);
  color: var(--color-deep);
  box-shadow: 0 4px 20px rgba(57, 255, 136, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 6px 28px rgba(57, 255, 136, 0.45);
}

.btn--secondary {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-rose) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.28);
}

.btn--secondary:hover {
  box-shadow: 0 6px 28px rgba(255, 107, 53, 0.42);
}

.btn--ghost {
  background: transparent;
  color: var(--color-neon);
  border: 1px solid rgba(57, 255, 136, 0.45);
}

.btn--ghost:hover {
  background: rgba(57, 255, 136, 0.1);
  box-shadow: var(--shadow-neon);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 30px;
}

/* ---------- 11. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 0 20px;
  font-size: var(--text-small);
  color: rgba(192, 200, 216, 0.6);
}

.breadcrumb a {
  color: var(--color-neon);
}

.breadcrumb__sep {
  color: rgba(192, 200, 216, 0.3);
  user-select: none;
}

.breadcrumb__current {
  color: var(--color-white);
  font-weight: 500;
}

/* ---------- 12. Panels & Cards ---------- */
.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(11, 29, 58, 0.6), var(--color-ink));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--space-4);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.panel:hover {
  transform: translateY(-2px);
}

.panel--monitor {
  border-color: rgba(57, 255, 136, 0.16);
  box-shadow: 0 0 0 1px rgba(57, 255, 136, 0.04), 0 8px 32px rgba(0, 0, 0, 0.25);
}

.panel--monitor:hover {
  border-color: rgba(57, 255, 136, 0.3);
  box-shadow: 0 0 0 1px rgba(57, 255, 136, 0.06), 0 8px 32px rgba(0, 0, 0, 0.3), var(--shadow-neon);
}

.panel--monitor::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-neon), transparent);
  border-radius: 2px 0 0 0;
}

.panel--outline {
  background: transparent;
  border: 1px solid rgba(57, 255, 136, 0.22);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(11, 29, 58, 0.5), rgba(10, 17, 40, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--space-4);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 255, 136, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.card__title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.card__title a {
  color: var(--color-white);
}

.card__title a:hover {
  color: var(--color-neon);
}

.card__desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(192, 200, 216, 0.8);
  margin-bottom: 16px;
  flex: 1;
}

.card__link,
.card__meta {
  font-size: var(--text-small);
  color: var(--color-neon);
  letter-spacing: 0.02em;
}

/* ---------- 13. Tags & Labels ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: rgba(57, 255, 136, 0.08);
  color: var(--color-neon);
  border: 1px solid rgba(57, 255, 136, 0.22);
}

.tag--gold {
  background: rgba(255, 215, 0, 0.08);
  color: var(--color-gold);
  border-color: rgba(255, 215, 0, 0.25);
}

.tag--orange {
  background: rgba(255, 107, 53, 0.08);
  color: var(--color-orange);
  border-color: rgba(255, 107, 53, 0.25);
}

.coord-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(192, 200, 216, 0.5);
}

.coord-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-neon);
  opacity: 0.5;
}

.dial-line {
  display: block;
  width: 100%;
  height: 1px;
  border: none;
  margin: var(--space-3) 0;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 136, 0.35), rgba(255, 107, 53, 0.3), transparent);
}

/* ---------- 14. Accordion ---------- */
.accordion {
  display: grid;
  gap: 12px;
}

.accordion__item {
  background: linear-gradient(180deg, rgba(11, 29, 58, 0.5), rgba(10, 17, 40, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.accordion__item[open] {
  border-color: rgba(57, 255, 136, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.accordion__summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-white);
  line-height: 1.4;
}

.accordion__summary::-webkit-details-marker {
  display: none;
}

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

.accordion__num {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-small);
  color: var(--color-neon);
  min-width: 34px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.accordion__icon {
  margin-left: auto;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(57, 255, 136, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--color-neon);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.accordion__item[open] .accordion__icon {
  transform: rotate(45deg);
  background: var(--color-neon);
  color: var(--color-deep);
  border-color: var(--color-neon);
}

.accordion__content {
  padding: 0 20px 20px;
  color: var(--color-text);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ---------- 15. Image Placeholder ---------- */
.image-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  background: linear-gradient(135deg, var(--color-deep-2) 0%, var(--color-ink) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(57, 255, 136, 0.018) 0 10px,
    rgba(255, 107, 53, 0.018) 10px 20px
  );
  pointer-events: none;
}

.image-placeholder::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 70%;
  height: 180%;
  background: linear-gradient(100deg, transparent, rgba(57, 255, 136, 0.05), transparent);
  transform: rotate(15deg);
  pointer-events: none;
}

.image-placeholder--landscape {
  aspect-ratio: 16 / 9;
}

.image-placeholder--portrait {
  aspect-ratio: 3 / 4;
}

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

.image-placeholder--hero {
  aspect-ratio: 16 / 10;
  min-height: 320px;
}

/* ---------- 16. Page Hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 20px;
  right: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(57, 255, 136, 0.09), transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(90deg, var(--color-neon), var(--color-orange));
  opacity: 0.08;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.page-hero__title {
  font-size: var(--text-h1);
  max-width: 800px;
}

.page-hero__sub {
  margin-top: 14px;
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* ---------- 17. Prose / Reading Content ---------- */
.prose {
  max-width: 720px;
  line-height: 1.8;
  color: var(--color-text);
}

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

.prose h2,
.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

.prose ul {
  list-style: disc;
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}

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

.prose strong {
  color: var(--color-white);
  font-weight: 600;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 18. Scroll Progress & Back to Top ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: var(--z-progress);
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.scroll-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-neon) 0%, var(--color-orange) 60%, var(--color-rose) 100%);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  box-shadow: 0 0 12px rgba(57, 255, 136, 0.4);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: var(--z-back-top);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(57, 255, 136, 0.3);
  background: rgba(10, 17, 40, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-neon);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--color-neon);
  box-shadow: var(--shadow-neon);
  color: var(--color-white);
}

/* ---------- 19. Utilities ---------- */
.text-neon { color: var(--color-neon); }
.text-white { color: var(--color-white); }
.text-gold { color: var(--color-gold); }
.text-orange { color: var(--color-orange); }
.text-muted { color: rgba(192, 200, 216, 0.6); }
.text-small { font-size: var(--text-small); }
.text-center { text-align: center; }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }

/* ---------- 20. Responsive Global ---------- */
@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .site-footer__brand {
    grid-column: span 2;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

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

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

@media (max-width: 640px) {
  :root {
    --text-display: 2.6rem;
    --text-h1: 2.1rem;
    --text-h2: 1.55rem;
    --text-h3: 1.2rem;
  }

  .container {
    padding-inline: 16px;
  }

  .site-header {
    padding-inline: 12px;
    top: 8px;
  }

  .site-header__inner {
    border-radius: 32px;
    padding: 8px 8px 8px 16px;
  }

  .brand__name {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
  }

  .brand__mark {
    font-size: 1.25rem;
    padding: 5px 9px;
    border-radius: 10px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

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

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

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

  .site-footer__stateline {
    display: none;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ---------- 21. Reduced Motion ---------- */
@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: 0ms !important;
  }

  .scroll-progress::after {
    transition: none;
  }
}
