:root {
  color-scheme: dark;
  --bg: #0c111b;
  --panel: #131b29;
  --panel-2: #182235;
  --line: #2a3850;
  --text: #eef4ff;
  --muted: #91a1bb;
  --blue: #5ba7ff;
  --blue-2: #2f7ed8;
  --green: #35c98d;
  --orange: #ffb75b;
  --danger: #ff7b7b;
  --shadow: 0 20px 50px rgb(0 0 0 / 28%);
  font-family: Inter, Pretendard, "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% -10%, rgb(47 126 216 / 20%), transparent 34rem),
    var(--bg);
  color: var(--text);
}

a { color: inherit; }
button, input, select { font: inherit; }

.portal-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.portal-shell {
  width: min(760px, 100%);
  padding: clamp(28px, 6vw, 60px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgb(19 27 41 / 92%);
  box-shadow: var(--shadow);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--blue), var(--blue-2));
  color: #07101c;
  font-weight: 900;
  letter-spacing: -.04em;
}

.eyebrow {
  margin: 20px 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

h1 { margin: 0; font-size: clamp(28px, 5vw, 44px); letter-spacing: -.04em; }
.portal-lead { margin: 12px 0 30px; color: var(--muted); line-height: 1.65; }

.portal-grid { display: grid; gap: 12px; }
.portal-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-2);
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.portal-card:hover { transform: translateY(-2px); border-color: #4d6281; background: #1b2940; }
.portal-card.is-accent { border-color: rgb(91 167 255 / 48%); }
.portal-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgb(91 167 255 / 13%);
  color: var(--blue);
  font-size: 22px;
}
.portal-card b { display: block; font-size: 17px; }
.portal-card small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.45; }
.portal-arrow { color: var(--blue); font-size: 22px; }
.portal-note { margin: 24px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

@media (max-width: 540px) {
  .portal-body { padding: 12px; }
  .portal-shell { padding: 24px 18px; border-radius: 18px; }
  .portal-card { grid-template-columns: 38px 1fr auto; padding: 15px 13px; }
  .portal-icon { width: 38px; height: 38px; }
}
