/* assets/css/theme.css */

/*
 * [AI-SYSTEM-PROMPT: THE MASTER PALETTE]
 * MODULE: CSS Variable Controller & Import Registry
 * ARCHITECTURAL ROLE: Single Source of Truth for Styling
 * * DIRECTIVES FOR AI:
 * 1. THE VARIABLE MANDATE: DO NOT hardcode Hex/RGB colors in other files. ALWAYS use var(--c-name).
 * 2. NO DIRECT STYLING: This file is strictly for @imports and :root variables. Do not write standard CSS rules here.
 * 3. HIERARCHY: Maintain the import order. Base.css must load first.
 */

/* 1. LOAD MODULES (MUST BE FIRST) */
@import url('base.css');    /* Resets, Nav, Buttons, Inputs */
@import url('ladder.css');  /* Ladder Tables & Filters */
@import url('news.css');    /* Newsroom, Hero Cards */
@import url('prize.css');   /* Prize Pool Widget */
@import url('council.css'); /* Gurte's Council & Modals */

/* 2. GLOBAL VARIABLES & PALETTE */
:root {
    /* --- CORE PALETTE --- */
    --c-wood-dark:    #1e1611;  /* Deep Chocolate (Background) */
    --c-wood-light:   #3e2b20;  /* Lighter Wood (Nav/Borders) */
    --c-wood-border:  #2a1d15;  /* Dark border for wood elements */
    
    --c-parchment:    #e8dec0;  /* 📜 Main Card Background (Cream) */
    --c-parchment-dim:#dcd0b0;  /* Slightly darker inputs/headers */
    --c-paper-bright: #fffef8;  /* Very bright paper (for white inputs/cards) */
    
    --c-ink:          #2b1d12;  /* Dark Brown Text (Primary) */
    --c-ink-faded:    #5c4d3c;  /* Meta Data */
    --c-text-cream:   #f7f2e4;  /* Light text for dark buttons */
    
    --c-teal:         #115e59;  /* Headers / Links (Deep Green-Teal) */
    --c-teal-bright:  #0d9488;  /* Hover States */
    --c-teal-dark:    #0f3d3a;  /* Borders for teal buttons */
    
    --c-gold:         #b49446;  /* Borders / Accents */
    --c-gold-bright:  #d4af37;  /* Highlighting */
    --c-gold-dim:     #8c7335;  /* Shadows */
    --c-gold-hover:   rgba(180, 148, 70, 0.15);
    
    /* --- BORDERS --- */
    --c-border-gold-muted:  #a89f81;
    --c-border-gold-shadow: #8c8263;
    --c-border-gray:        #cccccc;

    /* --- STATUS COLORS --- */
    --c-win:          #15803d;  /* Green text for wins */
    --c-loss:         #b91c1c;  /* Red text for losses */
    --c-neutral:      #854d0e; 

    /* --- SPECIALTY PALETTES --- */
    /* Success / Promo */
    --c-success-text:       #065f46;
    --c-success-light:      #22c55e;
    --c-success-bg:         #ecfdf5;
    --c-success-bg-hover:   #dcfce7;
    --c-success-border:     #10b981;

    /* Captains (Royal Gold) */
    --c-captain-bg-1:       #fffbe6;
    --c-captain-bg-2:       #fff9c4;
    --c-captain-text:       #78350f;

    /* System Alert Colors */
    --c-error-bg:           #fef2f2;
    --c-error-border:       #fca5a5;
    --c-error-text:         #991b1b;

    --c-warning-bg:         #fffbeb;
    --c-warning-border:     #fcd34d;
    --c-warning-text:       #92400e;
}