/* =====================================================================
   00 - DESIGN TOKENS
   Every colour, font, size and texture used by the theme lives here.
   Change the look by editing this file, or override single values from
   config/theme.php ("colors") without touching CSS at all.
   Style: WarZ survival - crimson, bone white and charcoal, worn textures.
   ===================================================================== */

:root {
    /* Surfaces (darkest -> lightest), neutral charcoal */
    --ink-950: #070708;
    --ink-900: #0d0d10;
    --ink-850: #131317;
    --ink-800: #19191e;
    --ink-700: #232329;
    --ink-600: #303038;

    /* Text */
    --text: #f1eee8;
    --text-dim: #a8a39b;
    --text-faint: #6f6b66;

    /* Brand */
    --accent: #b8131b;        /* crimson */
    --accent-hot: #dc1f29;    /* hover / highlights */
    --accent-dark: #7d0b11;
    --accent-2: #d6c7a5;      /* bone / stone, like the logo lettering */
    --accent-ink: #1a0503;    /* text on light accents */
    --cool: #4aa3ff;          /* night blue from the key art */

    /* States */
    --ok: #3ddc97;
    --warn: #ffcb47;
    --danger: #ff4d5a;

    /* Lines */
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .16);

    /* Shape & depth */
    --radius: 3px;
    --radius-sm: 2px;
    --shadow: 0 18px 50px rgba(0, 0, 0, .55);
    --glow: 0 0 24px rgba(184, 19, 27, .5), 0 0 60px rgba(184, 19, 27, .2);

    /* Type: condensed Thai like WarZ titles, Bebas for English display */
    --font: 'Noto Sans Thai', system-ui, sans-serif;
    --font-display: 'Bebas Neue', 'Noto Sans Thai', sans-serif;
    --stretch-tight: 75%;     /* font-stretch for buttons, nav, headings */

    /* Motion (80-fx.css uses these; every effect is switched off for prefers-reduced-motion) */
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);   /* small overshoot: pops, presses */
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --dur-fast: .18s;     /* hover colour, press */
    --dur: .35s;          /* lift, glow */
    --dur-slow: .7s;      /* entrances */
    --stagger: 55ms;      /* gap between items that come in one after another */

    /* Depth: raised plates (cards, panels) */
    --plate: linear-gradient(180deg, #17171b, #121215);
    --plate-hi: inset 0 1px 0 rgba(255, 255, 255, .045);   /* thin light on the top edge */
    --lift-shadow: 0 22px 46px rgba(0, 0, 0, .5), 0 0 0 1px rgba(220, 31, 41, .18), 0 10px 40px -12px rgba(184, 19, 27, .45);
    --focus-ring: 0 0 0 2px var(--ink-950), 0 0 0 4px var(--accent-hot);

    /* Layout */
    --nav-h: 68px;
    --container: 1180px;

    /* Art & textures (made by tools/make_ui_textures.py) */
    --hero-image: url('../../assets/img/main-page-bg.jpg');
    --tex-concrete: url('../../assets/img/ui/concrete.jpg');
    --tex-grunge: url('../../assets/img/ui/grunge.png');
    --mask-edge: url('../../assets/img/ui/edge.svg');
    --mask-brush: url('../../assets/img/ui/brush.svg');
    --tile-art: url('../../assets/img/ui/tile-art.jpg');
    --stats-art: url('../../assets/img/ui/stats-bg.jpg');
}
