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

:root{
  --neon:#69ff69;
  --cyan:#00ffff;
  --ink:#172617;
  --deep:#07100b;
  --txt:#e8f7ea;
  --dim:#a6c2ac;
  --line:rgba(105,255,105,.26);
  --chrome:linear-gradient(135deg,#ffffff 0%,#c7ffd9 18%,#69ff69 44%,#00ffff 70%,#dcfff1 100%);
  --panel:linear-gradient(180deg,rgba(23,38,23,.78),rgba(8,16,11,.82));
  --edge:inset 0 1px 0 rgba(255,255,255,.08);
}

*,*::before,*::after{box-sizing:border-box}

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

body{
  margin:0;
  font-family:"Noto Sans KR","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  font-size:17px;
  line-height:1.75;
  color:var(--txt);
  overflow-x:hidden;
  background:
    radial-gradient(58vw 42vw at 10% -12%,rgba(0,255,255,.20),transparent 62%),
    radial-gradient(52vw 44vw at 96% 4%,rgba(105,255,105,.18),transparent 64%),
    radial-gradient(80vw 56vw at 48% 108%,rgba(105,255,105,.12),transparent 62%),
    var(--deep);
  background-attachment:fixed;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:
    repeating-linear-gradient(90deg,rgba(105,255,105,.055) 0 1px,transparent 1px 68px),
    repeating-linear-gradient(0deg,rgba(0,255,255,.05) 0 1px,transparent 1px 68px);
  -webkit-mask-image:radial-gradient(circle at 50% 0%,#000 26%,transparent 86%);
  mask-image:radial-gradient(circle at 50% 0%,#000 26%,transparent 86%);
}

.bar,.hero,.main,.foot{position:relative;z-index:1}

a{color:var(--neon)}
img,svg{max-width:100%}

/* ---------- 顶部条 ---------- */
.bar{
  position:sticky;
  top:0;
  z-index:30;
  display:flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  padding:6px clamp(8px,2.4vw,34px);
  background:linear-gradient(180deg,rgba(12,24,16,.96),rgba(7,16,11,.86));
  border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 rgba(0,255,255,.28),0 14px 34px rgba(0,0,0,.5);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}

.bar-nav{
  display:flex;
  flex-wrap:wrap;
  gap:2px;
  flex:1 1 0;
  min-width:0;
}
.bar-nav-left{justify-content:flex-end}
.bar-nav-right{justify-content:flex-start}

.bar-nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 8px;
  font-size:16px;
  letter-spacing:.02em;
  color:var(--dim);
  text-decoration:none;
  transition:color .2s ease;
}
.bar-nav a::after{
  content:"";
  position:absolute;
  left:8px;
  right:8px;
  bottom:7px;
  height:1px;
  background:linear-gradient(90deg,var(--neon),var(--cyan));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .26s ease;
}
.bar-nav a:hover,
.bar-nav a:focus-visible{
  color:#fff;
  text-shadow:0 0 12px rgba(105,255,105,.85);
}
.bar-nav a:hover::after,
.bar-nav a:focus-visible::after{transform:scaleX(1)}

.brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  min-height:44px;
  padding:0 10px;
  text-decoration:none;
}
.brand-mark{display:block;width:34px;height:34px;flex:0 0 auto}
.brand-text{
  font-size:clamp(16px,1.9vw,20px);
  font-weight:700;
  letter-spacing:.16em;
  white-space:nowrap;
  background:var(--chrome);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 12px rgba(0,255,255,.55));
  animation:brandPulse 4.5s ease-in-out infinite;
}
@keyframes brandPulse{
  0%,100%{filter:drop-shadow(0 0 8px rgba(0,255,255,.4))}
  50%{filter:drop-shadow(0 0 18px rgba(105,255,105,.9))}
}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:clamp(18px,3vw,38px);
  max-width:100%;
  min-height:100vh;
  padding:clamp(26px,6vw,72px) clamp(16px,5vw,64px) clamp(30px,6vw,60px);
  overflow:hidden;
  text-align:right;
  border-bottom:1px solid var(--line);
}

.hero-ghost{
  position:absolute;
  left:0;
  right:0;
  top:14%;
  z-index:0;
  margin:0;
  font-size:clamp(62px,17vw,230px);
  line-height:.82;
  font-weight:700;
  letter-spacing:.02em;
  white-space:nowrap;
  text-align:center;
  color:transparent;
  -webkit-text-stroke:1px rgba(105,255,105,.22);
  pointer-events:none;
}

.hero-copy{
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:14px;
  width:100%;
  min-width:0;
  max-width:min(100%,780px);
  margin-left:auto;
}
.hero-tag{
  margin:0;
  font-size:16px;
  letter-spacing:.3em;
  color:var(--cyan);
  text-shadow:0 0 16px rgba(0,255,255,.85);
}
.hero-title{
  margin:0;
  max-width:100%;
  font-size:clamp(32px,7vw,82px);
  line-height:1.08;
  font-weight:700;
  letter-spacing:.01em;
  overflow-wrap:break-word;
  background:linear-gradient(135deg,#ffffff 0%,#c9ffd8 22%,#69ff69 48%,#00ffff 74%,#eafff4 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 26px rgba(105,255,105,.4)) drop-shadow(0 5px 0 rgba(0,255,255,.22));
}
.hero-lead{
  margin:0;
  max-width:32em;
  font-size:clamp(16px,2vw,19px);
  color:var(--dim);
}

.hero-bubbles{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.hero-bubbles span{
  position:absolute;
  display:block;
  border-radius:50%;
  background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.92),rgba(0,255,255,.5) 44%,rgba(105,255,105,.14) 72%);
  opacity:.55;
  filter:drop-shadow(0 0 18px rgba(0,255,255,.5));
}
.hero-bubbles span:nth-child(1){width:120px;height:120px;left:4%;top:22%}
.hero-bubbles span:nth-child(2){width:52px;height:52px;left:26%;top:64%}
.hero-bubbles span:nth-child(3){width:84px;height:84px;right:6%;bottom:26%}
.hero-bubbles span:nth-child(4){width:30px;height:30px;right:32%;top:18%}

.hero-shot{
  position:relative;
  z-index:3;
  margin:0;
  max-width:100%;
  border:1px solid var(--line);
  box-shadow:0 0 0 1px rgba(0,255,255,.2),0 26px 60px rgba(0,0,0,.6);
}
.hero-shot::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(118deg,rgba(255,255,255,.34),transparent 44%);
  mix-blend-mode:screen;
}
.hero-media{
  display:block;
  width:100%;
  max-width:100%;
  height:clamp(170px,31vh,340px);
  object-fit:cover;
}

/* ---------- 主区 ---------- */
.main{
  max-width:100%;
  padding:clamp(26px,5vw,60px) clamp(12px,3.6vw,48px) 0;
}

.shell{
  display:grid;
  grid-template-columns:238px minmax(0,1fr);
  gap:clamp(18px,3vw,46px);
  align-items:start;
  width:100%;
  max-width:1180px;
  margin:0 auto;
}

.rail{
  position:sticky;
  top:80px;
  min-width:0;
  padding:18px 16px 20px;
  border:1px solid var(--line);
  background:var(--panel);
  box-shadow:0 18px 42px -20px rgba(0,0,0,.9),var(--edge);
}
.rail-title{
  margin:0;
  font-size:18px;
  font-weight:700;
  letter-spacing:.22em;
  color:var(--neon);
  text-shadow:0 0 14px rgba(105,255,105,.6);
}
.subtitle{
  margin:6px 0 14px;
  font-size:16px;
  letter-spacing:.06em;
  color:var(--cyan);
}
.rail-list{
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:rail;
}
.rail-list li{counter-increment:rail}
.rail-list a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  font-size:16px;
  color:var(--txt);
  text-decoration:none;
  border-bottom:1px dashed rgba(105,255,105,.18);
  transition:color .2s ease;
}
.rail-list a::before{
  content:counter(rail,decimal-leading-zero);
  flex:0 0 auto;
  font-size:16px;
  letter-spacing:.06em;
  color:var(--cyan);
  opacity:.8;
}
.rail-list a:hover,
.rail-list a:focus-visible{color:#fff;text-shadow:0 0 12px rgba(0,255,255,.85)}

/* ---------- 正文 ---------- */
.article{
  min-width:0;
  max-width:100%;
  overflow-wrap:break-word;
  word-break:break-word;
  counter-reset:sec;
}
.article > div{
  position:relative;
  max-width:100%;
  margin:0 0 clamp(18px,3vw,30px);
  padding:clamp(18px,3vw,34px);
  padding-right:clamp(46px,5vw,62px);
  border:1px solid var(--line);
  background:var(--panel);
  box-shadow:0 20px 46px -22px rgba(0,0,0,.92),var(--edge);
  scroll-margin-top:96px;
  transition:box-shadow .3s ease,border-color .3s ease;
  counter-increment:sec;
}
.article > div::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:2px;
  background:linear-gradient(90deg,var(--neon),var(--cyan),transparent);
  opacity:.75;
}
.article > div::after{
  content:counter(sec,decimal-leading-zero);
  position:absolute;
  top:12px;
  right:14px;
  font-size:16px;
  letter-spacing:.16em;
  color:rgba(0,255,255,.55);
}
.article > div:hover{
  border-color:rgba(0,255,255,.45);
  box-shadow:0 24px 54px -20px rgba(0,0,0,.95),0 0 0 1px rgba(0,255,255,.22);
}

.article h2{
  margin:0 0 10px;
  font-size:clamp(21px,3.2vw,30px);
  line-height:1.28;
  font-weight:700;
  letter-spacing:.02em;
  background:var(--chrome);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 14px rgba(105,255,105,.32));
}
.article h3{
  margin:22px 0 8px;
  font-size:19px;
  line-height:1.4;
  color:var(--cyan);
  letter-spacing:.03em;
  text-shadow:0 0 14px rgba(0,255,255,.4);
}
.article p{margin:0 0 14px}
.article p:last-child{margin-bottom:0}
.article p.subtitle{margin:-2px 0 16px;letter-spacing:.16em}
.article a{
  color:var(--neon);
  text-decoration:none;
  border-bottom:1px solid rgba(105,255,105,.42);
  transition:color .2s ease,border-color .2s ease;
}
.article a:hover,
.article a:focus-visible{color:#fff;border-color:var(--cyan);text-shadow:0 0 12px rgba(0,255,255,.8)}
.article strong{color:#fff;letter-spacing:.02em}
.article em{color:var(--cyan);font-style:normal}
.article ul,
.article ol{margin:0 0 16px;padding-left:1.25em}
.article li{margin:0 0 8px}
.article ul li::marker{color:var(--cyan)}
.article ol li::marker{color:var(--neon)}
.article blockquote{
  margin:0 0 16px;
  padding:12px 16px;
  border-left:2px solid var(--cyan);
  background:rgba(0,255,255,.07);
  color:#dff8f8;
}
.article blockquote p:last-child{margin-bottom:0}
.article hr{
  height:1px;
  margin:20px 0;
  border:0;
  background:linear-gradient(90deg,var(--neon),var(--cyan),transparent);
}
.article figure{margin:0 0 16px;max-width:100%}
.article img{
  display:block;
  max-width:100%;
  height:auto;
  margin:0 0 16px;
  border:1px solid var(--line);
}
.article figcaption{font-size:16px;color:var(--dim)}
.article table{
  display:block;
  width:100%;
  max-width:100%;
  margin:0 0 16px;
  border-collapse:collapse;
  font-size:16px;
  overflow-x:auto;
}
.article th,
.article td{
  padding:10px 12px;
  border:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}
.article th{
  color:var(--neon);
  background:rgba(105,255,105,.1);
  white-space:nowrap;
}
.article code{
  font-size:16px;
  padding:1px 5px;
  background:rgba(0,255,255,.12);
  overflow-wrap:anywhere;
}
.article pre{
  margin:0 0 16px;
  padding:14px;
  max-width:100%;
  overflow-x:auto;
  background:rgba(0,0,0,.45);
  border:1px solid var(--line);
}
.article pre code{padding:0;background:none}

/* ---------- 页脚 ---------- */
.foot{
  max-width:100%;
  margin-top:clamp(30px,6vw,68px);
  padding:clamp(26px,5vw,54px) clamp(12px,4vw,48px) 20px;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,rgba(7,16,11,.4),rgba(7,16,11,.96));
}
.foot-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:clamp(16px,3vw,40px);
  width:100%;
  max-width:1180px;
  margin:0 auto;
}
.foot dl{margin:0;min-width:0}
.foot dt{
  margin-bottom:6px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.2em;
  color:var(--neon);
  text-shadow:0 0 12px rgba(105,255,105,.4);
}
.foot dd{
  margin:0;
  font-size:16px;
  color:var(--dim);
  overflow-wrap:break-word;
}
.foot dd a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:var(--dim);
  text-decoration:none;
  transition:color .2s ease;
}
.foot dd a:hover,
.foot dd a:focus-visible{color:#fff;text-shadow:0 0 12px rgba(0,255,255,.85)}
.copy{
  max-width:1180px;
  margin:16px auto 0;
  padding-top:14px;
  border-top:1px dashed rgba(105,255,105,.2);
  font-size:16px;
  letter-spacing:.1em;
  color:var(--dim);
}
.foot-nav{min-width:0}
.foot-nav dl{margin:0}

/* ---------- 滚动显现 ---------- */
.rv{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .62s ease,transform .62s cubic-bezier(.2,.7,.3,1);
}
.rv.in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .rv{opacity:1;transform:none;transition:none}
  *{animation:none!important}
}

/* ---------- 断点 ---------- */
@media (max-width:900px){
  .shell{grid-template-columns:minmax(0,1fr)}
  .rail{position:static}
  .foot-grid{grid-template-columns:1fr 1fr}
  .foot-grid dl:first-child{grid-column:1/-1}
  .hero{min-height:auto;padding-top:clamp(30px,9vw,60px)}
  .hero-ghost{top:8%;opacity:.7;font-size:clamp(54px,15vw,140px)}
}

@media (max-width:620px){
  .bar{flex-wrap:wrap;padding:4px 8px;gap:0}
  .brand{order:-1;flex-basis:100%;justify-content:center;padding:0}
  .bar-nav{flex:1 1 100%}
  .bar-nav-left{justify-content:center}
  .bar-nav-right{justify-content:center}
  .bar-nav a{padding:0 6px;font-size:16px}
  .foot-grid{grid-template-columns:1fr}
  .hero{padding-left:14px;padding-right:14px}
  .hero-copy{align-items:flex-start}
  .hero{text-align:left}
  .article > div{scroll-margin-top:126px;padding-right:clamp(42px,10vw,54px)}
}

button[aria-expanded]{min-width:44px;min-height:44px}
