/* ─── Design System: CSS Custom Properties ──────────────────────────────────── */

:root {
    /* Brand Colors (Modern Gold-Red Oriental) */
    --color-primary:        #b71c1c; /* Crimson Red */
    --color-primary-dark:   #800000; /* Dark Imperial Red */
    --color-primary-light:  #ffebee; /* Soft Pinkish Red */
    --color-primary-glow:   rgba(183, 28, 28, 0.15);

    --color-accent:         #ffb300; /* Gold */
    --color-accent-dark:    #ff8f00; /* Deep Gold */
    --color-accent-light:   #fff8e1; /* Warm Gold Glow */
    --color-accent-glow:    rgba(255, 179, 0, 0.25);

    --color-blue:           #1565c0;
    --color-blue-light:     #e3f2fd;

    --color-green:          #2e7d32; /* Emerald Green */
    --color-green-light:    #e8f5e9; /* Light Emerald */

    --color-orange:         #e65100;
    --color-orange-light:   #fff3e0;

    /* Neutral Palette */
    --color-bg:             #f8fafc; /* Elegant Soft Slate Gray */
    --color-surface:        #ffffff;
    --color-dark-surface:   #0f172a; /* Deep Slate Black for dark sections */
    --color-border:         #e2e8f0;
    --color-border-light:   #f1f5f9;

    --color-text:           #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted:     #94a3b8;

    /* Gradients */
    --gradient-primary:     linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-gold:        linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    --gradient-hero:        linear-gradient(135deg, #800000 0%, #b71c1c 50%, #ff8f00 100%);
    --gradient-glass:       linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);

    /* Spacing Scale */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  32px;
    --space-2xl: 48px;

    /* Border Radius */
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   18px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.05);
    --shadow-md:      0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --shadow-lg:      0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 15px 20px -10px rgba(15, 23, 42, 0.08);
    --shadow-primary: 0 10px 25px -5px rgba(183, 28, 28, 0.15);
    --shadow-gold:    0 0 15px rgba(255, 179, 0, 0.25);

    /* Typography */
    --font-family:          'Be Vietnam Pro', system-ui, -apple-system, sans-serif;

    --font-size-xs:   12px;
    --font-size-sm:   13px;
    --font-size-base: 14px;
    --font-size-md:   15px;
    --font-size-lg:   17px;
    --font-size-xl:   20px;
    --font-size-2xl:  24px;
    --font-size-3xl:  32px;

    --font-weight-normal:    400;
    --font-weight-medium:    500;
    --font-weight-semibold:  600;
    --font-weight-bold:      700;
    --font-weight-extrabold: 800;

    --line-height-tight: 1.3;
    --line-height-base:  1.6;
    --line-height-loose: 1.8;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────────── */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Lucide Icon Defaults ──────────────────────────────────────────────────── */

[data-lucide] {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.icon-xs  { width: 12px; height: 12px; }
.icon-sm  { width: 14px; height: 14px; }
.icon-md  { width: 18px; height: 18px; }
.icon-lg  { width: 22px; height: 22px; }
.icon-xl  { width: 28px; height: 28px; }
.icon-2xl { width: 40px; height: 40px; }

/* ─── Shared Keyframes & Utilities ──────────────────────────────────────────── */

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px var(--color-primary-glow);
    }
    50% {
        box-shadow: 0 0 15px rgba(183, 28, 28, 0.4);
    }
    100% {
        box-shadow: 0 0 5px var(--color-primary-glow);
    }
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 0 5px var(--color-accent-glow);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 179, 0, 0.5);
    }
    100% {
        box-shadow: 0 0 5px var(--color-accent-glow);
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.animate-pulse-red {
    animation: glowPulse 2s infinite ease-in-out;
}

.animate-pulse-gold {
    animation: goldPulse 2s infinite ease-in-out;
}

/* Base Badge styles */
.badge-gold {
    background: var(--gradient-gold);
    color: var(--color-dark-surface);
    font-weight: 700;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-red {
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

