/* ============================================================
   Blendead — global theme
   Matches the game's identity: the magenta "blend" accent from the
   logo, gold for money/criminals, steel-blue for the law. Dark base
   so the bright, low-poly daytime screenshots pop.
   ============================================================ */

:root {
    --bg: #0b0c10;
    --bg-2: #111319;
    --panel: #14161e;
    --panel-2: #181b24;
    --line: #242838;
    --text: #eef1f6;
    --muted: #9aa3b2;
    --faint: #5e6675;

    --pink: #e0218a;          /* brand / "blend" — from the logo */
    --pink-soft: #ff5cb0;
    --magenta: #9b1856;
    --gold: #f5b942;          /* money / criminals */
    --gold-soft: #ffd479;
    --blue: #4f9dff;          /* police / the law */
    --blue-soft: #8fc0ff;
    --red: #ff5a52;
    --plate: #f4f2f4;         /* the logo's own background colour */

    --radius: 16px;
    --radius-sm: 10px;
    --maxw: 1140px;
    --shadow: 0 20px 60px rgba(0, 0, 0, .45);
    --ease: cubic-bezier(.2, .7, .2, 1);

    --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    /* layered ambient glow: magenta from bottom-left, blue from top-right */
    background:
        radial-gradient(1200px 700px at 85% -10%, rgba(79, 157, 255, .12), transparent 60%),
        radial-gradient(1000px 720px at 8% 108%, rgba(224, 33, 138, .14), transparent 58%),
        var(--bg);
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.08;
    margin: 0 0 .4em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; color: var(--muted); }

/* FocusOnNavigate puts focus on the page <h1> for a11y; it's a non-interactive heading,
   so hide the focus ring it would otherwise draw on load. */
h1:focus { outline: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: clamp(56px, 9vw, 120px) 0; }

.eyebrow {
    font-family: var(--display);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--pink-soft);
    margin: 0 0 .9rem;
}

.grad {
    background: linear-gradient(90deg, var(--pink-soft), var(--pink) 55%, var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---- buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1rem;
    padding: .85em 1.5em;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s var(--ease), background .2s, border-color .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* primary "wishlist" CTA — the brand magenta */
.btn-steam {
    background: linear-gradient(180deg, var(--pink-soft), var(--pink));
    color: #fff;
    box-shadow: 0 10px 30px rgba(224, 33, 138, .32);
}
.btn-steam:hover { box-shadow: 0 16px 44px rgba(224, 33, 138, .46); }

.btn-ghost {
    background: rgba(255, 255, 255, .04);
    border-color: var(--line);
    color: var(--text);
}
.btn-ghost:hover { border-color: #39414f; background: rgba(255, 255, 255, .07); }

.steam-ico { font-size: .8em; }

/* ---- coming-soon: disabled wishlist button + badge ---- */
.btn-soon {
    opacity: .6;
    filter: grayscale(.5);
    cursor: not-allowed;
    pointer-events: none;       /* belt + braces with the disabled attribute */
    box-shadow: none;
}
.btn-soon:hover { transform: none; box-shadow: none; }
.soon-badge {
    font-family: var(--display);
    font-size: .6em;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, .3);
    color: #fff;
    padding: .3em .6em;
    border-radius: 999px;
    margin-left: .2em;
}
.soon-note {
    font-size: .9rem;
    color: var(--gold-soft);
    margin-top: .85rem;
    letter-spacing: .02em;
}

/* ---- boot screen (pre-Blazor) ---- */
.boot {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: var(--bg);
}
.boot-mark {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: .35em;
    font-size: 1.4rem;
    color: var(--pink-soft);
}
.boot-sub { color: var(--faint); font-size: .85rem; letter-spacing: .1em; }

/* ---- blazor error ---- */
#blazor-error-ui {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2a0a1c;
    color: var(--pink-soft);
    padding: .8rem 1.2rem;
    z-index: 1000;
    border-top: 1px solid var(--pink);
}
#blazor-error-ui .reload { text-decoration: underline; }
