/**
 * Global CSS Variables — DivinityMU Framework
 * Change colors here to update the entire theme.
 * All palette-sensitive values are overridden by dev-palette.js at runtime.
 */
:root {
    /* ── Brand accent (palette-sensitive) ── */
    --c-orange-rgb:          248, 137, 56;
    --c-orange:              #f88938;
    --c-orange-dark:         #e06820;
    --c-orange-light-rgb:    252, 142, 98;
    --c-orange-light:        #fc9162;    /* lighter accent — text highlights, hover states */
    --c-orange-muted:        #ac7950;    /* muted/inactive accent */
    --border-orange:         rgba(248,137,56,.3);

    /* ── Brand-tinted dark backgrounds (palette-sensitive) ── */
    --bg-brand-deep-rgb:     92, 39, 20;
    --bg-brand-deep:         #5c2714;    /* deepest colored bg (panels, cards) */
    --bg-brand-mid:          #1a1613;    /* mid-dark with subtle brand tint */
    --bg-brand-dark-alt:     #423427;    /* alternate dark brand panel */
    --bg-brand-overlay:      #2a0f0f;    /* popup/overlay gradient stop */
    --bg-darkest:            #080503;    /* near-black with trace of warmth */

    /* ── Neutral dark backgrounds ── */
    --bg-dark:               #0c0c0c;
    --bg-dark-2:             #111111;
    --bg-dark-3:             #1a1a1a;
    --bg-dark-4:             #1c0e0e;
    --bg-dark-5:             #180f0d;
    --bg-neutral-warm:       #3a3836;    /* neutral warm-gray (borders, separators) */

    /* ── Gold / Premium ── */
    --c-gold-rgb:            201, 162, 39;
    --c-gold:                #c9a227;
    --c-gold-dark:           #a07d18;
    --c-gold-bright-rgb:     255, 204, 0;
    --c-gold-bright:         #ffcc00;

    /* ── Status ── */
    --c-success-rgb:         63, 181, 115;
    --c-success:             #3fb573;
    --c-success-dark:        #2d8a51;
    --c-success-light:       #6fcc95;
    --c-error-rgb:           231, 76, 60;
    --c-error:               #e74c3c;
    --c-error-dark:          #c0392b;
    --c-error-light:         #e07070;
    --c-info:                #1fa3b7;
    --c-info-dark:           #1a6e7a;
    --c-info-light:          #89a7f9;    /* soft blue for class/UI highlights */
    --c-warn-rgb:            243, 156, 18;
    --c-warn:                #f39c12;

    /* ── Text ── */
    --text-primary:          #fcd4c0;    /* palette-sensitive primary text */
    --c-text-warm:           #ffdda9;    /* warm golden label text */
    --text-light:            #dddddd;
    --text-muted:            #aaaaaa;
    --text-dim:              #666666;
    --text-darker:           #444444;
    --text-placeholder:      #383838;
    --c-text-gray:           #696868;    /* neutral dark-gray text */
    --c-text-warm-gray:      #908585;    /* warm-gray secondary text */

    /* ── Borders / UI ── */
    --border-subtle:         rgba(255,255,255,.05);
    --border-medium:         rgba(255,255,255,.08);
    --border-dark:           #252525;
    --border-neutral:        #444444;

    /* ── Special / Game UI ── */
    --c-magic:               #a97fff;    /* magic / purple element color */

    /* ── Fonts ── */
    --font-title:            'Philosopher', sans-serif;
    --font-body:             'Open Sans', sans-serif;
    --font-mono:             monospace;

    /* ── Rank colors ── */
    --rank-gold:             #FFD700;
    --rank-silver:           #C0C0C0;
    --rank-bronze:           #CD7F32;
}
