/* ============================================================
   Hexlands Design Tokens, Muster aus Aethon.Components/tokens.css.
   Farben liefern die Spielpaletten (.app.theme-*) in app.css;
   hier stehen nur Aliase mit den Aethon-Namen, damit portierte
   Komponenten ohne Umbenennen laufen.
   ============================================================ */

:root {
    --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    --radius-sm: 6px;
    --radius: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .4), 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 4px 12px rgba(0, 0, 0, .4), 0 2px 4px rgba(0, 0, 0, .3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .5), 0 4px 8px rgba(0, 0, 0, .3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, .6), 0 8px 16px rgba(0, 0, 0, .4);

    --ease-default: cubic-bezier(.16, 1, .3, 1);
    --ease-in: cubic-bezier(.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --duration-fast: 100ms;
    --duration-default: 160ms;
    --duration-slow: 260ms;
    --duration-slower: 400ms;

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, .12);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, .12);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, .12);
    --info: #3b82f6;
    --info-bg: rgba(59, 130, 246, .12);
}

/* Aliase auf die aktive Spielpalette. */
.app {
    --bg-base: var(--bg);
    --bg-surface: var(--surface);
    --bg-elevated: var(--surface-2);
    --bg-overlay: var(--surface-3);
    --bg-hover: var(--surface-3);
    --border-subtle: color-mix(in srgb, var(--line) 60%, transparent);
    --border-default: var(--line);
    --border-strong: color-mix(in srgb, var(--line) 70%, var(--ink));
    --text-primary: var(--ink);
    --text-secondary: var(--muted);
    --text-muted: color-mix(in srgb, var(--muted) 65%, transparent);
    --text-inverse: var(--accent-ink);
    --primary: var(--accent);
    --primary-ink: var(--accent-ink);
    --primary-glow: color-mix(in srgb, var(--accent) 22%, transparent);
    --primary-glow-sm: color-mix(in srgb, var(--accent) 12%, transparent);
    --primary-border: color-mix(in srgb, var(--accent) 35%, transparent);
    --secondary: var(--accent-2);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --duration-fast: 0ms;
        --duration-default: 0ms;
        --duration-slow: 0ms;
        --duration-slower: 0ms;
    }
}
