* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Inter", system-ui, sans-serif;
    color: #fff;
    background: #0b0d10;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }
.hidden { display: none !important; }

/* ---------- background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; background: #0b0d10; }
.bg div { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.5s ease-in-out; }
.bg div.on { opacity: 1; }
.bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }

/* ---------- hero ---------- */
.hero { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 95px 20px 70px; }
.logo { width: 186px; height: 186px; border-radius: 36px; object-fit: cover; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }
.hero h1 { margin-top: 30px; font-size: 46px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.hero p { margin-top: 16px; max-width: 760px; font-size: 18.5px; line-height: 28px; color: #e5e7eb; white-space: pre-line; }
.play {
    margin-top: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 170px; height: 60px; border-radius: 6px;
    background: #3b564d; color: #eaf2ee; font-size: 18px; font-weight: 700; border: 1px solid #52776a;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    transition: background 0.2s ease, transform 0.2s ease;
}
.play:hover { background: #466659; transform: translateY(-1px); }

/* ---------- unit cards ---------- */
.cards { display: flex; justify-content: center; gap: 27px; flex-wrap: wrap; margin-top: 64px; width: 100%; }
.card {
    width: 435px; max-width: 100%;
    padding: 28px 24px 30px;
    background: rgba(12, 12, 14, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    text-align: center;
}
.card h2 { font-size: 24px; font-weight: 700; }
.card .label { display: block; margin-top: 18px; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; color: #9ca3af; }
.card hr + .label { margin-top: 0; font-size: 13px; }
.card small { display: block; font-size: 10px; color: #6b7280; }
.card .big { display: block; margin-top: 8px; font: 500 28px "JetBrains Mono", ui-monospace, Consolas, monospace; color: #10b981; }
.card .big span { font-size: 15px; }
.card .value { display: block; margin-top: 8px; font: 500 20px "JetBrains Mono", ui-monospace, Consolas, monospace; color: #3b82f6; }
.card hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); margin: 22px 0 18px; }

/* ---------- footer ---------- */
footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; padding: 30px 20px 40px; }
footer a { color: #6b7280; font-size: 15px; transition: color 0.2s ease; }
footer a:hover { color: #d1d5db; }

/* ---------- 404 / 500 ---------- */
.error-page { justify-content: center; padding-top: 70px; }
.error-page .logo { width: 120px; height: 120px; border-radius: 26px; }
.error-code {
    margin-top: 28px;
    font: 700 96px/1 "JetBrains Mono", ui-monospace, Consolas, monospace;
    letter-spacing: 0.04em; color: #10b981;
    text-shadow: 0 6px 30px rgba(16, 185, 129, 0.25);
}
.error-page h1 { margin-top: 18px; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.error-actions .play { margin-top: 0; }
.ghost {
    display: inline-flex; align-items: center; justify-content: center;
    width: 170px; height: 60px; border-radius: 6px;
    background: rgba(12, 12, 14, 0.6); color: #e5e7eb; font-size: 18px; font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 0.2s ease, transform 0.2s ease;
}
.ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }

/* ---------- verify ---------- */
.verify-page { padding-top: 60px; }
.verify-page h1 { margin-top: 24px; }
.verify-card {
    width: 100%; max-width: 520px; margin-top: 34px; padding: 30px 32px; text-align: left;
    background: rgba(12, 12, 14, 0.72); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); backdrop-filter: blur(8px);
}
.verify-card h2 { font-size: 22px; font-weight: 700; }
.verify-card p { margin-top: 10px; font-size: 15.5px; line-height: 24px; color: #d1d5db; max-width: none; white-space: normal; }
.verify-card code { font: 500 14px "JetBrains Mono", ui-monospace, Consolas, monospace; padding: 1px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); color: #fff; }
.verify-step { margin-bottom: 8px; font: 700 12px "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.12em; text-transform: uppercase; color: #10b981; }
.verify-pill { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #34d399; background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.35); }
.verify-done {
    display: flex; align-items: center; gap: 10px; margin-bottom: 22px; padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 14.5px; color: #d1d5db;
}
.verify-done b { color: #fff; font-weight: 600; }
.verify-check {
    display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 50%;
    font-size: 13px; font-weight: 700; color: #0b0d10; background: #10b981;
}
.verify-done img { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.verify-done button {
    margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 13.5px; color: #9ca3af; text-decoration: underline; text-underline-offset: 3px;
}
.verify-done button:hover { color: #fff; }
.vbtn {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 22px; border-radius: 6px;
    font-size: 16.5px; font-weight: 700; color: #fff; transition: background 0.2s ease, transform 0.2s ease;
}
.vbtn:hover { transform: translateY(-1px); }
.vbtn.discord { background: #5865f2; border: 1px solid #6d78f5; }
.vbtn.discord:hover { background: #4752c4; }
.vbtn.roblox { background: #3b564d; border: 1px solid #52776a; color: #eaf2ee; }
.vbtn.roblox:hover { background: #466659; }
#notice:empty { display: none; }
#notice { margin-bottom: 20px; padding: 12px 14px; border-radius: 8px; font-size: 14.5px; line-height: 21px; }
#notice.ok { color: #a7f3d0; background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.35); }
#notice.err { color: #fecaca; background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.35); }
.verify-page .error-actions { margin-top: 26px; }

@media (max-width: 640px) {
    .verify-card { padding: 24px 20px; }
    .error-code { font-size: 72px; }
    .hero { padding-top: 60px; }
    .logo { width: 140px; height: 140px; border-radius: 28px; }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 16px; line-height: 25px; }
}
