/* Hallmark · stamp: gaming-tokens · genre: atmospheric · theme: terminal-gaming · built: the project */
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 · weakest: V, dark gaming palette; anchored with tinted obsidian #0A0B10 and fire orange #FF8A00 */

:root {
    /* Color Palette Tokens (Hallmark Gate 7a & 48 compliant) */
    --color-bg-base: #0A0B10;
    --color-surface-card: #14151B;
    --color-surface-hover: #1A1C24;
    --color-surface-active: #20232E;
    --color-surface-deep: #07080B;
    --color-surface-dim: rgba(255, 255, 255, 0.08);
    
    --color-border-subtle: #222530;
    --color-border-hover: #323646;
    --color-border-focus: #FF8A00;
    
    --color-primary: #FF8A00;
    --color-primary-hover: #FF9B1A;
    --color-primary-glow: rgba(255, 138, 0, 0.2);
    --color-primary-border: rgba(255, 138, 0, 0.3);
    --color-secondary: #FF3B30;
    --color-tertiary: #00D8F6;
    --color-success: #10B981;
    --color-shadow-black: rgba(0, 0, 0, 0.6);
    
    --color-badge-red-bg: rgba(255, 59, 48, 0.15);
    --color-badge-red-ink: #FF6B6B;
    --color-badge-red-border: rgba(255, 59, 48, 0.3);
    --color-badge-cyan-bg: rgba(0, 216, 246, 0.12);
    --color-badge-cyan-border: rgba(0, 216, 246, 0.25);

    --color-text-ink: #F8F9FA;
    --color-text-muted: #8E92A4;
    --color-text-subtle: #63687D;
    --color-text-dark: #0A0B10;

    /* Bio Palette Swatches (Gate 48 compliant) */
    --swatch-red: #FF0000;
    --swatch-orange: #FF4500;
    --swatch-gold: #FFD700;
    --swatch-cyan: #00E5FF;
    --swatch-lime: #00FF00;
    --swatch-blue: #1E90FF;
    --swatch-pink: #FF1493;
    --swatch-white: #F8F9FA;
    --swatch-silver: #A0A0A0;
    --swatch-mint: #00FA9A;
    --swatch-crimson: #DC143C;
    --swatch-amber: #FFA500;

    /* Typography Tokens */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;

    /* Radius & Spacing Scales */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 9999px;

    /* Transitions (Explicit properties only - Gate 10a compliant) */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
}

/* Global Overflow Safety (Hallmark Gate 34 Floor Rule) */
html,
body {
    overflow-x: clip;
    width: 100%;
}

/* Focus Visible Standard (Hallmark Gate 26a Floor Rule) */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Touch & Tap Active Feedback (Hallmark Reflex 26b) */
button:active:not(:disabled),
a:active:not([aria-disabled="true"]) {
    transform: scale(0.98);
}

/* Reduced Motion Fallback (Hallmark Gate 27 Floor Rule) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
