/* ==========================================
   DESIGN SYSTEM — RPN Box Office
   Brand Colors: Red #E23340, Pink #FC9DA6, Dark Gray #383636
   ========================================== */

:root {
    /* ---- Brand Colors ---- */
    --brand-red: #E23340;
    --brand-red-light: rgba(226, 51, 64, 0.08);
    --brand-red-soft: rgba(226, 51, 64, 0.12);
    --brand-pink: #FC9DA6;
    --brand-pink-light: rgba(252, 157, 166, 0.15);
    --brand-dark: #383636;
    --brand-dark-light: rgba(56, 54, 54, 0.08);

    /* ---- Color Palette (Warm Rose) ---- */
    --bg-base: #ffffff;
    --bg-primary: #fef7f8;
    --bg-secondary: #fdf0f2;
    --bg-card: #ffffff;
    --bg-card-hover: #fef7f8;
    --bg-elevated: #fce8eb;
    --bg-input: #fef5f6;
    
    --border-subtle: rgba(56, 54, 54, 0.08);
    --border-default: rgba(56, 54, 54, 0.12);
    --border-strong: rgba(56, 54, 54, 0.2);
    
    /* Accent Colors */
    --accent-gold: #d4a017;
    --accent-gold-soft: rgba(212, 160, 23, 0.1);
    --accent-cyan: var(--brand-red);
    --accent-cyan-soft: var(--brand-red-light);
    --accent-emerald: #16a34a;
    --accent-emerald-soft: rgba(22, 163, 74, 0.08);
    --accent-rose: var(--brand-red);
    --accent-rose-soft: var(--brand-red-soft);
    --accent-purple: #7c3aed;
    --accent-purple-soft: rgba(124, 58, 237, 0.08);
    --accent-orange: #ea580c;
    --accent-orange-soft: rgba(234, 88, 12, 0.08);
    
    /* Functional */
    --color-success: #16a34a;
    --color-warning: #d97706;
    --color-danger: var(--brand-red);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-pink) 100%);
    --gradient-gold: linear-gradient(135deg, #d4a017 0%, #b8860b 100%);
    --gradient-cyan: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-pink) 100%);
    --gradient-emerald: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    --gradient-rose: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-pink) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(250,250,250,1) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(226, 51, 64, 0.04) 0%, rgba(252, 157, 166, 0.06) 100%);

    /* Text Colors */
    --text-primary: var(--brand-dark);
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --text-inverse: #ffffff;
    
    /* ---- Typography ---- */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    
    --text-xs: 0.6875rem;    /* 11px */
    --text-sm: 0.8125rem;    /* 13px */
    --text-base: 0.9375rem;  /* 15px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.375rem;     /* 22px */
    --text-2xl: 1.75rem;     /* 28px */
    --text-3xl: 2.25rem;     /* 36px */
    --text-4xl: 3rem;        /* 48px */
    
    /* ---- Spacing ---- */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* ---- Layout ---- */
    --sidebar-width: 260px;
    --sidebar-collapsed: 72px;
    --header-height: 60px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 999px;
    
    /* ---- Shadows (Light mode) ---- */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-glow-cyan: 0 0 20px rgba(226, 51, 64, 0.1);
    --shadow-glow-gold: 0 0 20px rgba(212, 160, 23, 0.1);
    --shadow-glow-purple: 0 0 20px rgba(124, 58, 237, 0.1);
    
    /* ---- Transitions ---- */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--text-primary);
    background-color: var(--bg-base);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

select {
    font-family: inherit;
    font-size: inherit;
}

/* ---- Scrollbar (Light) ---- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* ---- Typography Utilities ---- */
.heading-display {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    color: var(--accent-gold);
}

.text-cyan {
    color: var(--brand-red);
}

.text-emerald {
    color: var(--accent-emerald);
}

.text-rose {
    color: var(--brand-red);
}

.text-secondary {
    color: var(--text-secondary);
}
