/* FullMoon MMO - Default Theme Variables */

:root {
    /* =====================================================
       THEME COLORS (Gothic RPG)
       ===================================================== */
    /* Primary: Blood & Darkness */
    --theme-primary: #8a0303;    /* Deep Blood Red */
    --theme-primary-light: #b90505;
    --theme-secondary: #2c0b2e;  /* Dark Purple/Void */
    
    /* Accents: Gold & Metal */
    --theme-accent: #d4af37;     /* Metallic Gold */
    --theme-accent-glow: #f9d76e;
    
    /* Backgrounds */
    --theme-background: #050505; /* Pure Black/Void */
    --theme-surface: rgba(20, 20, 25, 0.95);
    --theme-surface-transparent: rgba(20, 20, 25, 0.7);
    --theme-gradient: radial-gradient(circle at center, #1a1a20 0%, #000000 100%);
    
    /* Borders */
    --theme-border: #333333;
    --theme-border-accent: #5c4d1f; /* Dark Gold */
    
    /* =====================================================
       STATIC COLORS
       ===================================================== */
    --color-text: #e0e0e0;
    --color-text-muted: #888888;
    --color-text-highlight: #ffffff;
    
    --color-white: #ffffff;
    --color-black: #000000;
    
    /* Status colors */
    --color-success: #388e3c;
    --color-warning: #f57f17;
    --color-error: #c62828;
    --color-info: #1976d2;
    
    /* Race colors (Muted/Gritty) */
    --color-werewolf: #8d6e63; /* Brown/Fur */
    --color-vampire: #b71c1c;  /* Red/Blood */
    --color-human: #78909c;    /* BlueGrey/Steel */
    --color-witch: #7e57c2;    /* Violet/Arcane */
    
    /* Rarity colors (RPG standard) */
    --color-common: #9e9e9e;
    --color-uncommon: #43a047;
    --color-rare: #1e88e5;
    --color-epic: #8e24aa;
    --color-legendary: #ff6f00;
    
    /* =====================================================
       TYPOGRAPHY
       ===================================================== */
    --font-family: 'Roboto', sans-serif;
    --font-family-display: 'Cinzel', serif;
    
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* =====================================================
       SPACING
       ===================================================== */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* =====================================================
       BORDERS & RADIUS
       ===================================================== */
    --border-width: 1px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px; /* Slightly more rounded for modern feel */
    --border-radius-xl: 24px;
    --border-radius-full: 9999px;
    
    /* =====================================================
       SHADOWS (Glows & Depth)
       ===================================================== */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 10px rgba(212, 175, 55, 0.3); /* Gold glow */
    
    /* =====================================================
       TRANSITIONS
       ===================================================== */
    --transition-fast: 150ms ease-out;
    --transition-normal: 300ms ease-out;
    --transition-slow: 500ms ease-out;
    --transition-bounce: 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* =====================================================
       LAYOUT
       ===================================================== */
    --header-height: 60px;
    --navbar-height: 70px;
    --max-width: 480px; /* Slightly wider for modern phones */
    --touch-target: 48px;
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
    
    /* =====================================================
       Z-INDEX
       ===================================================== */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-gothic-frame: 250;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-toast: 600;
    
    /* =====================================================
       GOTHIC FRAME COLORS
       ===================================================== */
    --gothic-border: #3d2f35;
    --gothic-surface: rgba(18,12,16,0.97);
    --gothic-surface-light: rgba(30,22,26,0.9);
    --gothic-text: rgba(200,180,160,0.85);
    --gothic-text-muted: rgba(200,180,160,0.5);
    --gothic-gold: #d4af37;
    --gothic-gold-dim: rgba(212,175,55,0.15);
}

/* Theme transition */
body.theme-transitioning * {
    transition: background-color var(--transition-normal),
                border-color var(--transition-normal),
                color var(--transition-normal) !important;
}

@media (max-width: 360px) {
    :root {
        --header-height: 56px;
        --navbar-height: 64px;
        --subnavbar-height: 50px;
        --touch-target: 44px;
    }
}
