/* 링크나우 소개 — 상단 접속안내 + 기존 소개 (허브와 같은 색감) */
:root {
  --bg: #0b0f14;
  --panel: #121820;
  --panel2: #1a2230;
  --line: #2a3548;
  --text: #f3f5f8;
  --muted: #8b97a8;
  --accent: #3b9eff;
  --hot: #ff3b5c;
  --teal: #2dd4bf;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.5;
}
a { color: inherit; }

/* ===== 상단 접속안내 ===== */
.gw {
  padding: 48px 16px 36px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(59, 158, 255, 0.18), transparent 60%),
    radial-gradient(700px 360px at 80% 20%, rgba(255, 59, 92, 0.10), transparent 55%),
    var(--bg);
}
.gw-wrap {
  width: min(520px, 100%);
  margin: 0 auto;
  text-align: center;
}
.gw-logo {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1.1;
}
.gw-logo span { color: var(--hot); }

.gw-tags {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  word-break: keep-all;
}

.gw-notice {
  margin: 0 auto 24px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #d5dbe6;
  font-size: 0.95rem;
  line-height: 1.6;
  word-break: keep-all;
}
.gw-notice strong {
  color: var(--accent);
  font-weight: 800;
}

.gw-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.85rem;
}
.gw-hub-text {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  word-break: break-all;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gw-hub-text:hover {
  color: #6bb6ff;
}

.gw-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4aa8ff, #2f80ed);
  color: #fff;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(47, 128, 237, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.gw-go:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.gw-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.gw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  border: 1px solid transparent;
}
.gw-btn-copy {
  background: var(--panel2);
  color: var(--text);
  border-color: var(--line);
}
.gw-btn-copy:hover { border-color: var(--accent); }
.gw-btn-tg {
  background: var(--hot);
  color: #fff;
}
.gw-btn-tg:hover { filter: brightness(1.06); }

.gw-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  background: rgba(18, 24, 32, 0.96);
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 50;
}
.gw-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== 아래 소개 본문 ===== */
.ld-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 16px 48px;
}
.ld-block {
  margin-bottom: 40px;
}
.ld-block h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.ld-block h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--accent);
}
.ld-block p, .ld-block li {
  color: #c9d2df;
  word-break: keep-all;
}
.ld-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.ld-grid-2 article,
.ld-cards article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.ld-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ld-cats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ld-cats li {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
  font-size: 0.88rem;
}
.ld-block details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.ld-block summary {
  cursor: pointer;
  font-weight: 800;
}
.ld-block details p { margin: 10px 0 0; }

.ld-footer {
  border-top: 1px solid var(--line);
  padding: 24px 16px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.ld-footer .muted { opacity: 0.85; }

@media (max-width: 640px) {
  .ld-grid-2, .ld-cards { grid-template-columns: 1fr; }
  .gw-row { grid-template-columns: 1fr; }
}
