/* ==========================================================================
   Design System Variables & Color Tokens - Xinh Social App
   ========================================================================== */

/* ==========================================================================
   1. PRIMITIVE PALETTE (raw color/brand values — single source of truth)
   ========================================================================== */

:root {
    /* Brand Colors & Gradients */
    --xinh-pink: #FF2D55;
    --xinh-pink-hover: #E02449;
    --xinh-pink-soft: rgba(255, 45, 85, 0.12);
    --xinh-pink-glow: rgba(255, 45, 85, 0.35);

    --xinh-indigo: #6366F1;
    --xinh-indigo-hover: #4F46E5;
    --xinh-indigo-soft: rgba(99, 102, 241, 0.12);

    --xinh-accent: #FF375F;
    --xinh-green: #10B981;
    --xinh-amber: #F59E0B;
    --xinh-cyan: #06B6D4;
    --profile-accent-rgb: 255, 45, 85;
    --poster-url: none;

    /* Brand Gradients */
    --xinh-grad-pink: linear-gradient(135deg, #FF2D55 0%, #FF5177 45%, #FF7A00 100%);
    --xinh-grad-pink-hover: linear-gradient(135deg, #E02449 0%, #E64268 45%, #E66C00 100%);
    --xinh-grad-indigo: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    --xinh-grad-story: conic-gradient(from 0deg, #F58529, #DD2A7B, #8134AF, #515BD4, #F58529);
    --xinh-grad-glow: linear-gradient(135deg, rgba(255, 45, 85, 0.4), rgba(99, 102, 241, 0.4));
    --xinh-grad-card-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);

    /* Light Surfaces (default) */
    --xinh-surface-0: #F4F6FB;           /* app background   */
    --xinh-surface-1: #FFFFFF;           /* card / surface   */
    --xinh-surface-1-hover: #F0F3F8;
    --xinh-surface-1-active: #E8EDF5;
    --xinh-surface-2: #EDF1F7;           /* inputs / wells   */
    --xinh-surface-2-focus: #FFFFFF;
    --xinh-glass-1: rgba(255, 255, 255, 0.88);
    --xinh-glass-2: rgba(255, 255, 255, 0.95);

    /* Light Text */
    --xinh-ink: #0F172A;
    --xinh-ink-2: #64748B;
    --xinh-ink-3: #94A3B8;

    /* Light Lines */
    --xinh-line: rgba(0, 0, 0, 0.08);
    --xinh-line-subtle: rgba(0, 0, 0, 0.04);

    /* Elevation Shadows */
    --xinh-shadow-s: 0 1px 2px rgba(0, 0, 0, 0.03);
    --xinh-shadow-1: 0 2px 8px rgba(15, 23, 42, 0.05);
    --xinh-shadow-2: 0 8px 24px rgba(15, 23, 42, 0.08);
    --xinh-shadow-3: 0 16px 40px rgba(15, 23, 42, 0.12);
    --xinh-shadow-glow-pink: 0 0 24px rgba(255, 45, 85, 0.28);
    --xinh-shadow-glow-indigo: 0 0 24px rgba(99, 102, 241, 0.28);

    /* Motion timing */
    --xinh-motion-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --xinh-motion-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --xinh-motion-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --xinh-motion-emphasized: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme — primitives (High Performance OLED Aesthetic) */
[data-theme="dark"] {
    --xinh-surface-0: #0B0E14;
    --xinh-surface-1: #141821;
    --xinh-surface-1-hover: #1D2330;
    --xinh-surface-1-active: #252D3D;
    --xinh-surface-2: #1B212D;
    --xinh-surface-2-focus: #141821;
    --xinh-glass-1: rgba(20, 24, 33, 0.88);
    --xinh-glass-2: rgba(20, 24, 33, 0.95);

    --xinh-ink: #F8FAFC;
    --xinh-ink-2: #94A3B8;
    --xinh-ink-3: #64748B;

    --xinh-line: rgba(255, 255, 255, 0.08);
    --xinh-line-subtle: rgba(255, 255, 255, 0.04);

    --xinh-shadow-s: 0 1px 2px rgba(0, 0, 0, 0.3);
    --xinh-shadow-1: 0 2px 8px rgba(0, 0, 0, 0.4);
    --xinh-shadow-2: 0 8px 24px rgba(0, 0, 0, 0.55);
    --xinh-shadow-3: 0 16px 40px rgba(0, 0, 0, 0.75);
    --xinh-shadow-glow-pink: 0 0 28px rgba(255, 45, 85, 0.35);
    --xinh-shadow-glow-indigo: 0 0 28px rgba(99, 102, 241, 0.35);
}

/* ==========================================================================
   2. LEGACY ALIAS LAYER (existing consumption surface — values unchanged)
   Order matters: the light block comes FIRST, then the dark overrides block,
   so dark values win in dark theme via source order (equal specificity).
   ========================================================================== */

:root {
    /* Brand Colors & Gradients */
    --primary: #FF2D55;
    --primary-hover: #E02449;
    --primary-light: rgba(255, 45, 85, 0.12);
    --primary-glow: rgba(255, 45, 85, 0.35);

    --secondary: #6366F1;
    --secondary-hover: #4F46E5;
    --secondary-light: rgba(99, 102, 241, 0.12);

    --accent: #FF375F;
    --like: #FF2D55;
    --success: #10B981;
    --warning: #F59E0B;
    --info: #06B6D4;

    /* Vibrant Gradients */
    --gradient-primary: linear-gradient(135deg, #FF2D55 0%, #FF5177 45%, #FF7A00 100%);
    --gradient-primary-hover: linear-gradient(135deg, #E02449 0%, #E64268 45%, #E66C00 100%);
    --gradient-accent: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    --gradient-story: conic-gradient(from 0deg, #F58529, #DD2A7B, #8134AF, #515BD4, #F58529);
    --gradient-glow: linear-gradient(135deg, rgba(255, 45, 85, 0.4), rgba(99, 102, 241, 0.4));
    --gradient-card-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);

    /* NEW (PART 1): gradient alias used as profile-cover fallback (was undefined) */
    --primary-gradient: var(--gradient-primary);

    /* Light Theme (Default) */
    --bg-main: #F4F6FB;
    --bg-surface: #FFFFFF;
    --bg-surface-hover: #F0F3F8;
    --bg-surface-active: #E8EDF5;
    --bg-input: #EDF1F7;
    --bg-input-focus: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.88);
    --bg-glass-card: rgba(255, 255, 255, 0.95);
    --bg-surface-glass: #FFFFFF;

    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-subtle: #94A3B8;

    --border-color: rgba(0, 0, 0, 0.08);
    --border-subtle: rgba(0, 0, 0, 0.04);
    --border-focus: #FF2D55;

    /* Shadows with Natural Ambient Depth */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 24px rgba(255, 45, 85, 0.28);
    --shadow-glow-accent: 0 0 24px rgba(99, 102, 241, 0.28);

    /* Dimensions & Spacing */
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 76px;
    --right-panel-width: 330px;
    --header-height: 56px;
    --bottom-nav-height: 60px;

    /* Safe Area Insets for iOS & Android Edge-to-Edge */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);

    --mobile-header-height: calc(56px + var(--safe-top));
    --mobile-bottom-nav-height: calc(60px + var(--safe-bottom));

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 40px;
    --radius-full: 9999px;

    /* Typography & Transitions */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;

    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Dark Theme — legacy alias overrides (values unchanged from original) */
[data-theme="dark"] {
    --bg-main: #0B0E14;
    --bg-surface: #141821;
    --bg-surface-hover: #1D2330;
    --bg-surface-active: #252D3D;
    --bg-input: #1B212D;
    --bg-input-focus: #141821;
    --bg-glass: rgba(20, 24, 33, 0.88);
    --bg-glass-card: rgba(20, 24, 33, 0.95);
    --bg-surface-glass: #141821;

    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-subtle: #64748B;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-focus: #FF5177;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.75);
    --shadow-glow: 0 0 28px rgba(255, 45, 85, 0.35);
    --shadow-glow-accent: 0 0 28px rgba(99, 102, 241, 0.35);
}

/* ==========================================================================
   3. PART 1 — SEMANTIC TOKEN SYSTEM
   Consumption surface for components. Semantic tokens reference legacy tokens
   via var(), so they auto-adapt per theme (custom properties resolve lazily).
   Additive only — no legacy token is removed or changed.
   ========================================================================== */

:root {
    /* Color */
    --color-primary: var(--primary);
    --color-primary-light: var(--primary-light);
    --color-secondary: var(--secondary);
    --color-accent: var(--accent);
    --color-like: var(--like);
    --color-success: var(--success);
    --color-warning: var(--warning);
    --color-info: var(--info);
    --color-error: #EF4444;
    --color-danger: #EF4444;
    --color-primary-glow: var(--primary-glow, rgba(255, 45, 85, 0.35));

    /* Surface scale (semantic) */
    --surface-1: var(--bg-surface);
    --surface-2: var(--bg-main);
    --surface-3: var(--bg-input);
    --surface-hover: var(--bg-surface-hover);
    --surface-active: var(--bg-surface-active);
    --surface-glass: var(--bg-glass);
    --surface-glass-card: var(--bg-glass-card);
    --glass-bg: var(--surface-glass);
    --glass-border: var(--border-color);

    /* Text scale (semantic) */
    --text-primary: var(--text-main);
    --text-secondary: var(--text-muted);
    --text-tertiary: var(--text-subtle);
    --text-on-color: #FFFFFF;
    --text-on-gradient: #FFFFFF;

    /* Border scale (semantic) */
    --border-default: var(--border-color);
    --border-subtle-2: var(--border-subtle);
    --border-strong: var(--text-muted);
    --border-focus-ring: var(--primary);

    /* Gradients (semantic) */
    --gradient-secondary: var(--xinh-grad-indigo);

    /* Elevation scale (semantic) */
    --elevation-0: var(--shadow-xs);
    --elevation-1: var(--shadow-sm);
    --elevation-2: var(--shadow-md);
    --elevation-3: var(--shadow-lg);
    --elevation-4: 0 24px 48px rgba(0, 0, 0, 0.2);
    --elevation-5: 0 32px 64px rgba(0, 0, 0, 0.28);

    /* Radius scale (semantic) */
    --radius-xs-2: var(--radius-xs);
    --radius-sm-2: var(--radius-sm);
    --radius-md-2: var(--radius-md);
    --radius-lg-2: var(--radius-lg);
    --radius-xl-2: var(--radius-xl);
    --radius-2xl-2: var(--radius-2xl);
    --radius-pill: var(--radius-full);

    /* Shadow glow scale (semantic) */
    --shadow-glow-primary: var(--shadow-glow);
    --shadow-glow-accent-2: var(--shadow-glow-accent);

    /* Motion tokens (semantic) */
    --motion-fast: var(--transition-fast);
    --motion-normal: var(--transition-normal);
    --motion-slow: var(--transition-spring);
    --motion-emphasized: var(--xinh-motion-emphasized);
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-emphasized: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Duration scale */
    --duration-instant: 100ms;
    --duration-fast: 180ms;
    --duration-normal: 280ms;
    --duration-slow: 400ms;
    --duration-emphasized: 500ms;

    /* Z-index scale (semantic) */
    --z-base: 0;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-toast: 1060;
    --z-tooltip: 1070;
    --z-shorts-fullscreen: 200;
    --z-header: 150;

    /* Focus ring */
    --focus-ring-color: rgba(255, 45, 85, 0.45);
    --focus-ring-offset: 2px;
    --focus-ring-width: 2px;
    --focus-ring: 0 0 0 var(--focus-ring-width) var(--focus-ring-color);
}

/* Dark Theme — semantic overrides (only tokens whose value differs per theme) */
[data-theme="dark"] {
    --focus-ring-color: rgba(255, 81, 119, 0.45);
}

/* ==========================================================================
   4. PART 13 — Additional Themes & Accent Presets
   ========================================================================== */

/* ── AMOLED Theme (Pure black for OLED displays) ── */
[data-theme="amoled"] {
    /* Surfaces — pure black */
    --bg-main: #000000;
    --bg-surface: #0A0A0A;
    --bg-surface-hover: #111111;
    --bg-surface-active: #1A1A1A;
    --bg-input: #0F0F0F;
    --bg-input-focus: #0A0A0A;
    --bg-glass: rgba(10, 10, 10, 0.92);
    --bg-glass-card: rgba(10, 10, 10, 0.97);
    --bg-surface-glass: #0A0A0A;

    /* Text */
    --text-main: #FFFFFF;
    --text-muted: #8A8A8A;
    --text-subtle: #555555;

    /* Borders — very subtle on pure black */
    --border-color: rgba(255, 255, 255, 0.07);
    --border-subtle: rgba(255, 255, 255, 0.03);
    --border-focus: #FF2D55;

    /* Deeper shadows on black */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.8);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.8);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.9);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.95);
    --shadow-glow: 0 0 28px rgba(255, 45, 85, 0.4);
    --shadow-glow-accent: 0 0 28px rgba(99, 102, 241, 0.4);

    /* Semantic */
    --surface-1: var(--bg-surface);
    --surface-2: var(--bg-main);
    --surface-3: var(--bg-input);
    --surface-hover: var(--bg-surface-hover);
    --surface-active: var(--bg-surface-active);
    --surface-glass: var(--bg-glass);
    --surface-glass-card: var(--bg-glass-card);
    --text-primary: var(--text-main);
    --text-secondary: var(--text-muted);
    --text-tertiary: var(--text-subtle);
    --border-default: var(--border-color);
    --border-subtle-2: var(--border-subtle);
    --focus-ring-color: rgba(255, 81, 119, 0.45);

    /* Primitive sync */
    --xinh-surface-0: #000000;
    --xinh-surface-1: #0A0A0A;
    --xinh-surface-1-hover: #111111;
    --xinh-surface-1-active: #1A1A1A;
    --xinh-surface-2: #0F0F0F;
    --xinh-glass-1: rgba(10, 10, 10, 0.92);
    --xinh-glass-2: rgba(10, 10, 10, 0.97);
    --xinh-ink: #FFFFFF;
    --xinh-ink-2: #8A8A8A;
    --xinh-ink-3: #555555;
    --xinh-line: rgba(255, 255, 255, 0.07);
    --xinh-line-subtle: rgba(255, 255, 255, 0.03);
}

/* ── Midnight Theme (Deep navy dark, easier on eyes than AMOLED) ── */
[data-theme="midnight"] {
    /* Deep navy surfaces */
    --bg-main: #080D1A;
    --bg-surface: #0F1729;
    --bg-surface-hover: #162036;
    --bg-surface-active: #1E2B47;
    --bg-input: #141E35;
    --bg-input-focus: #0F1729;
    --bg-glass: rgba(15, 23, 41, 0.90);
    --bg-glass-card: rgba(15, 23, 41, 0.97);
    --bg-surface-glass: #0F1729;

    /* Text */
    --text-main: #E8F0FE;
    --text-muted: #8FA3C8;
    --text-subtle: #5A7099;

    /* Borders — navy tinted */
    --border-color: rgba(100, 140, 220, 0.12);
    --border-subtle: rgba(100, 140, 220, 0.06);
    --border-focus: #6B8EFF;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.85);
    --shadow-glow: 0 0 28px rgba(255, 45, 85, 0.35);
    --shadow-glow-accent: 0 0 28px rgba(107, 142, 255, 0.35);

    /* Semantic */
    --surface-1: var(--bg-surface);
    --surface-2: var(--bg-main);
    --surface-3: var(--bg-input);
    --surface-hover: var(--bg-surface-hover);
    --surface-active: var(--bg-surface-active);
    --surface-glass: var(--bg-glass);
    --surface-glass-card: var(--bg-glass-card);
    --text-primary: var(--text-main);
    --text-secondary: var(--text-muted);
    --text-tertiary: var(--text-subtle);
    --border-default: var(--border-color);
    --border-subtle-2: var(--border-subtle);
    --focus-ring-color: rgba(107, 142, 255, 0.45);

    /* Primitive sync */
    --xinh-surface-0: #080D1A;
    --xinh-surface-1: #0F1729;
    --xinh-surface-1-hover: #162036;
    --xinh-surface-1-active: #1E2B47;
    --xinh-surface-2: #141E35;
    --xinh-glass-1: rgba(15, 23, 41, 0.90);
    --xinh-glass-2: rgba(15, 23, 41, 0.97);
    --xinh-ink: #E8F0FE;
    --xinh-ink-2: #8FA3C8;
    --xinh-ink-3: #5A7099;
    --xinh-line: rgba(100, 140, 220, 0.12);
    --xinh-line-subtle: rgba(100, 140, 220, 0.06);
}

/* ==========================================================================
   5. PART 13 — Accent Color Presets (data-accent attribute)
   Overlays brand color tokens only. Works across all 4 themes.
   ========================================================================== */

/* Rose (default brand — no override needed, shown for completeness) */
[data-accent="rose"] {
    --primary: #FF2D55;
    --primary-hover: #E02449;
    --primary-light: rgba(255, 45, 85, 0.12);
    --primary-glow: rgba(255, 45, 85, 0.35);
    --gradient-primary: linear-gradient(135deg, #FF2D55 0%, #FF5177 45%, #FF7A00 100%);
    --gradient-primary-hover: linear-gradient(135deg, #E02449 0%, #E64268 45%, #E66C00 100%);
    --border-focus: #FF2D55;
    --color-primary: #FF2D55;
    --color-primary-glow: rgba(255, 45, 85, 0.35);
    --focus-ring-color: rgba(255, 45, 85, 0.45);
    --shadow-glow: 0 0 24px rgba(255, 45, 85, 0.28);
    --xinh-pink: #FF2D55;
    --xinh-pink-hover: #E02449;
    --xinh-pink-soft: rgba(255, 45, 85, 0.12);
    --xinh-pink-glow: rgba(255, 45, 85, 0.35);
    --xinh-grad-pink: linear-gradient(135deg, #FF2D55 0%, #FF5177 45%, #FF7A00 100%);
}

/* Ocean (blue-teal) */
[data-accent="ocean"] {
    --primary: #0EA5E9;
    --primary-hover: #0284C7;
    --primary-light: rgba(14, 165, 233, 0.12);
    --primary-glow: rgba(14, 165, 233, 0.35);
    --gradient-primary: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 50%, #06B6D4 100%);
    --gradient-primary-hover: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%);
    --border-focus: #0EA5E9;
    --color-primary: #0EA5E9;
    --color-primary-glow: rgba(14, 165, 233, 0.35);
    --focus-ring-color: rgba(14, 165, 233, 0.45);
    --shadow-glow: 0 0 24px rgba(14, 165, 233, 0.28);
    --primary-gradient: var(--gradient-primary);
    --xinh-pink: #0EA5E9;
    --xinh-pink-hover: #0284C7;
    --xinh-pink-soft: rgba(14, 165, 233, 0.12);
    --xinh-pink-glow: rgba(14, 165, 233, 0.35);
    --xinh-grad-pink: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 50%, #06B6D4 100%);
}

/* Forest (emerald green) */
[data-accent="forest"] {
    --primary: #10B981;
    --primary-hover: #059669;
    --primary-light: rgba(16, 185, 129, 0.12);
    --primary-glow: rgba(16, 185, 129, 0.35);
    --gradient-primary: linear-gradient(135deg, #10B981 0%, #34D399 50%, #6EE7B7 100%);
    --gradient-primary-hover: linear-gradient(135deg, #059669 0%, #10B981 100%);
    --border-focus: #10B981;
    --color-primary: #10B981;
    --color-primary-glow: rgba(16, 185, 129, 0.35);
    --focus-ring-color: rgba(16, 185, 129, 0.45);
    --shadow-glow: 0 0 24px rgba(16, 185, 129, 0.28);
    --primary-gradient: var(--gradient-primary);
    --xinh-pink: #10B981;
    --xinh-pink-hover: #059669;
    --xinh-pink-soft: rgba(16, 185, 129, 0.12);
    --xinh-pink-glow: rgba(16, 185, 129, 0.35);
    --xinh-grad-pink: linear-gradient(135deg, #10B981 0%, #34D399 50%, #6EE7B7 100%);
}

/* Sunset (amber-orange) */
[data-accent="sunset"] {
    --primary: #F59E0B;
    --primary-hover: #D97706;
    --primary-light: rgba(245, 158, 11, 0.12);
    --primary-glow: rgba(245, 158, 11, 0.35);
    --gradient-primary: linear-gradient(135deg, #F59E0B 0%, #FB923C 50%, #EF4444 100%);
    --gradient-primary-hover: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    --border-focus: #F59E0B;
    --color-primary: #F59E0B;
    --color-primary-glow: rgba(245, 158, 11, 0.35);
    --focus-ring-color: rgba(245, 158, 11, 0.45);
    --shadow-glow: 0 0 24px rgba(245, 158, 11, 0.28);
    --primary-gradient: var(--gradient-primary);
    --xinh-pink: #F59E0B;
    --xinh-pink-hover: #D97706;
    --xinh-pink-soft: rgba(245, 158, 11, 0.12);
    --xinh-pink-glow: rgba(245, 158, 11, 0.35);
    --xinh-grad-pink: linear-gradient(135deg, #F59E0B 0%, #FB923C 50%, #EF4444 100%);
}

/* Violet */
[data-accent="violet"] {
    --primary: #8B5CF6;
    --primary-hover: #7C3AED;
    --primary-light: rgba(139, 92, 246, 0.12);
    --primary-glow: rgba(139, 92, 246, 0.35);
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 50%, #EC4899 100%);
    --gradient-primary-hover: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
    --border-focus: #8B5CF6;
    --color-primary: #8B5CF6;
    --color-primary-glow: rgba(139, 92, 246, 0.35);
    --focus-ring-color: rgba(139, 92, 246, 0.45);
    --shadow-glow: 0 0 24px rgba(139, 92, 246, 0.28);
    --primary-gradient: var(--gradient-primary);
    --xinh-pink: #8B5CF6;
    --xinh-pink-hover: #7C3AED;
    --xinh-pink-soft: rgba(139, 92, 246, 0.12);
    --xinh-pink-glow: rgba(139, 92, 246, 0.35);
    --xinh-grad-pink: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 50%, #EC4899 100%);
}

/* Coral */
[data-accent="coral"] {
    --primary: #FF6B6B;
    --primary-hover: #EE5A5A;
    --primary-light: rgba(255, 107, 107, 0.12);
    --primary-glow: rgba(255, 107, 107, 0.35);
    --gradient-primary: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 50%, #FFA07A 100%);
    --gradient-primary-hover: linear-gradient(135deg, #EE5A5A 0%, #FF6B6B 100%);
    --border-focus: #FF6B6B;
    --color-primary: #FF6B6B;
    --color-primary-glow: rgba(255, 107, 107, 0.35);
    --focus-ring-color: rgba(255, 107, 107, 0.45);
    --shadow-glow: 0 0 24px rgba(255, 107, 107, 0.28);
    --primary-gradient: var(--gradient-primary);
    --xinh-pink: #FF6B6B;
    --xinh-pink-hover: #EE5A5A;
    --xinh-pink-soft: rgba(255, 107, 107, 0.12);
    --xinh-pink-glow: rgba(255, 107, 107, 0.35);
    --xinh-grad-pink: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 50%, #FFA07A 100%);
}
