:root,
[data-theme="dark"] {
    --bg-base: #0a0a0f;
    --bg-elevated: rgba(33, 33, 33, 0.6);
    --bg-card: rgba(255, 255, 255, 0.1);
    --bg-card-border: rgba(255, 255, 255, 0.05);
    --bg-button: rgba(255, 255, 255, 0.05);
    --bg-footer: rgba(255, 255, 255, 0.05);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --yellow: #ffce00;
    --purple: #7d5dfe;
    --glow-opacity: 0.32;
    --theme-active-bg: rgba(0, 0, 0, 0.75);
    /* Header tint gradient (used by .site-header::after). Tweak stops/alphas here. */
    --bg-header-gradient: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.55) 55%,
        rgba(0, 0, 0, 0.15) 100%
    );
    --max-width: 1024px;
    --page-pad: clamp(0.75rem, 5vw, 4rem);

    /* Header size — page-main clearance tracks these */
    --header-pad-top: 32px;
    --header-pad-bottom: 12px;
    --brand-logo-height: 60px;
    --header-content-gap: 28px;
    --header-clearance: calc(
        var(--header-pad-top) + var(--brand-logo-height) + var(--header-pad-bottom) + var(--header-content-gap)
    );

    /* ——— TWEAK: corner radii (Safari / Firefox fallback) ——— */
    --radius-pill: 100px; /* buttons, nav pills, theme toggle, menu */
    --radius-card: 24px;  /* feature / rule / power-up cards */
}

[data-theme="light"] {
    --bg-base: #ffffff;
    --bg-elevated: rgba(125, 93, 254, 0.12);
    --bg-card: rgba(125, 93, 254, 0.12);
    --bg-card-border: rgba(125, 93, 254, 0.08);
    --bg-button: rgba(125, 93, 254, 0.12);
    --bg-footer: rgba(0, 0, 0, 0.04);
    --text: #000000;
    --text-muted: rgba(0, 0, 0, 0.7);
    --glow-opacity: 0.5;
    --theme-active-bg: rgba(255, 255, 255, 0.9);
    --bg-header-gradient: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.55) 55%,
        rgba(255, 255, 255, 0.15) 100%
    );
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-clearance);
    background: var(--bg-base);
}

body {
    position: relative;
    font-family: 'Gluten', system-ui, sans-serif;
    background: var(--bg-base);
    /* lvh = viewport with browser chrome hidden, so the extra strip is already painted */
    min-height: 100vh;
    min-height: 100lvh;
    color: var(--text);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    padding: 0 8px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.page-glow::before,
.page-glow::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
    opacity: var(--glow-opacity);
}

/* Centers outside corners; glow bleeds into the page */
.page-glow::before {
    width: min(1300px, 180vw);
    height: min(1300px, 180vw);
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
}

.page-glow::after {
    width: min(900px, 150vw);
    height: min(1100px, 170vw);
    top: 42%;
    left: 0;
    transform: translate(-50%, 0);
}

.site-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100lvh;
}

.container {
    width: 100%;
    max-width: calc(var(--max-width) + var(--page-pad) * 2);
    margin: 0 auto;
    padding: 0 var(--page-pad);
}

/* Header — fixed so it covers the top during overscroll bounce */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
}

/* Solid fill above the viewport — masks glow during rubber-band overscroll */
.site-header::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 100vh;
    background: var(--bg-base);
}

/* Frosted layer: progressive blur (strong at top, fade out below the bar) */
.header-frost {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: -2.5rem;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    transition: bottom 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-frost span {
    position: absolute;
    inset: 0;
}

.header-frost span:nth-child(1) {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
}

.header-frost span:nth-child(2) {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 36%, transparent 72%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 36%, transparent 72%);
}

.header-frost span:nth-child(3) {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 40%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 40%);
}

.site-header:has(.mobile-nav.open) .header-frost {
    bottom: -3.5rem;
}

/* Tint fade at the bottom (no hard edge). Blur lives on .header-frost. */
.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: -2.5rem;
    z-index: -1;
    pointer-events: none;
    background: var(--bg-header-gradient);
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        rgba(0, 0, 0, 0.45) 78%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        rgba(0, 0, 0, 0.45) 78%,
        transparent 100%
    );
    transition:
        background 0.35s ease,
        bottom 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header:has(.mobile-nav.open)::after {
    bottom: -3.5rem;
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 58%,
        rgba(0, 0, 0, 0.5) 80%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 58%,
        rgba(0, 0, 0, 0.5) 80%,
        transparent 100%
    );
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: var(--header-pad-top) var(--page-pad) var(--header-pad-bottom);
    max-width: calc(var(--max-width) + var(--page-pad) * 2);
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo {
    height: var(--brand-logo-height);
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border-radius: var(--radius-pill);
    background: var(--bg-elevated);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(25px);
}

.theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    border-radius: calc(var(--radius-pill) - 2px);
    background: transparent;
    cursor: pointer;
    opacity: 0.25;
    transition: opacity 0.15s, background 0.15s;
}

.theme-btn img {
    width: 24px;
    height: 24px;
}

.theme-btn.active {
    opacity: 1;
    background: var(--theme-active-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    background: var(--bg-elevated);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(25px);
    text-decoration: none;
    color: var(--text);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    transition: background 0.15s, opacity 0.15s;
}

.nav-pill:hover {
    opacity: 0.85;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s, transform 0.1s;
}

.btn:hover {
    opacity: 0.9;
}

.btn:active {
    transform: scale(0.98);
}

.btn-yellow {
    background: var(--yellow);
    color: #000;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost {
    background: var(--bg-button);
    color: var(--text);
    border-color: var(--bg-card-border);
}

[data-theme="light"] .btn-ghost {
    color: #000;
}

[data-theme="light"] .nav-pill {
    color: #000;
}

[data-theme="light"] .theme-btn img {
    /* Keep icon colors readable on light chrome */
    opacity: 1;
}

[data-theme="light"] .theme-btn[data-theme-option="auto"] img {
    filter: invert(1);
}

.btn-glow,
.btn-glow.btn {
    /*opacity: 0.55;*/
    pointer-events: none;
    animation: pulse-dark-mode 3s infinite;
}
[data-theme="light"] .btn-glow,
[data-theme="light"] .btn-glow.btn {
    animation: pulse-light-mode 3s infinite;
}

@keyframes pulse-dark-mode {
    0% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.75));
    }
    100% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
    }
}

@keyframes pulse-light-mode {
    0% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.85));
    }
    50% {
        filter: drop-shadow(0 0 2px rgba(255, 215, 0, 1));
    }
    100% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.85));
    }
}

.btn-store {
    gap: 10px;
}

.btn-store-icon {
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.btn-store-icon--android {
    width: 22px;
    height: 22px;
    -webkit-mask-image: url(/assets/icons/android.svg);
    mask-image: url(/assets/icons/android.svg);
}

.btn-store-icon--ios {
    width: 18px;
    height: 18px;
    -webkit-mask-image: url(/assets/icons/apple.svg);
    mask-image: url(/assets/icons/apple.svg);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    padding: 0;
    border-radius: var(--radius-pill);
    background: var(--bg-elevated);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(25px);
    cursor: pointer;
    color: var(--text);
}

.menu-toggle img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.menu-toggle .menu-icon-close {
    display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-open {
    display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
    display: block;
}

[data-theme="light"] .menu-toggle img {
    filter: invert(1);
}

/* Squircle corners where supported; Safari/Firefox keep values above */
@supports (corner-shape: squircle) {
    :root,
    [data-theme="dark"] {
        /* ——— TWEAK: squircle corner radii (Chromium) ——— */
        --radius-pill: 24px; /* buttons, nav pills, theme toggle, menu */
        --radius-card: 50px; /* feature / rule / power-up cards */
    }

    /* Pills */
    .theme-toggle,
    .theme-btn,
    .nav-pill,
    .btn,
    .menu-toggle {
        corner-shape: squircle;
    }

    /* Cards */
    .feature-card,
    .rule-card,
    .powerup-card,
    .auth-card,
    .report-card,
    .report-context {
        corner-shape: squircle;
    }

    .auth-card input,
    .report-card input,
    .report-card select,
    .report-card textarea {
        corner-shape: squircle;
    }
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 var(--page-pad);
    max-width: calc(var(--max-width) + var(--page-pad) * 2);
    margin: 0 auto;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    transition:
        max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease,
        padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.45s;
}

.mobile-nav.open {
    max-height: 20rem;
    opacity: 1;
    padding-bottom: 24px;
    pointer-events: auto;
    visibility: visible;
}

.mobile-nav .nav-pill,
.mobile-nav .btn {
    width: 100%;
    transform: translateY(-6px);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
    opacity: 0;
}

.mobile-nav.open .nav-pill,
.mobile-nav.open .btn {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav.open .nav-pill:nth-child(1),
.mobile-nav.open .btn:nth-child(1) { transition-delay: 0.04s; }
.mobile-nav.open .nav-pill:nth-child(2),
.mobile-nav.open .btn:nth-child(2) { transition-delay: 0.08s; }
.mobile-nav.open .nav-pill:nth-child(3),
.mobile-nav.open .btn:nth-child(3) { transition-delay: 0.12s; }
.mobile-nav.open .nav-pill:nth-child(4),
.mobile-nav.open .btn:nth-child(4) { transition-delay: 0.16s; }

/* Fixed header: shift page content down when mobile nav opens */
.site-wrap > main,
.site-wrap > .site-footer {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(var(--mobile-nav-shift, 0px));
}

/* Hero — first fold uses small viewport so it does not jump when the browser bar hides */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 64px var(--page-pad) 32px;
    height: 100vh;
    height: 100svh;
    box-sizing: border-box;
}

.hero-logo {
    width: min(600px, 70vw);
    height: auto;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-actions .btn {
    width: auto;
}

/* Sections */
.section {
    padding: 0;
}

.section-stack {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding-top: 32px;
    padding-bottom: 32px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 18px;
    color: #fff;
    -webkit-text-stroke: 6px #000;
    paint-order: stroke fill;
    /* Layer shadow of the whole word silhouette (Figma-style), not per-glyph text-shadow */
    filter: drop-shadow(0 4px 0 #000);
}

.section-body {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 24px;
    text-align: justify;
}

.section-body p + p {
    margin-top: 12px;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-card,
.rule-card,
.powerup-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-card);
    padding: 24px;
}

.feature-card-head {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 10px;
}

.feature-card-head img {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    object-fit: contain;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
}

.feature-card p,
.rule-card p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
    text-align: left;
}

.section-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}

/* Rules / legal pages — clear the fixed header */
.page-main {
    padding-top: var(--header-clearance);
    padding-bottom: 64px;
}

.error-page .section-cta {
    margin-top: 24px;
}

.rules-intro {
    margin-bottom: 56px;
}

.powerups-intro {
    margin-bottom: 24px;
}

.powerups-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.powerup-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 24px 32px 42px 32px;
}

.powerup-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.powerup-head img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.powerup-head h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.powerup-card p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.35;
    text-align: center;
}

.powerups-note {
    margin-top: 24px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
}

/* Legal */
.page-header {
    padding: 24px 0 32px;
    margin-bottom: 8px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-header .meta {
    font-family: 'Sora', system-ui, sans-serif;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
}

.legal-content {
    padding-bottom: 64px;
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 400;
}

.legal-content h2 {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 36px 0 12px;
    color: var(--text);
    -webkit-text-stroke: 0;
    paint-order: normal;
    filter: none;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 24px 0 8px;
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.55;
    text-align: justify;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.5rem;
    margin-bottom: 16px;
}

.legal-content a {
    color: var(--purple);
}

.legal-content strong,
.legal-content code {
    color: var(--text);
    font-weight: 700;
}

/* Auth pages (reset password / verify email) */
.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0 64px;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
}

.auth-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 420px;
}

.auth-brand {
    display: block;
    text-decoration: none;
}

.auth-brand img {
    height: 60px;
    width: auto;
}

.auth-card {
    width: 85%;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
}

.auth-card h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 8px;
    color: #fff;
    -webkit-text-stroke: 6px #000;
    paint-order: stroke fill;
    filter: drop-shadow(0 4px 0 #000);
}

.auth-card .lead {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.35;
}

.auth-card label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.auth-card input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--bg-card-border);
    background: var(--bg-elevated);
    color: var(--text);
    margin-bottom: 14px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 300;
}

.auth-card input:focus,
.report-card input:focus,
.report-card select:focus,
.report-card textarea:focus {
    outline: 2px solid var(--purple);
    outline-offset: 1px;
}

.auth-card .btn {
    width: 100%;
}

.auth-card .btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.auth-msg {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.45;
}

.auth-msg.error {
    color: #f87171;
}

.auth-msg.ok {
    color: #4ade80;
}

.auth-hint {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.35;
}

.auth-checks {
    list-style: none;
    text-align: left;
    margin: -4px 0 16px;
    padding: 0 8px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-muted);
}

.auth-checks li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    padding: 0;
}

.auth-checks li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    flex-shrink: 0;
}

.auth-checks li.ok {
    color: #4ade80;
}

.auth-checks li.ok::before {
    background: currentColor;
    border-color: currentColor;
}

.auth-card--center {
    text-align: center;
}

.auth-card--center label {
    text-align: center;
}

.auth-card--center input {
    text-align: center;
}

.auth-spinner {
    width: 36px;
    height: 36px;
    margin: 12px auto;
    border: 3px solid var(--bg-card-border);
    border-top-color: var(--yellow);
    border-radius: 50%;
    animation: auth-spin 0.8s linear infinite;
}

@keyframes auth-spin {
    to { transform: rotate(360deg); }
}

.auth-hidden {
    display: none !important;
}

/* Report problem page */
.report-page {
    max-width: 560px;
    margin: 0 auto;
}

.report-lead {
    margin-bottom: 24px;
}

.report-context {
    background: var(--bg-elevated);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-card);
    padding: 12px 16px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
}

.report-context__label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.report-card input.is-prefilled,
.report-card input:read-only {
    opacity: 0.85;
    cursor: default;
}

.report-card {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
}

.report-card label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.report-card .optional {
    font-weight: 300;
    opacity: 0.75;
}

.report-card input,
.report-card select,
.report-card textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--bg-card-border);
    background: var(--bg-elevated);
    color: var(--text);
    margin-bottom: 14px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 300;
}

.report-card textarea {
    border-radius: var(--radius-card);
    resize: vertical;
    min-height: 140px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.report-card select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237d5dfe' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.report-card .char-count {
    text-align: right;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.report-card .btn {
    width: 100%;
}

.report-card .btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.report-page .auth-msg {
    margin-top: 20px;
}

/* Footer */
.site-footer {
    margin-top: auto;
    background: var(--bg-footer);
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.3;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding: 0 8px;
}

.footer-links a {
    font-size: 12px;
    font-weight: 300;
    text-decoration: none;
    line-height: 1.3;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 800px) {
    :root,
    [data-theme="dark"] {
        --glow-opacity: 0.48;
        --header-pad-top: 24px;
        --brand-logo-height: 42px;
        --header-content-gap: 16px;
    }

    [data-theme="light"] {
        --glow-opacity: 0.62;
    }

    .page-glow::before {
        width: 180vw;
        height: 180vw;
        top: 0;
        right: 0;
        transform: translate(50%, -50%);
    }

    .page-glow::after {
        width: 170vw;
        height: 170vw;
        top: 38%;
        left: 0;
        transform: translate(-48%, 0);
    }

    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        height: 100vh;
        height: 100svh;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hero-logo {
        width: min(280px, 70vw);
    }

    .section-title {
        font-size: 28px;
    }

    .powerups-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}
