/* ================================================================
   WanGame Eval — Design Tokens + Base Reset
   ================================================================ */

:root {
    --bg-base: #0a0a0f;
    --bg-card: #14141f;
    --bg-card-hover: #1a1a2a;
    --bg-glass: rgba(20, 20, 31, 0.85);
    --bg-overlay: rgba(0, 0, 0, 0.7);

    --text-primary: #eaeaf2;
    --text-secondary: #8888a4;
    --text-muted: #555570;

    --accent: #7c6cff;
    --accent-glow: rgba(124, 108, 255, 0.25);
    --good: #22c55e;
    --good-glow: rgba(34, 197, 94, 0.2);
    --bad: #ef4444;
    --bad-glow: rgba(239, 68, 68, 0.2);
    --skip: #6b7280;
    --skip-glow: rgba(107, 114, 128, 0.15);
    --warn: #f59e0b;

    --border: rgba(255, 255, 255, 0.06);
    --border-focus: rgba(124, 108, 255, 0.5);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 100px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);

    --transition: 200ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    --nav-height: 56px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
}

/* Utility */
.hidden {
    display: none !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes cardEnter {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}