:root{
  --bg:#0b0f14;
  --card:#0f1620;
  --muted:#8fa3b8;
  --text:#e9f0f7;
  --line:#1b2a3a;
  --accent:#7dd3fc;
  --accent2:#a78bfa;
}

*{ box-sizing:border-box; }

html, body{
  height:100%;
}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);            /* ✅ 단색 고정 */
  color: var(--text);
}

/* -------------------------------------------------
   Layout
-------------------------------------------------- */

a{
  color:inherit;
  text-decoration:none;
}

.container{
  max-width:980px;
  margin:0 auto;
  padding:28px 18px 48px;

  /* ✅ 그라디언트는 컨텐츠 영역까지만 */
  min-height:100vh;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(167,139,250,.15), transparent 60%),
    radial-gradient(1000px 600px at 80% 0%, rgba(125,211,252,.15), transparent 60%),
    var(--bg);
}

/* -------------------------------------------------
   Header
-------------------------------------------------- */

.header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.brand h1{
  font-size:22px;
  margin:0;
  letter-spacing:.2px;
}

.brand p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding:8px 10px;
  border-radius:999px;
  color:var(--muted);
  font-size:12px;
}

/* -------------------------------------------------
   Grid & Cards
-------------------------------------------------- */

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}

.card{
  grid-column: span 6;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius:16px;
  padding:16px;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(125,211,252,.35);
  background: rgba(255,255,255,.05);
}

.card h2{
  margin:0 0 8px;
  font-size:16px;
}

.card p{
  margin:0 0 12px;
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}

.card .meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:12px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}

/* -------------------------------------------------
   UI Elements
-------------------------------------------------- */

.row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--text);
  border-radius:12px;
  cursor:pointer;
}

.btn:hover{
  border-color: rgba(125,211,252,.35);
}

.btn.primary{
  border-color: rgba(125,211,252,.45);
  background: rgba(125,211,252,.08);
}

.input,
textarea{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline:none;
}

textarea{
  min-height:160px;
  resize:vertical;
}

.small{
  font-size:12px;
  color:var(--muted);
}

.hr{
  height:1px;
  background:var(--line);
  margin:16px 0;
}

/* -------------------------------------------------
   Footer
-------------------------------------------------- */

.footer{
  margin-top:18px;
  color:var(--muted);
  font-size:12px;
}

/* -------------------------------------------------
   Responsive
-------------------------------------------------- */

@media (max-width: 780px){
  .card{
    grid-column: span 12;
  }
}
