/* 기본 리셋 + 폰트 */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
    color: #0f172a;
    background:
        radial-gradient(900px 500px at 20% 20%, rgba(59, 130, 246, 0.18), transparent 60%),
        radial-gradient(900px 500px at 80% 30%, rgba(99, 102, 241, 0.14), transparent 60%),
        linear-gradient(180deg, #f8fafc, #eef2ff);
}

/* 중앙 정렬 래퍼 */
.wrap {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 28px 18px;
}

/* 카드 */
.card {
    width: min(560px, 100%);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    padding: 26px 22px;
    position: relative;
}

/* 배지 */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.18);
}

/* 타이포 */
.title {
    margin: 14px 0 6px;
    font-size: 28px;
    line-height: 1.2;
}

.desc {
    margin: 0 0 16px;
    color: rgba(15, 23, 42, 0.72);
    line-height: 1.6;
}

/* 메타 정보 박스 */
.meta {
    display: grid;
    gap: 10px;
    margin: 14px 0 18px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.meta-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.meta-label {
    color: rgba(15, 23, 42, 0.55);
    font-weight: 600;
}

.meta-value {
    font-weight: 700;
}

/* 버튼 영역 */
.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* 버튼 공통 */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn:active {
    transform: translateY(1px);
}

/* primary */
.btn.primary {
    color: white;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.btn.primary:hover {
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.32);
}

/* ghost */
.btn.ghost {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(15, 23, 42, 0.12);
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, 0.95);
}

/* 각주 */
.footnote {
    margin: 14px 0 0;
    font-size: 12px;
    color: rgba(15, 23, 42, 0.55);
}