/* ============================================================
   도파민 서바이버 - 랜딩 페이지 스타일
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --cyan: #4de3ff; --gold: #e8b74a; --pink: #ff4d9d;
  --bg: #070910; --panel: rgba(12, 16, 28, 0.9); --line: rgba(120, 180, 230, 0.22);
  --text: #dfe9f5; --dim: rgba(170, 190, 212, 0.72);
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Segoe UI', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  line-height: 1.7; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--cyan); }

/* 내비 */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
  background: rgba(7, 9, 16, 0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 900; letter-spacing: 2px; text-decoration: none; color: var(--text); font-size: 17px; }
.links { display: flex; gap: 16px; margin-left: auto; }
.links a { color: var(--dim); text-decoration: none; font-size: 14px; }
.links a:hover { color: var(--cyan); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.gh {
  color: var(--text); text-decoration: none; font-size: 13px; font-weight: 700;
  border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px;
}
.gh:hover { border-color: var(--gold); }
.btn-play {
  display: inline-block; text-decoration: none; font-weight: 900; letter-spacing: 2px;
  color: #fff; background: linear-gradient(90deg, rgba(255,77,157,0.55), rgba(77,227,255,0.55));
  border: 1px solid rgba(255,77,157,0.7); border-radius: 6px; padding: 9px 20px;
  box-shadow: 0 0 18px rgba(255,77,157,0.35);
}
.btn-play:hover { box-shadow: 0 0 32px rgba(77,227,255,0.5); transform: translateY(-1px); }
.btn-play.big { font-size: 18px; padding: 14px 34px; }
.btn-ghost {
  display: inline-block; text-decoration: none; font-weight: 800;
  color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 13px 26px;
}
.btn-ghost:hover { border-color: var(--gold); }

/* 히어로 */
.hero { position: relative; text-align: center; padding: 90px 20px 70px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -20%;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(255,77,157,0.14), transparent),
    radial-gradient(ellipse 55% 45% at 80% 30%, rgba(77,227,255,0.14), transparent),
    radial-gradient(ellipse 50% 40% at 50% 85%, rgba(176,108,255,0.12), transparent);
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift { from { transform: translateY(-2%) scale(1); } to { transform: translateY(2%) scale(1.05); } }
.kicker { color: var(--dim); font-size: 11px; letter-spacing: 4px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(44px, 9vw, 84px); font-weight: 900; letter-spacing: 8px; }
.grad {
  background: linear-gradient(180deg, #f5f7fa 10%, #9fb8cc 50%, #4de3ff 85%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(77,227,255,0.45));
}
.tagline { color: var(--dim); margin: 16px 0 26px; font-size: clamp(14px, 2.4vw, 18px); }
.tagline b { color: var(--pink); }
.seed-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.seed-form input {
  width: min(360px, 80vw); padding: 13px 14px; font-size: 15px;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px; color: var(--text); outline: none;
}
.seed-form input:focus { border-color: var(--cyan); box-shadow: 0 0 12px rgba(77,227,255,0.3); }
.chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.chips span {
  font-size: 13px; padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 20px; background: rgba(77,227,255,0.06); white-space: nowrap;
}
.req { color: rgba(170,190,212,0.5); font-size: 12px; letter-spacing: 1px; }

/* 섹션 */
.section { max-width: 1020px; margin: 0 auto; padding: 56px 20px 10px; }
.section h2 { font-size: clamp(22px, 4vw, 30px); letter-spacing: 3px; margin-bottom: 22px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 20px;
}
.card .emoji { font-size: 30px; margin-bottom: 8px; }
.card h3 { font-size: 16px; margin-bottom: 8px; color: var(--cyan); }
.card p { font-size: 13.5px; color: var(--dim); }
.card b { color: var(--cyan); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.07); }
th { background: rgba(77,227,255,0.07); color: var(--cyan); letter-spacing: 1px; }
tr:last-child td { border-bottom: none; }
.note { color: var(--dim); font-size: 13px; margin-top: 12px; text-align: center; }
.chips.tech { margin: 6px 0 14px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 10px; }

footer {
  text-align: center; color: rgba(170,190,212,0.5); font-size: 12.5px;
  padding: 50px 20px calc(30px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); margin-top: 60px;
}
footer p { margin-bottom: 6px; }

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .links { display: none; }
}
@media (max-width: 560px) {
  .grid, .cols { grid-template-columns: 1fr; }
  .hero { padding: 64px 16px 52px; }
  .nav-cta .gh { display: none; }
}
