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

:root {
  --bg:     #080b12;
  --card:   #10141e;
  --border: #1e2640;
  --text:   #dde4f2;
  --muted:  #6b7fa0;
  --red:    #c8281e;
  --gold:   #c99a14;
  --gold-2: #f5c842;
  --blue:   #3b7dd8;
  --green:  #17a354;
}

* { margin:0; padding:0; box-sizing:border-box; }
a { color:var(--blue); text-decoration:none; }
a:hover { text-decoration:underline; }

body {
  background:var(--bg);
  color:var(--text);
  font-family:'Noto Sans KR',-apple-system,sans-serif;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
}

/* 배경 도트 패턴 */
.bg-dots {
  position:fixed; inset:0; z-index:0;
  background-image:radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size:28px 28px;
  pointer-events:none;
}

.page-wrap {
  position:relative; z-index:1;
  width:100%; max-width:480px;
  display:flex; flex-direction:column; align-items:center; gap:28px;
}

/* 로고 */
.logo-area { text-align:center; }
.logo-icon  { font-size:56px; line-height:1; margin-bottom:10px; }
.logo-title {
  font-size:36px; font-weight:900; letter-spacing:-1.5px;
  background:linear-gradient(135deg, #fff 30%, #c99a14);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
.logo-sub { font-size:14px; color:var(--muted); margin-top:6px; }

/* 카드 */
.card {
  width:100%;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:28px;
  box-shadow:0 20px 60px rgba(0,0,0,0.5);
}

/* 탭 */
.tab-bar {
  display:flex; gap:4px;
  background:rgba(255,255,255,0.04);
  border-radius:10px; padding:4px; margin-bottom:24px;
}
.tab-btn {
  flex:1; padding:9px; border:none; border-radius:8px;
  background:transparent; color:var(--muted);
  font-family:inherit; font-size:14px; font-weight:600;
  cursor:pointer; transition:0.15s;
}
.tab-btn.active { background:var(--border); color:var(--text); }

/* 폼 */
.form { display:flex; flex-direction:column; gap:16px; }
.field { display:flex; flex-direction:column; gap:6px; }
.field label { font-size:13px; font-weight:600; color:var(--muted); }
.hint-text { font-weight:400; font-size:11px; }
.input {
  background:rgba(255,255,255,0.05);
  border:1px solid var(--border);
  border-radius:9px; padding:11px 14px;
  color:var(--text); font-family:inherit; font-size:14px;
  outline:none; transition:0.15s; width:100%;
}
.input:focus { border-color:var(--blue); background:rgba(59,125,216,0.06); }
.input::placeholder { color:rgba(107,127,160,0.6); }

/* 버튼 */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 20px; border-radius:9px; border:none;
  font-family:inherit; font-size:14px; font-weight:700;
  cursor:pointer; transition:0.15s; text-decoration:none;
}
.btn-primary { background:var(--red); color:#fff; }
.btn-primary:hover { background:#a01f17; }
.btn-block { width:100%; }
.btn-ghost { background:transparent; color:var(--muted); border:1px solid var(--border); }
.btn-ghost:hover { color:var(--text); }

.form-hint { text-align:center; font-size:13px; color:var(--muted); }

.hidden { display:none !important; }
.text-gold  { color:var(--gold-2); }
.text-green { color:#4ade80; }
.text-red   { color:#f87171; }
.text-muted { color:var(--muted); }
.fw-bold    { font-weight:700; }
.text-sm    { font-size:13px; }

/* 게임 특징 */
.features {
  display:grid; grid-template-columns:1fr 1fr; gap:10px; width:100%;
}
.feature-item {
  background:var(--card); border:1px solid var(--border); border-radius:12px;
  padding:16px; text-align:center;
}
.feature-icon  { font-size:24px; margin-bottom:6px; }
.feature-title { font-size:13px; font-weight:700; margin-bottom:4px; }
.feature-desc  { font-size:11px; color:var(--muted); line-height:1.5; }

/* 게임 시작 오버레이 */
.launch-overlay {
  position:fixed; inset:0; z-index:900;
  background:rgba(0,0,0,0.85);
  display:flex; align-items:center; justify-content:center;
  backdrop-filter:blur(4px);
}
.launch-card {
  background:var(--card); border:1px solid var(--border);
  border-radius:20px; padding:36px; text-align:center;
  width:360px; box-shadow:0 30px 80px rgba(0,0,0,0.7);
}
.launch-welcome { font-size:18px; font-weight:700; margin-bottom:4px; }
.launch-team    { font-size:26px; font-weight:900; letter-spacing:-1px; margin-bottom:16px; }
.launch-info    { margin-bottom:24px; display:flex; flex-direction:column; gap:4px; }
.launch-stat    { font-size:14px; }

.btn-launch {
  width:100%; padding:16px;
  background:linear-gradient(135deg, #b91212, #dc2626);
  border:none; border-radius:12px;
  color:#fff; font-family:inherit; font-size:17px; font-weight:900;
  cursor:pointer; transition:0.15s;
  display:flex; align-items:center; justify-content:center; gap:10px;
  letter-spacing:-0.5px;
  box-shadow:0 4px 20px rgba(220,38,38,0.4);
}
.btn-launch:hover { filter:brightness(1.1); transform:translateY(-1px); }
.launch-arrow { font-size:20px; }
