@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* =============================================
   CSS 自定义属性 & 全局重置
   ============================================= */
:root {
  --c-green: #69ff69;
  --c-cyan: #00ffff;
  --c-dark: #172617;
  --c-dark2: #1e3320;
  --c-dark3: #0d1a0d;
  --c-text: #d4ffd4;
  --c-text-dim: #8ecf8e;
  --c-chrome: linear-gradient(135deg, #c0ffc0 0%, #69ff69 30%, #00ffff 60%, #a0ffff 100%);
  --c-metallic: linear-gradient(180deg, #2a4d2a 0%, #172617 40%, #0d1a0d 100%);
  --c-bubble: linear-gradient(135deg, #69ff6933 0%, #00ffff22 50%, #69ff6911 100%);
  --glow-green: 0 0 8px #69ff69, 0 0 20px #69ff6980, 0 0 40px #69ff6940;
  --glow-cyan: 0 0 8px #00ffff, 0 0 20px #00ffff80, 0 0 40px #00ffff40;
  --glow-text-green: 0 0 6px #69ff69, 0 0 14px #69ff6966;
  --glow-text-cyan: 0 0 6px #00ffff, 0 0 14px #00ffff66;
  --radius-card: 4px;
  --radius-pill: 9999px;
  --nav-height: 110px;
  --font-main: 'Noto Sans KR', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --transition-fast: 0.18s cubic-bezier(0.4,0,0.2,1);
  --transition-med: 0.32s cubic-bezier(0.4,0,0.2,1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--c-dark3);
  color: var(--c-text);
}

body, .y2k-body {
  font-family: var(--font-main);
  background: var(--c-metallic);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  max-width: 100vw;
}

.y2k-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, #69ff6912 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, #00ffff0e 0%, transparent 50%),
    radial-gradient(circle at 50% 10%, #69ff6908 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.site-wrapper {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  width: 100%;
}

/* scroll-margin-top 配合吸顶 nav */
article[id] {
  scroll-margin-top: calc(var(--nav-height) + 12px);
}

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

a {
  color: var(--c-green);
  text-decoration: none;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}
a:hover, a:focus-visible {
  color: var(--c-cyan);
  text-shadow: var(--glow-text-cyan);
  outline: none;
}
a:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 2px;
  border-radius: 3px;
}

ul, menu {
  list-style: none;
}

/* =============================================
   HEADER — 顶部两行
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #0d1a0dee 0%, #172617f5 100%);
  backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid #69ff6930;
  box-shadow: 0 2px 24px #69ff6920, 0 1px 0 #69ff6915;
  width: 100%;
}

.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px 6px;
  border-bottom: 1px solid #69ff6918;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.brand-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--c-chrome);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 6px #69ff6960);
  word-break: break-all;
}

.header-nav-row {
  padding: 6px 12px 8px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.nav-details {
  width: 100%;
  max-width: 860px;
}

.nav-details > summary {
  list-style: none;
}
.nav-details > summary::-webkit-details-marker {
  display: none;
}

.nav-toggle {
  display: none;
}

menu.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 6px;
  justify-content: center;
  padding: 0;
}

menu.nav-menu li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid #69ff6940;
  background: linear-gradient(135deg, #69ff6912 0%, #00ffff0a 100%);
  color: var(--c-green);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

menu.nav-menu li a:hover,
menu.nav-menu li a:focus-visible {
  background: linear-gradient(135deg, #69ff6930 0%, #00ffff20 100%);
  border-color: var(--c-green);
  color: var(--c-cyan);
  box-shadow: 0 0 10px #69ff6950, 0 0 20px #69ff6930;
  text-shadow: var(--glow-text-cyan);
}

/* =============================================
   HERO — 左图右文，h1 在首屏
   ============================================= */
.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
  gap: 24px;
  position: relative;
  width: 100%;
}

.hero-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, #00ffff08 0%, transparent 70%);
  pointer-events: none;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-media .hero-img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 30px #69ff6940, 0 0 60px #00ffff20;
  border: 1px solid #69ff6930;
}

.hero-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #69ff6918 0%, #00ffff12 50%, #172617 100%);
  border-radius: 8px;
  border: 1px solid #69ff6930;
  position: relative;
  overflow: hidden;
}
.hero-placeholder::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, #69ff6930 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #69ff69, #00ffff);
  color: #0d1a0d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px #69ff6960;
}

.hero-copy {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 0;
}

.hero-eyebrow {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.eyebrow-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid #69ff6940;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-text-dim);
  background: #69ff6910;
  letter-spacing: 0.04em;
}
.eyebrow-hot {
  border-color: #00ffff40;
  color: var(--c-cyan);
  background: #00ffff10;
}

.hero-h1 {
  font-size: clamp(1.15rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  background: var(--c-chrome);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px #69ff6970);
  letter-spacing: 0.02em;
  word-break: break-all;
}

.hero-sub {
  font-size: 0.9rem;
  color: var(--c-text-dim);
  line-height: 1.65;
  max-width: 340px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #69ff69 0%, #00ffff 100%);
  color: #0d1a0d;
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.03em;
  box-shadow: var(--glow-green), 0 4px 16px #00000040;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast), filter var(--transition-fast);
  border: none;
  -webkit-text-fill-color: #0d1a0d;
  white-space: nowrap;
}
.hero-cta:hover, .hero-cta:focus-visible {
  box-shadow: var(--glow-cyan), 0 4px 24px #00000050;
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.08);
  color: #0d1a0d;
  text-shadow: none;
  -webkit-text-fill-color: #0d1a0d;
}

/* =============================================
   MAIN — main > section > article
   ============================================= */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 48px;
  width: 100%;
}

.main-inner {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 28px;
  align-items: start;
  width: 100%;
}

.main-article {
  min-width: 0;
  width: 100%;
}

/* 正文内容样式 */
.content-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-green);
  text-shadow: var(--glow-text-green);
  margin: 2.2em 0 0.8em;
  letter-spacing: 0.03em;
  border-left: 3px solid var(--c-green);
  padding-left: 12px;
  line-height: 1.35;
}

.content-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-cyan);
  text-shadow: var(--glow-text-cyan);
  margin: 1.8em 0 0.6em;
  letter-spacing: 0.02em;
}

.content-section p {
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.75;
  margin-bottom: 1em;
}

.content-section ul, .content-section ol {
  margin: 0.8em 0 1em 1.2em;
  color: var(--c-text);
  line-height: 1.7;
}

.content-section li {
  margin-bottom: 0.4em;
}

.content-section a {
  color: var(--c-cyan);
  border-bottom: 1px solid #00ffff30;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.content-section a:hover {
  border-bottom-color: var(--c-cyan);
}

.content-section strong {
  color: var(--c-green);
  font-weight: 600;
}

.content-section em {
  color: var(--c-cyan);
  font-style: normal;
}

.content-section > article {
  padding: 24px 0;
  border-bottom: 1px solid #69ff6918;
  position: relative;
}
.content-section > article:last-child {
  border-bottom: none;
}
.content-section > article::before {
  content: '';
  position: absolute;
  top: 0;
  left: -16px;
  right: -16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #69ff6930, transparent);
}

/* =============================================
   ASIDE — 右侧边栏
   ============================================= */
.main-aside {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
  min-width: 0;
  width: 100%;
}

.aside-inner {
  background: linear-gradient(160deg, #1e3320 0%, #172617 100%);
  border: 1px solid #69ff6928;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 0 20px #69ff6912, inset 0 0 30px #00ffff06;
  width: 100%;
}

.aside-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-green);
  text-shadow: var(--glow-text-green);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.aside-title span {
  display: inline;
}

.main-aside ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.main-aside ul li a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--c-text-dim);
  border: 1px solid transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  word-break: break-all;
}
.main-aside ul li a::before {
  content: '❯';
  margin-right: 8px;
  color: var(--c-green);
  font-size: 0.7rem;
  opacity: 0.7;
  flex-shrink: 0;
}
.main-aside ul li a:hover {
  background: #69ff6910;
  border-color: #69ff6930;
  color: var(--c-green);
  text-shadow: none;
}

.aside-card {
  background: #00ffff08;
  border: 1px solid #00ffff20;
  border-radius: 4px;
  padding: 12px;
  margin-top: 8px;
}

.aside-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-cyan);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.aside-card-title span {
  display: inline;
}

.aside-card p {
  font-size: 0.82rem;
  color: var(--c-text-dim);
  line-height: 1.6;
}

/* =============================================
   FOOTER — 三栏 + 超大品牌字 + 版权
   ============================================= */
.site-footer {
  background: linear-gradient(180deg, #172617 0%, #0d1a0d 100%);
  border-top: 1px solid #69ff6930;
  padding: 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #69ff69, #00ffff, #69ff69, transparent);
  opacity: 0.7;
}

.footer-brand-mega {
  font-size: clamp(2.2rem, 6vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  background: linear-gradient(135deg, #69ff6918 0%, #00ffff12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 28px 16px 14px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  word-break: break-all;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 36px;
  width: 100%;
}

.footer-col-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-green);
  text-shadow: var(--glow-text-green);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.footer-col-title span {
  display: inline;
}

.footer-col-about p {
  font-size: 0.88rem;
  color: var(--c-text-dim);
  line-height: 1.7;
}

.footer-col-nav ul,
.footer-col-contact ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-col-nav ul li a,
.footer-col-contact ul li a,
.footer-policy-links li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.88rem;
  color: var(--c-text-dim);
  padding: 4px 0;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}
.footer-col-nav ul li a:hover,
.footer-col-contact ul li a:hover,
.footer-policy-links li a:hover {
  color: var(--c-green);
  text-shadow: var(--glow-text-green);
}

address {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--c-text-dim);
  line-height: 1.7;
  margin-bottom: 12px;
}

address a {
  color: var(--c-text-dim);
}
address a:hover {
  color: var(--c-cyan);
  text-shadow: var(--glow-text-cyan);
}

.footer-policy-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-bottom {
  border-top: 1px solid #69ff6918;
  text-align: center;
  padding: 18px 16px 24px;
  background: #0d1a0d;
}

.footer-copy {
  font-size: 0.82rem;
  color: #5a8a5a;
  line-height: 1.5;
  margin-bottom: 4px;
}

.footer-icp {
  font-size: 0.78rem;
  color: #456645;
}

/* =============================================
   ANIMATIONS & DECORATIONS
   ============================================= */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

@keyframes neon-flicker {
  0%, 90%, 100% { opacity: 1; }
  92% { opacity: 0.85; }
  94% { opacity: 1; }
  96% { opacity: 0.9; }
}

@keyframes slide-up-stagger {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-header::before {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--c-green);
  font-size: 0.8rem;
  opacity: 0.5;
  animation: pulse-glow 2.5s ease-in-out infinite;
}
.site-header::after {
  content: '✦';
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--c-cyan);
  font-size: 0.8rem;
  opacity: 0.5;
  animation: pulse-glow 2.5s ease-in-out infinite 1.25s;
}

.main-article > article > article {
  animation: slide-up-stagger 0.5s ease both;
}

.y2k-card {
  background: linear-gradient(135deg, #1e3320 0%, #172617 100%);
  border: 1px solid #69ff6928;
  border-radius: var(--radius-card);
  padding: 20px;
  transition: box-shadow var(--transition-med), border-color var(--transition-med), transform var(--transition-med);
}
.y2k-card:hover {
  box-shadow: 0 0 18px #69ff6930, 0 4px 20px #00000040;
  border-color: #69ff6950;
  transform: translateY(-2px);
}

/* =============================================
   RESPONSIVE — 移动端
   ============================================= */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .header-brand-row {
    padding: 8px 12px 5px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .header-nav-row {
    padding: 4px 8px 6px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid #69ff6940;
    background: #69ff6912;
    color: var(--c-green);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    list-style: none;
  }

  .nav-details:not([open]) menu.nav-menu {
    display: none;
  }

  menu.nav-menu {
    margin-top: 6px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  menu.nav-menu li a {
    width: 100%;
    justify-content: flex-start;
    padding-left: 16px;
    font-size: 0.9rem;
  }

  .hero-wrap {
    grid-template-columns: 1fr;
    padding: 14px 12px 18px;
    gap: 14px;
  }

  .hero-copy {
    order: -1;
    text-align: left;
    align-items: flex-start;
  }

  .hero-eyebrow {
    justify-content: flex-start;
  }

  .hero-media {
    order: 0;
  }

  .hero-sub {
    max-width: 100%;
  }

  .main-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .main-aside {
    position: static;
  }

  .site-main {
    padding: 0 12px 32px;
  }

  .content-section h2 {
    font-size: 1.15rem;
    margin-top: 1.8em;
  }

  .content-section h3 {
    font-size: 1rem;
  }

  .content-section > article::before {
    left: -12px;
    right: -12px;
  }

  .footer-brand-mega {
    font-size: clamp(1.6rem, 10vw, 3.5rem);
    padding: 20px 12px 10px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px 16px 28px;
  }

  .footer-bottom {
    padding: 14px 12px 20px;
  }
}

@media (max-width: 480px) {
  .hero-h1 {
    font-size: 1.15rem;
  }

  .hero-sub {
    font-size: 0.86rem;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
  }

  menu.nav-menu li a {
    font-size: 0.92rem;
    min-height: 44px;
  }

  .aside-inner {
    padding: 14px;
  }
}

/* =============================================
   prefers-reduced-motion
   ============================================= */
@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;
  }
}
