:root{
  --bg:#05060f;
  --bg2:#070a16;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);
  --line:rgba(160,255,255,.18);
  --n1: rgba(80,255,220,.85);
  --n2: rgba(255,90,210,.85);
  --n3: rgba(120,120,255,.85);
  --panel: rgba(10,14,26,.72);
  --panel2: rgba(10,14,26,.50);
  --shadow: 0 22px 80px rgba(0,0,0,.55);
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", Arial;
  color:var(--text);
  background:
    radial-gradient(1000px 700px at 15% 20%, rgba(80,255,220,.12), transparent 55%),
    radial-gradient(900px 600px at 85% 25%, rgba(255,90,210,.10), transparent 60%),
    radial-gradient(800px 650px at 55% 90%, rgba(120,120,255,.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2) 55%, var(--bg));
  overflow-x:hidden;
}
.hero{ min-height:100%; display:flex; align-items:center; justify-content:center; padding:28px; }
.page{ min-height:100%; display:flex; align-items:flex-start; justify-content:center; padding:28px; }
.frame{
  position:relative;
  width:min(980px,100%);
  border:1px solid var(--line);
  border-radius:18px;
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  box-shadow: var(--shadow);
  padding:26px;
  overflow:hidden;
}
.frame--wide{ width:min(1180px,100%); padding:22px; }
.frame__glow{
  position:absolute; inset:-2px;
  background:
    linear-gradient(90deg, transparent, rgba(80,255,220,.18), transparent),
    linear-gradient(180deg, transparent, rgba(255,90,210,.12), transparent),
    radial-gradient(600px 300px at 30% 0%, rgba(120,120,255,.12), transparent 70%);
  filter: blur(10px);
  opacity:.9;
  pointer-events:none;
}
.kicker{
  font-size:12px;
  letter-spacing:.18em;
  color:var(--muted);
  text-transform:uppercase;
}
.title{ margin:8px 0 10px; font-size:44px; letter-spacing:-.02em; }
.sub{ margin:0 0 18px; color:var(--muted); line-height:1.55; }
.grid{ display:grid; gap:14px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.card{
  display:block;
  text-decoration:none;
  color:inherit;
  border:1px solid rgba(160,255,255,.22);
  border-radius:16px;
  padding:18px;
  background: rgba(0,0,0,.25);
  position:relative;
  overflow:hidden;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.card:hover{ transform: translateY(-2px); border-color: rgba(255,255,255,.30); background: rgba(255,255,255,.05); }
.card--neon::before,
.card--neon2::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(800px 120px at 25% 0%, rgba(80,255,220,.22), transparent 70%);
  opacity:.9;
  pointer-events:none;
}
.card--neon2::before{
  background: radial-gradient(800px 120px at 25% 0%, rgba(255,90,210,.20), transparent 70%);
}
.card__top{ display:flex; gap:8px; align-items:center; }
.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(160,255,255,.25);
  background: rgba(255,255,255,.04);
  font-size:12px;
}
.chip--dim{ color:var(--muted); border-color: rgba(255,255,255,.14); }
.card__title{ margin-top:12px; font-size:20px; font-weight:800; }
.card__desc{ margin-top:8px; color:var(--muted); font-size:13px; line-height:1.45; }
.footer{ margin-top:18px; }
.muted{ color:var(--muted); }
.topbar{
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  margin-bottom:14px;
}
.section-title{ margin:6px 0 6px; font-size:22px; }
.note{ margin:0; color:var(--muted); line-height:1.55; font-size:13px; }
.btns{ display:flex; gap:10px; flex-wrap:wrap; }
.btn{
  border:1px solid rgba(160,255,255,.22);
  background: rgba(0,0,0,.25);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  text-decoration:none;
  font-size:13px;
}
.btn:hover{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.32); }
.panel{
  border:1px solid rgba(160,255,255,.18);
  border-radius:16px;
  background: rgba(0,0,0,.18);
  padding:14px;
  margin-top:12px;
}
.map-wrap{ position:relative; border-radius:14px; overflow:hidden; border:1px solid rgba(160,255,255,.18); }
.map-img{ width:100%; height:auto; display:block; }
.map-hint{ margin-top:10px; font-size:12px; }
.hotspot{
  position:absolute;
  transform: translate(-50%, -50%);
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(80,255,220,.40);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  cursor:pointer;
  font-weight:800;
  text-shadow: 0 0 10px rgba(80,255,220,.40);
  box-shadow: 0 0 18px rgba(80,255,220,.18);
}
.hotspot:hover{
  border-color: rgba(255,90,210,.45);
  box-shadow: 0 0 22px rgba(255,90,210,.18);
}
.detail__head{ display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
.detail__title{ font-size:20px; font-weight:900; letter-spacing:-.01em; }
.detail__meta{ color:var(--muted); font-size:12px; align-self:flex-end; }
.world-hero{
  display:flex; gap:12px; align-items:stretch;
  border:1px solid rgba(160,255,255,.16);
  border-radius:14px;
  background: rgba(255,255,255,.03);
  padding:12px;
}
.world-hero__img{
  width:220px; min-width:220px;
  height:140px; object-fit:cover;
  border-radius:12px;
  border:1px solid rgba(160,255,255,.14);
  background: rgba(0,0,0,.25);
}
.world-hero__text{ flex:1; min-width:220px; }
.detail__desc{ margin:0; color:var(--muted); line-height:1.6; }
.subhead{ display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-top:14px; }
.subhead__title{ margin:0; font-size:15px; }
.subhead__desc{ font-size:12px; align-self:flex-end; }
.pillrow{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.pill{
  border:1px solid rgba(160,255,255,.18);
  border-radius:999px;
  padding:6px 10px;
  background: rgba(0,0,0,.25);
  font-size:12px;
  color: rgba(255,255,255,.86);
}
.thumb-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
  margin-top:12px;
}
.thumb{
  border:1px solid rgba(160,255,255,.18);
  border-radius:14px;
  background: rgba(0,0,0,.22);
  padding:10px;
  cursor:pointer;
  text-align:left;
  transition: transform .12s ease, border-color .12s ease;
}
.thumb:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.28); }
.thumb img{
  width:100%;
  height:170px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  display:block;
}
.thumb__cap{ margin-top:8px; font-size:13px; color: rgba(255,255,255,.90); font-weight:800; }
.thumb__sub{ margin-top:4px; font-size:12px; color: var(--muted); line-height:1.35; }
.modal{ position:fixed; inset:0; display:none; z-index:50; }
.modal.is-open{ display:block; }
.modal__backdrop{ position:absolute; inset:0; background: rgba(0,0,0,.68); backdrop-filter: blur(4px); }
.modal__panel{
  position:relative;
  margin: 5vh auto;
  width:min(1040px, 92vw);
  border:1px solid rgba(160,255,255,.22);
  border-radius:18px;
  background: rgba(6,9,18,.92);
  padding:14px;
  box-shadow: var(--shadow);
}
.modal__close{
  position:absolute; top:10px; right:10px;
  border:1px solid rgba(160,255,255,.18);
  background: rgba(0,0,0,.25);
  color:var(--text);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.modal__header{ padding:6px 8px 10px; }
.modal__name{ font-size:22px; font-weight:950; }
.modal__sub{ font-size:12px; }
.posebar{
  display:flex; gap:10px; flex-wrap:wrap;
  padding:8px;
  border:1px solid rgba(160,255,255,.14);
  border-radius:14px;
  background: rgba(255,255,255,.03);
  margin:10px 0 12px;
}
.posebtn{
  display:flex; gap:8px; align-items:center;
  border:1px solid rgba(160,255,255,.18);
  border-radius:12px;
  background: rgba(0,0,0,.25);
  padding:6px 10px;
  cursor:pointer;
}
.posebtn:hover{ border-color: rgba(255,255,255,.28); }
.posebtn.is-active{
  border-color: rgba(80,255,220,.45);
  box-shadow: 0 0 18px rgba(80,255,220,.16);
}
.posebtn img{
  width:42px; height:42px; object-fit:cover;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
}
.posebtn span{ font-size:12px; color: rgba(255,255,255,.90); font-weight:800; }
.modal__body{ display:flex; gap:14px; align-items:flex-start; }
.modal__img{
  width:min(460px, 46vw);
  height:460px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(160,255,255,.14);
  background: rgba(0,0,0,.25);
}
.modal__info{ flex:1; }
.info-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:8px 12px;
  margin-bottom:12px;
}
.info-row{
  display:flex; justify-content:space-between; gap:10px;
  border:1px solid rgba(160,255,255,.12);
  border-radius:12px;
  padding:8px 10px;
  background: rgba(255,255,255,.03);
}
.key{ color: var(--muted); font-size:12px; }
.val{ font-size:12px; font-weight:800; }
.block{
  border:1px solid rgba(160,255,255,.12);
  border-radius:14px;
  background: rgba(255,255,255,.03);
  padding:10px 12px;
  margin-top:10px;
}
.block__title{ font-size:12px; color: rgba(255,255,255,.88); font-weight:900; margin-bottom:6px; letter-spacing:.04em; }
.block__text{ margin:0; color: var(--muted); line-height:1.65; font-size:13px; }
@media (max-width: 980px){
  .grid-2{ grid-template-columns: 1fr; }
  .thumb-grid{ grid-template-columns: repeat(2, 1fr); }
  .world-hero{ flex-direction:column; }
  .world-hero__img{ width:100%; min-width:0; height:180px; }
  .modal__body{ flex-direction:column; }
  .modal__img{ width:100%; height:320px; }
  .info-grid{ grid-template-columns: 1fr; }
}
