/* Shared Donut Menu look for every page except the home page (which inlines the same tokens). */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Pixelify+Sans:wght@400;600&display=swap');

:root {
    --bg: #140e12;
    --bg-2: #1c1419;
    --card: #211820;
    --card-2: #2a1f28;
    --line: rgba(255, 220, 235, 0.09);
    --line-strong: rgba(255, 220, 235, 0.16);
    --text: #fff4f8;
    --dim: #b39fab;
    --pink: #ff5c9d;
    --pink-deep: #e0337c;
    --yellow: #ffd23f;
    --mint: #46e5b4;
    --sky: #5ab8ff;
    --red: #ff5a5a;
    --display: 'Bricolage Grotesque', sans-serif;
    --pixel: 'Pixelify Sans', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(600px 400px at 85% 0%, rgba(255, 92, 157, 0.14), transparent 70%),
        radial-gradient(500px 400px at 0% 80%, rgba(70, 229, 180, 0.07), transparent 70%);
}

a { color: inherit; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* --- NAV --- */
.site-nav { max-width: 1040px; margin: 12px auto 0; padding: 0 20px; }
.site-nav .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(28, 20, 25, 0.85); border: 1px solid var(--line-strong); border-radius: 18px; padding: 10px 10px 10px 18px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; gap: 8px; text-decoration: none; letter-spacing: -0.5px; color: var(--text); }
.logo em { font-style: normal; color: var(--pink); }

/* --- TYPE --- */
.kicker { font-family: var(--pixel); color: var(--pink); font-size: 0.95rem; margin-bottom: 6px; }
.page-title { font-family: var(--display); font-size: clamp(2.2rem, 5.5vw, 3.4rem); font-weight: 800; letter-spacing: -2px; line-height: 1.02; }
.page-title span { color: var(--pink); }
.lead { color: var(--dim); font-size: 1.05rem; margin-top: 12px; max-width: 560px; }
.h2 { font-family: var(--display); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.5px; }
.muted { color: var(--dim); }

/* --- SURFACES --- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.panel + .panel { margin-top: 16px; }

/* --- BUTTONS --- */
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.88rem; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-family: inherit; transition: 0.2s; }
.btn-ghost:hover { background: var(--card); }
.btn-main { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px; background: var(--yellow); color: #2a1d00; border: none; border-radius: 14px; font-weight: 800; font-family: inherit; font-size: 1rem; cursor: pointer; box-shadow: 0 4px 0 #c99a00; transition: 0.15s; text-decoration: none; }
.btn-main:hover { transform: translateY(-1px); }
.btn-main:disabled, .btn-main.disabled { background: var(--card-2); color: #6f5d68; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-pink { background: var(--pink); color: #2b0716; box-shadow: 0 4px 0 var(--pink-deep); }
.btn-discord { display: inline-flex; align-items: center; gap: 8px; background: #5865F2; color: white; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.btn-discord:hover { filter: brightness(1.1); }
.btn-copy { background: var(--card-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px; padding: 7px 12px; font-weight: 700; font-family: inherit; font-size: 0.8rem; cursor: pointer; white-space: nowrap; transition: 0.2s; }
.btn-copy:hover { border-color: var(--pink); color: var(--pink); }

/* --- FORMS --- */
.field-label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--dim); margin: 4px 0 6px; }
.input { width: 100%; padding: 13px 14px; background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); border-radius: 12px; margin-bottom: 12px; outline: none; font-family: inherit; font-size: 0.95rem; }
.input:focus { border-color: var(--pink); }

/* --- CHECKOUT PROGRESS --- */
.steps-bar { display: flex; gap: 6px; }
.steps-bar div { flex: 1; font-family: var(--pixel); font-size: 0.8rem; color: var(--dim); padding-top: 8px; border-top: 3px solid var(--card-2); }
.steps-bar div.done { color: var(--text); border-color: var(--pink); }

/* --- BITS --- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--pixel); font-size: 0.85rem; padding: 3px 10px; border-radius: 8px; }
.pill.pending { color: var(--yellow); background: rgba(255, 210, 63, 0.1); border: 1px solid rgba(255, 210, 63, 0.25); }
.pill.ok { color: var(--mint); background: rgba(70, 229, 180, 0.1); border: 1px solid rgba(70, 229, 180, 0.25); }
.error-box { color: var(--red); font-size: 0.88rem; background: rgba(255, 90, 90, 0.08); border: 1px solid rgba(255, 90, 90, 0.25); padding: 10px 12px; border-radius: 10px; margin: 12px 0; display: none; }

.site-footer { text-align: center; color: #7a6872; font-size: 0.8rem; padding: 50px 20px 30px; }
.site-footer a { color: var(--dim); text-decoration: none; margin: 0 8px; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 600px) {
    .container, .site-nav { padding: 0 16px; }
    .panel { padding: 20px; }
}

/* Floating Discord button (bottom right) */
.discord-fab { position: fixed; right: 20px; bottom: 20px; z-index: 3000; width: 56px; height: 56px; border-radius: 16px; background: #5865F2; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; text-decoration: none; box-shadow: 0 8px 30px rgba(88, 101, 242, 0.45), 0 0 0 0 rgba(88, 101, 242, 0.5); transition: transform 0.2s; animation: fab-pulse 2.4s infinite; }
.discord-fab:hover { transform: translateY(-3px) scale(1.05); }
.discord-fab .fab-tip { position: absolute; right: calc(100% + 10px); white-space: nowrap; background: var(--card, #211820); color: var(--text, #fff4f8); border: 1px solid rgba(255, 220, 235, 0.16); font-size: 0.82rem; font-weight: 700; padding: 6px 10px; border-radius: 10px; opacity: 0; transform: translateX(4px); pointer-events: none; transition: 0.2s; font-family: 'DM Sans', sans-serif; }
.discord-fab:hover .fab-tip { opacity: 1; transform: none; }
@keyframes fab-pulse { 70% { box-shadow: 0 8px 30px rgba(88, 101, 242, 0.45), 0 0 0 14px rgba(88, 101, 242, 0); } 100% { box-shadow: 0 8px 30px rgba(88, 101, 242, 0.45), 0 0 0 0 rgba(88, 101, 242, 0); } }
@media (max-width: 600px) { .discord-fab { width: 50px; height: 50px; right: 14px; bottom: 14px; font-size: 1.4rem; } .discord-fab .fab-tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .discord-fab { animation: none; } }
