*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #0A0E17;
  --bg-surface: #121A24;
  --bg-elevated: #182233;
  --neon: #39FF14;
  --cyan: #00E5FF;
  --orange: #FF5A36;
  --text-primary: #F0F4F8;
  --text-dim: #9AA7B4;
  --text-faint: #6B7A89;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --font-display: "Arial Black", "Haettenschweiler", "SimHei", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-glow-green: 0 0 14px rgba(57, 255, 20, 0.35);
  --shadow-glow-cyan: 0 0 12px rgba(0, 229, 255, 0.3);
  --progress: 0%;
}

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

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(57, 255, 20, 0.05), transparent),
    radial-gradient(ellipse 60% 30% at 100% 20%, rgba(0, 229, 255, 0.03), transparent),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 14px);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
}

small {
  font-size: 0.875rem;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  background: var(--neon);
  color: #06120A;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.9375rem;
  text-decoration: none;
  transform: translateY(-220%);
  transition: transform 0.25s ease;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

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

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

.section {
  padding-block: 72px;
}

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

.section--surface {
  background: var(--bg-surface);
  border-block: 1px solid var(--border);
}

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

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

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

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-title {
  position: relative;
  padding-left: 18px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: var(--neon);
  transform: skewX(-20deg);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

.section-head__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-size: 0.875rem;
  font-weight: 700;
}

.section-head__link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.section-head__link:hover::after {
  transform: translateX(4px);
}

.angled-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block: 16px;
}

.angled-rule::before {
  content: '';
  width: 48px;
  height: 4px;
  background: var(--neon);
  transform: skewX(-24deg);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.35);
}

.angled-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-faint);
  padding-block: 16px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: '/';
  color: var(--text-faint);
  opacity: 0.5;
}

.breadcrumbs a {
  color: var(--cyan);
}

.breadcrumbs a:hover {
  color: var(--text-primary);
}

.breadcrumbs [aria-current="page"] {
  color: var(--text-primary);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn--primary {
  background: var(--neon);
  color: #06120A;
  padding-left: 20px;
  padding-right: 34px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.25));
}

.btn--primary:hover {
  background: #52FF3A;
  filter: drop-shadow(0 0 18px rgba(57, 255, 20, 0.5));
  color: #06120A;
}

.btn--accent {
  background: var(--orange);
  color: #1A0A04;
  box-shadow: 0 0 14px rgba(255, 90, 54, 0.3);
}

.btn--accent:hover {
  background: #FF6F4D;
  box-shadow: 0 0 20px rgba(255, 90, 54, 0.5);
  color: #1A0A04;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: inset 0 0 12px rgba(0, 229, 255, 0.08);
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1.0625rem;
}

.btn--slim {
  padding-block: 8px;
  font-size: 0.875rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
}

.tag--live {
  border-color: rgba(57, 255, 20, 0.45);
  color: var(--neon);
  background: rgba(57, 255, 20, 0.08);
}

.tag--cyber {
  border-color: rgba(0, 229, 255, 0.45);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
}

.tag--hot {
  border-color: rgba(255, 90, 54, 0.5);
  color: var(--orange);
  background: rgba(255, 90, 54, 0.1);
}

.card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.card:hover {
  border-color: rgba(57, 255, 20, 0.4);
  transform: translateY(-2px);
}

.file-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 22px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.file-card:hover {
  border-color: rgba(57, 255, 20, 0.4);
  transform: translateY(-2px);
}

.file-card::before {
  content: attr(data-tag);
  position: absolute;
  top: -19px;
  left: 16px;
  background: linear-gradient(90deg, var(--cyan), #00B8D9);
  color: #03161C;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px 6px 10px;
  border-radius: 6px 0 6px 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.media-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0, 229, 255, 0.08), transparent 60%),
    linear-gradient(135deg, #14202E, #0D1520);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

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

.media-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.media-frame--placeholder::after {
  content: 'MATCH IMG';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(154, 167, 180, 0.4);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame:has(img)::before {
  display: none;
}

.scoreboard {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 14px;
  background: #0C141F;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 14px 22px;
  font-family: var(--font-display);
  box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.08), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.scoreboard__team {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-primary);
}

.scoreboard__score {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--neon);
  font-style: italic;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.35);
  padding-inline: 4px;
}

.scoreboard__time {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-family: var(--font-body);
}

.stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.stat-chip__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  color: var(--neon);
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.25);
}

.stat-chip__label {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.notice {
  border: 1px solid var(--border);
  border-left: 3px solid var(--neon);
  background: rgba(57, 255, 20, 0.04);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-dim);
  font-size: 0.9375rem;
}

.notice--cyan {
  border-left-color: var(--cyan);
  background: rgba(0, 229, 255, 0.04);
}

.notice--hot {
  border-left-color: var(--orange);
  background: rgba(255, 90, 54, 0.05);
}

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

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-dim);
}

.list-check li::before {
  content: '';
  width: 8px;
  height: 14px;
  margin-top: 3px;
  border-right: 2px solid var(--neon);
  border-bottom: 2px solid var(--neon);
  transform: rotate(40deg);
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(57, 255, 20, 0.4));
}

.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
  overflow: hidden;
}

.accordion__item + .accordion__item {
  border-top: 1px solid var(--border);
}

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

.accordion__trigger:hover {
  background: rgba(57, 255, 20, 0.04);
  color: var(--neon);
}

.accordion__trigger::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--neon);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s ease;
}

.accordion__item[data-open="true"] .accordion__trigger::after {
  content: '−';
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-dim);
}

.accordion__item[data-open="true"] .accordion__panel {
  max-height: 800px;
}

.accordion__panel-inner {
  padding: 0 20px 20px;
}

.hero {
  position: relative;
  padding-block: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 10%, rgba(0, 229, 255, 0.08), transparent),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 18px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  margin-bottom: 24px;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__visual {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.hero__visual::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(57, 255, 20, 0.35);
  transform: rotate(45deg);
  box-shadow: inset 0 0 60px rgba(57, 255, 20, 0.06), 0 0 24px rgba(57, 255, 20, 0.08);
  animation: spin-slow 18s linear infinite;
}

.hero__visual::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  transform: rotate(45deg);
  box-shadow: inset 0 0 40px rgba(0, 229, 255, 0.08), 0 0 20px rgba(0, 229, 255, 0.06);
}

@keyframes spin-slow {
  from {
    transform: rotate(45deg);
  }
  to {
    transform: rotate(405deg);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
}

.scroll-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
  transition: width 0.1s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(10, 14, 23, 0.96);
  border-bottom: 1px solid var(--border);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(10, 14, 23, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}

.header-top {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.08), transparent 30%);
  overflow: hidden;
}

.header-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 12px);
  pointer-events: none;
}

.header-top__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}

.header-top__slogan {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  animation: live-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 4px var(--neon);
  }
  50% {
    opacity: 0.4;
    box-shadow: 0 0 14px var(--neon);
  }
}

.header-top__note {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.75rem;
  text-align: right;
}

.header-main {
  position: relative;
}

.header-main::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), transparent 30%);
  opacity: 0.6;
  pointer-events: none;
}

.header-main__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

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

.brand:hover {
  color: var(--text-primary);
}

.brand__mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand__diamond {
  position: absolute;
  inset: 3px;
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.18), rgba(0, 229, 255, 0.1));
  border: 1px solid var(--neon);
  transform: rotate(45deg);
  border-radius: 6px;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.25);
}

.brand__core {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--neon);
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 2px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.brand__sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: var(--text-dim);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a::before {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  box-shadow: 0 0 6px rgba(57, 255, 20, 0.5);
}

.site-nav a:hover {
  color: var(--text-primary);
}

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

.site-nav a[aria-current="page"] {
  color: var(--neon);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.25);
}

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

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease;
}

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

.nav-toggle__box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

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

.nav-toggle__bar:nth-child(1) {
  width: 100%;
}

.nav-toggle__bar:nth-child(2) {
  width: 70%;
}

.nav-toggle__bar:nth-child(3) {
  width: 100%;
}

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

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

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

.site-footer {
  position: relative;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding-top: 64px;
  padding-bottom: 32px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon) 0%, var(--cyan) 50%, var(--orange) 100%);
  opacity: 0.6;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}

.footer-brand__slogan {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-top: 18px;
  margin-bottom: 8px;
}

.footer-brand__note {
  color: var(--text-faint);
  font-size: 0.8125rem;
  line-height: 1.7;
}

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

.footer-nav__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.footer-nav__title::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--neon);
  transform: skewX(-24deg);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(57, 255, 20, 0.4);
}

.footer-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9375rem;
}

.footer-nav__list a {
  color: var(--text-dim);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-nav__list a:hover {
  color: var(--neon);
  padding-left: 4px;
}

.footer-contact-list {
  color: var(--text-dim);
}

.footer-contact__address {
  font-style: normal;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.footer-bottom__copyright,
.footer-bottom__icp {
  margin: 0;
}

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

  .section {
    padding-block: 56px;
  }

  .hero__inner {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .header-main__inner {
    min-height: 64px;
    gap: 12px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 400;
    margin-left: 0;
    background: rgba(13, 19, 29, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav a {
    padding: 12px 10px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav a::before {
    left: 10px;
    right: auto;
    width: 3px;
    height: auto;
    top: 8px;
    bottom: 8px;
    transform: scaleY(0);
    transform-origin: top;
  }

  .site-nav a:hover::before,
  .site-nav a[aria-current="page"]::before {
    transform: scaleY(1);
  }

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

@media (max-width: 768px) {
  .header-top {
    display: none;
  }

  .btn--download {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    min-height: 240px;
  }

  .hero__visual::before {
    width: 200px;
    height: 200px;
  }

  .hero__visual::after {
    width: 130px;
    height: 130px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

@media (max-width: 640px) {
  .container {
    padding-inline: 18px;
  }

  .section {
    padding-block: 44px;
  }

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

  .footer-top {
    padding-bottom: 36px;
  }

  .site-footer {
    margin-top: 56px;
    padding-top: 48px;
  }

  .brand__sub {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .live-dot {
    animation: none;
  }

  .hero__visual::before,
  .hero__visual::after {
    animation: none;
  }

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