/* ==========================================
   CSS CUSTOM PROPERTIES FOR THEMES
   ========================================== */

:root {
    /* Default theme colors (Purple/Pink) */
    --primary-color: #ec4899;
    --primary-light: #f472b6;
    --primary-dark: #db2777;
    --secondary-color: #a855f7;
    --secondary-light: #c084fc;
    --secondary-dark: #9333ea;
    --accent-color: #8b5cf6;
    --accent-light: #a78bfa;

    /* Background gradients */
    --bg-gradient-start: #0f172a;
    --bg-gradient-mid1: #1e1b4b;
    --bg-gradient-mid2: #312e81;
    --bg-gradient-end: #4c1d95;

    /* Radial gradient colors */
    --radial-top-1: rgba(139, 92, 246, 0.25);
    --radial-top-2: rgba(167, 139, 250, 0.15);
    --radial-bottom-1: rgba(236, 72, 153, 0.2);
    --radial-bottom-2: rgba(139, 92, 246, 0.1);

    /* Grid and overlay colors */
    --grid-color: rgba(139, 92, 246, 0.03);
    --overlay-gradient-1: rgba(139, 92, 246, 0.2);
    --overlay-gradient-2: rgba(167, 139, 250, 0.15);
    --overlay-gradient-3: rgba(236, 72, 153, 0.1);
    --overlay-gradient-4: rgba(167, 139, 250, 0.05);

    /* Particle animation properties (set dynamically via JavaScript) */
    --tx: 0;
    --ty: 0;

    /* Achievement rarity color (set dynamically via JavaScript) */
    --rarity-color: #8b5cf6;
}

/* Ocean Blue Theme */
:root[data-theme="ocean"] {
    --primary-color: #0ea5e9;
    --primary-light: #38bdf8;
    --primary-dark: #0284c7;
    --secondary-color: #06b6d4;
    --secondary-light: #22d3ee;
    --secondary-dark: #0891b2;
    --accent-color: #3b82f6;
    --accent-light: #60a5fa;

    --bg-gradient-start: #0c1f2e;
    --bg-gradient-mid1: #0f2b3d;
    --bg-gradient-mid2: #164e63;
    --bg-gradient-end: #155e75;

    --radial-top-1: rgba(14, 165, 233, 0.25);
    --radial-top-2: rgba(6, 182, 212, 0.15);
    --radial-bottom-1: rgba(59, 130, 246, 0.2);
    --radial-bottom-2: rgba(14, 165, 233, 0.1);

    --grid-color: rgba(6, 182, 212, 0.03);
    --overlay-gradient-1: rgba(14, 165, 233, 0.2);
    --overlay-gradient-2: rgba(6, 182, 212, 0.15);
    --overlay-gradient-3: rgba(59, 130, 246, 0.1);
    --overlay-gradient-4: rgba(6, 182, 212, 0.05);
}

/* Sunset Orange Theme */
:root[data-theme="sunset"] {
    --primary-color: #f97316;
    --primary-light: #fb923c;
    --primary-dark: #ea580c;
    --secondary-color: #ef4444;
    --secondary-light: #f87171;
    --secondary-dark: #dc2626;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;

    --bg-gradient-start: #1c0f0a;
    --bg-gradient-mid1: #2d1810;
    --bg-gradient-mid2: #422006;
    --bg-gradient-end: #57200a;

    --radial-top-1: rgba(249, 115, 22, 0.25);
    --radial-top-2: rgba(245, 158, 11, 0.15);
    --radial-bottom-1: rgba(239, 68, 68, 0.2);
    --radial-bottom-2: rgba(249, 115, 22, 0.1);

    --grid-color: rgba(245, 158, 11, 0.03);
    --overlay-gradient-1: rgba(249, 115, 22, 0.2);
    --overlay-gradient-2: rgba(245, 158, 11, 0.15);
    --overlay-gradient-3: rgba(239, 68, 68, 0.1);
    --overlay-gradient-4: rgba(245, 158, 11, 0.05);
}

/* Emerald Green Theme */
:root[data-theme="emerald"] {
    --primary-color: #10b981;
    --primary-light: #34d399;
    --primary-dark: #059669;
    --secondary-color: #14b8a6;
    --secondary-light: #2dd4bf;
    --secondary-dark: #0d9488;
    --accent-color: #22c55e;
    --accent-light: #4ade80;

    --bg-gradient-start: #0a1f1a;
    --bg-gradient-mid1: #0f2e27;
    --bg-gradient-mid2: #134e3a;
    --bg-gradient-end: #14532d;

    --radial-top-1: rgba(16, 185, 129, 0.25);
    --radial-top-2: rgba(20, 184, 166, 0.15);
    --radial-bottom-1: rgba(34, 197, 94, 0.2);
    --radial-bottom-2: rgba(16, 185, 129, 0.1);

    --grid-color: rgba(20, 184, 166, 0.03);
    --overlay-gradient-1: rgba(16, 185, 129, 0.2);
    --overlay-gradient-2: rgba(20, 184, 166, 0.15);
    --overlay-gradient-3: rgba(34, 197, 94, 0.1);
    --overlay-gradient-4: rgba(20, 184, 166, 0.05);
}

/* Royal Purple Theme */
:root[data-theme="royal"] {
    --primary-color: #7c3aed;
    --primary-light: #a78bfa;
    --primary-dark: #6d28d9;
    --secondary-color: #8b5cf6;
    --secondary-light: #a78bfa;
    --secondary-dark: #7c3aed;
    --accent-color: #6366f1;
    --accent-light: #818cf8;

    --bg-gradient-start: #1a0f2e;
    --bg-gradient-mid1: #2e1065;
    --bg-gradient-mid2: #4c1d95;
    --bg-gradient-end: #5b21b6;

    --radial-top-1: rgba(124, 58, 237, 0.25);
    --radial-top-2: rgba(139, 92, 246, 0.15);
    --radial-bottom-1: rgba(99, 102, 241, 0.2);
    --radial-bottom-2: rgba(124, 58, 237, 0.1);

    --grid-color: rgba(139, 92, 246, 0.03);
    --overlay-gradient-1: rgba(124, 58, 237, 0.2);
    --overlay-gradient-2: rgba(139, 92, 246, 0.15);
    --overlay-gradient-3: rgba(99, 102, 241, 0.1);
    --overlay-gradient-4: rgba(139, 92, 246, 0.05);
}

/* Rose Pink Theme */
:root[data-theme="rose"] {
    --primary-color: #f43f5e;
    --primary-light: #fb7185;
    --primary-dark: #e11d48;
    --secondary-color: #ec4899;
    --secondary-light: #f472b6;
    --secondary-dark: #db2777;
    --accent-color: #a855f7;
    --accent-light: #c084fc;

    --bg-gradient-start: #1f0a13;
    --bg-gradient-mid1: #3b0b1f;
    --bg-gradient-mid2: #500724;
    --bg-gradient-end: #5b1132;

    --radial-top-1: rgba(244, 63, 94, 0.25);
    --radial-top-2: rgba(236, 72, 153, 0.15);
    --radial-bottom-1: rgba(168, 85, 247, 0.2);
    --radial-bottom-2: rgba(244, 63, 94, 0.1);

    --grid-color: rgba(236, 72, 153, 0.03);
    --overlay-gradient-1: rgba(244, 63, 94, 0.2);
    --overlay-gradient-2: rgba(236, 72, 153, 0.15);
    --overlay-gradient-3: rgba(168, 85, 247, 0.1);
    --overlay-gradient-4: rgba(236, 72, 153, 0.05);
}

/* Cyberpunk Neon Theme */
:root[data-theme="cyberpunk"] {
    --primary-color: #00ffff;
    --primary-light: #22d3ee;
    --primary-dark: #06b6d4;
    --secondary-color: #ff00ff;
    --secondary-light: #e879f9;
    --secondary-dark: #d946ef;
    --accent-color: #ffff00;
    --accent-light: #fde047;

    --bg-gradient-start: #0a0a14;
    --bg-gradient-mid1: #0f0f1e;
    --bg-gradient-mid2: #1a0f2e;
    --bg-gradient-end: #14141f;

    --radial-top-1: rgba(0, 255, 255, 0.25);
    --radial-top-2: rgba(34, 211, 238, 0.15);
    --radial-bottom-1: rgba(255, 0, 255, 0.2);
    --radial-bottom-2: rgba(0, 255, 255, 0.1);

    --grid-color: rgba(0, 255, 255, 0.05);
    --overlay-gradient-1: rgba(0, 255, 255, 0.2);
    --overlay-gradient-2: rgba(255, 0, 255, 0.15);
    --overlay-gradient-3: rgba(255, 255, 0, 0.1);
    --overlay-gradient-4: rgba(0, 255, 255, 0.05);
}

/* Lavender Dream Theme */
:root[data-theme="lavender"] {
    --primary-color: #c084fc;
    --primary-light: #d8b4fe;
    --primary-dark: #a855f7;
    --secondary-color: #e879f9;
    --secondary-light: #f0abfc;
    --secondary-dark: #d946ef;
    --accent-color: #818cf8;
    --accent-light: #a5b4fc;

    --bg-gradient-start: #1e1528;
    --bg-gradient-mid1: #2d1b3d;
    --bg-gradient-mid2: #3b2654;
    --bg-gradient-end: #432d5c;

    --radial-top-1: rgba(192, 132, 252, 0.25);
    --radial-top-2: rgba(232, 121, 249, 0.15);
    --radial-bottom-1: rgba(129, 140, 248, 0.2);
    --radial-bottom-2: rgba(192, 132, 252, 0.1);

    --grid-color: rgba(192, 132, 252, 0.03);
    --overlay-gradient-1: rgba(192, 132, 252, 0.2);
    --overlay-gradient-2: rgba(232, 121, 249, 0.15);
    --overlay-gradient-3: rgba(129, 140, 248, 0.1);
    --overlay-gradient-4: rgba(192, 132, 252, 0.05);
}

/* Mint Fresh Theme */
:root[data-theme="mint"] {
    --primary-color: #2dd4bf;
    --primary-light: #5eead4;
    --primary-dark: #14b8a6;
    --secondary-color: #34d399;
    --secondary-light: #6ee7b7;
    --secondary-dark: #10b981;
    --accent-color: #60a5fa;
    --accent-light: #93c5fd;

    --bg-gradient-start: #0a1f1f;
    --bg-gradient-mid1: #0f2e2e;
    --bg-gradient-mid2: #134e4a;
    --bg-gradient-end: #115e59;

    --radial-top-1: rgba(45, 212, 191, 0.25);
    --radial-top-2: rgba(52, 211, 153, 0.15);
    --radial-bottom-1: rgba(96, 165, 250, 0.2);
    --radial-bottom-2: rgba(45, 212, 191, 0.1);

    --grid-color: rgba(45, 212, 191, 0.03);
    --overlay-gradient-1: rgba(45, 212, 191, 0.2);
    --overlay-gradient-2: rgba(52, 211, 153, 0.15);
    --overlay-gradient-3: rgba(96, 165, 250, 0.1);
    --overlay-gradient-4: rgba(45, 212, 191, 0.05);
}

/* Midnight Blue Theme */
:root[data-theme="midnight"] {
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary-color: #6366f1;
    --secondary-light: #818cf8;
    --secondary-dark: #4f46e5;
    --accent-color: #0ea5e9;
    --accent-light: #38bdf8;

    --bg-gradient-start: #020617;
    --bg-gradient-mid1: #0c1220;
    --bg-gradient-mid2: #1e293b;
    --bg-gradient-end: #0f172a;

    --radial-top-1: rgba(30, 64, 175, 0.25);
    --radial-top-2: rgba(99, 102, 241, 0.15);
    --radial-bottom-1: rgba(14, 165, 233, 0.2);
    --radial-bottom-2: rgba(30, 64, 175, 0.1);

    --grid-color: rgba(99, 102, 241, 0.03);
    --overlay-gradient-1: rgba(30, 64, 175, 0.2);
    --overlay-gradient-2: rgba(99, 102, 241, 0.15);
    --overlay-gradient-3: rgba(14, 165, 233, 0.1);
    --overlay-gradient-4: rgba(99, 102, 241, 0.05);
}

/* Coral Reef Theme */
:root[data-theme="coral"] {
    --primary-color: #fb7185;
    --primary-light: #fda4af;
    --primary-dark: #f43f5e;
    --secondary-color: #fbbf24;
    --secondary-light: #fcd34d;
    --secondary-dark: #f59e0b;
    --accent-color: #fb923c;
    --accent-light: #fdba74;

    --bg-gradient-start: #1f0f0a;
    --bg-gradient-mid1: #2d1410;
    --bg-gradient-mid2: #3d1a15;
    --bg-gradient-end: #4a1f1a;

    --radial-top-1: rgba(251, 113, 133, 0.25);
    --radial-top-2: rgba(251, 191, 36, 0.15);
    --radial-bottom-1: rgba(251, 146, 60, 0.2);
    --radial-bottom-2: rgba(251, 113, 133, 0.1);

    --grid-color: rgba(251, 191, 36, 0.03);
    --overlay-gradient-1: rgba(251, 113, 133, 0.2);
    --overlay-gradient-2: rgba(251, 191, 36, 0.15);
    --overlay-gradient-3: rgba(251, 146, 60, 0.1);
    --overlay-gradient-4: rgba(251, 191, 36, 0.05);
}

/* Amber Glow Theme */
:root[data-theme="amber"] {
    --primary-color: #fbbf24;
    --primary-light: #fcd34d;
    --primary-dark: #f59e0b;
    --secondary-color: #fb923c;
    --secondary-light: #fdba74;
    --secondary-dark: #f97316;
    --accent-color: #ef4444;
    --accent-light: #f87171;

    --bg-gradient-start: #1c1410;
    --bg-gradient-mid1: #2d1f0a;
    --bg-gradient-mid2: #422a06;
    --bg-gradient-end: #3d2510;

    --radial-top-1: rgba(251, 191, 36, 0.25);
    --radial-top-2: rgba(251, 146, 60, 0.15);
    --radial-bottom-1: rgba(239, 68, 68, 0.2);
    --radial-bottom-2: rgba(251, 191, 36, 0.1);

    --grid-color: rgba(251, 191, 36, 0.03);
    --overlay-gradient-1: rgba(251, 191, 36, 0.2);
    --overlay-gradient-2: rgba(251, 146, 60, 0.15);
    --overlay-gradient-3: rgba(239, 68, 68, 0.1);
    --overlay-gradient-4: rgba(251, 191, 36, 0.05);
}

/* Sapphire Theme */
:root[data-theme="sapphire"] {
    --primary-color: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --secondary-color: #8b5cf6;
    --secondary-light: #a78bfa;
    --secondary-dark: #7c3aed;
    --accent-color: #06b6d4;
    --accent-light: #22d3ee;

    --bg-gradient-start: #0a0f1e;
    --bg-gradient-mid1: #0f1629;
    --bg-gradient-mid2: #1e2a47;
    --bg-gradient-end: #1a2642;

    --radial-top-1: rgba(59, 130, 246, 0.25);
    --radial-top-2: rgba(139, 92, 246, 0.15);
    --radial-bottom-1: rgba(6, 182, 212, 0.2);
    --radial-bottom-2: rgba(59, 130, 246, 0.1);

    --grid-color: rgba(59, 130, 246, 0.03);
    --overlay-gradient-1: rgba(59, 130, 246, 0.2);
    --overlay-gradient-2: rgba(139, 92, 246, 0.15);
    --overlay-gradient-3: rgba(6, 182, 212, 0.1);
    --overlay-gradient-4: rgba(59, 130, 246, 0.05);
}

/* Cherry Blossom Theme */
:root[data-theme="cherry"] {
    --primary-color: #f0abfc;
    --primary-light: #f5d0fe;
    --primary-dark: #e879f9;
    --secondary-color: #fda4af;
    --secondary-light: #fecdd3;
    --secondary-dark: #fb7185;
    --accent-color: #f9a8d4;
    --accent-light: #fbcfe8;

    --bg-gradient-start: #1f0f1a;
    --bg-gradient-mid1: #2d1420;
    --bg-gradient-mid2: #3d1a2a;
    --bg-gradient-end: #351a2d;

    --radial-top-1: rgba(240, 171, 252, 0.25);
    --radial-top-2: rgba(253, 164, 175, 0.15);
    --radial-bottom-1: rgba(249, 168, 212, 0.2);
    --radial-bottom-2: rgba(240, 171, 252, 0.1);

    --grid-color: rgba(240, 171, 252, 0.03);
    --overlay-gradient-1: rgba(240, 171, 252, 0.2);
    --overlay-gradient-2: rgba(253, 164, 175, 0.15);
    --overlay-gradient-3: rgba(249, 168, 212, 0.1);
    --overlay-gradient-4: rgba(240, 171, 252, 0.05);
}

/* Forest Night Theme */
:root[data-theme="forest"] {
    --primary-color: #059669;
    --primary-light: #10b981;
    --primary-dark: #047857;
    --secondary-color: #0d9488;
    --secondary-light: #14b8a6;
    --secondary-dark: #0f766e;
    --accent-color: #84cc16;
    --accent-light: #a3e635;

    --bg-gradient-start: #0a1410;
    --bg-gradient-mid1: #0f1f1a;
    --bg-gradient-mid2: #14352a;
    --bg-gradient-end: #1a3f2e;

    --radial-top-1: rgba(5, 150, 105, 0.25);
    --radial-top-2: rgba(13, 148, 136, 0.15);
    --radial-bottom-1: rgba(132, 204, 22, 0.2);
    --radial-bottom-2: rgba(5, 150, 105, 0.1);

    --grid-color: rgba(13, 148, 136, 0.03);
    --overlay-gradient-1: rgba(5, 150, 105, 0.2);
    --overlay-gradient-2: rgba(13, 148, 136, 0.15);
    --overlay-gradient-3: rgba(132, 204, 22, 0.1);
    --overlay-gradient-4: rgba(13, 148, 136, 0.05);
}

/* NEW THEMES */

/* Crimson Wave */
:root[data-theme="crimson"] {
    --primary-color: #dc2626;
    --primary-light: #ef4444;
    --primary-dark: #b91c1c;
    --secondary-color: #f43f5e;
    --secondary-light: #fb7185;
    --secondary-dark: #e11d48;
    --accent-color: #a855f7;
    --accent-light: #c084fc;

    --bg-gradient-start: #1a0505;
    --bg-gradient-mid1: #2d0a0a;
    --bg-gradient-mid2: #450f0f;
    --bg-gradient-end: #5a1414;

    --radial-top-1: rgba(220, 38, 38, 0.25);
    --radial-top-2: rgba(244, 63, 94, 0.15);
    --radial-bottom-1: rgba(168, 85, 247, 0.2);
    --radial-bottom-2: rgba(220, 38, 38, 0.1);

    --grid-color: rgba(220, 38, 38, 0.03);
    --overlay-gradient-1: rgba(220, 38, 38, 0.2);
    --overlay-gradient-2: rgba(244, 63, 94, 0.15);
    --overlay-gradient-3: rgba(168, 85, 247, 0.1);
    --overlay-gradient-4: rgba(220, 38, 38, 0.05);
}

/* Aqua Paradise */
:root[data-theme="aqua"] {
    --primary-color: #06b6d4;
    --primary-light: #22d3ee;
    --primary-dark: #0891b2;
    --secondary-color: #14b8a6;
    --secondary-light: #2dd4bf;
    --secondary-dark: #0d9488;
    --accent-color: #3b82f6;
    --accent-light: #60a5fa;

    --bg-gradient-start: #0a1a1f;
    --bg-gradient-mid1: #0f2a35;
    --bg-gradient-mid2: #14394a;
    --bg-gradient-end: #1a475f;

    --radial-top-1: rgba(6, 182, 212, 0.25);
    --radial-top-2: rgba(20, 184, 166, 0.15);
    --radial-bottom-1: rgba(59, 130, 246, 0.2);
    --radial-bottom-2: rgba(6, 182, 212, 0.1);

    --grid-color: rgba(6, 182, 212, 0.03);
    --overlay-gradient-1: rgba(6, 182, 212, 0.2);
    --overlay-gradient-2: rgba(20, 184, 166, 0.15);
    --overlay-gradient-3: rgba(59, 130, 246, 0.1);
    --overlay-gradient-4: rgba(6, 182, 212, 0.05);
}

/* Golden Hour */
:root[data-theme="gold"] {
    --primary-color: #eab308;
    --primary-light: #facc15;
    --primary-dark: #ca8a04;
    --secondary-color: #f59e0b;
    --secondary-light: #fbbf24;
    --secondary-dark: #d97706;
    --accent-color: #fb923c;
    --accent-light: #fdba74;

    --bg-gradient-start: #1f1a0a;
    --bg-gradient-mid1: #352d10;
    --bg-gradient-mid2: #4a3f15;
    --bg-gradient-end: #5f521a;

    --radial-top-1: rgba(234, 179, 8, 0.25);
    --radial-top-2: rgba(245, 158, 11, 0.15);
    --radial-bottom-1: rgba(251, 146, 60, 0.2);
    --radial-bottom-2: rgba(234, 179, 8, 0.1);

    --grid-color: rgba(234, 179, 8, 0.03);
    --overlay-gradient-1: rgba(234, 179, 8, 0.2);
    --overlay-gradient-2: rgba(245, 158, 11, 0.15);
    --overlay-gradient-3: rgba(251, 146, 60, 0.1);
    --overlay-gradient-4: rgba(234, 179, 8, 0.05);
}

/* Violet Storm */
:root[data-theme="violet"] {
    --primary-color: #7c3aed;
    --primary-light: #8b5cf6;
    --primary-dark: #6d28d9;
    --secondary-color: #a855f7;
    --secondary-light: #c084fc;
    --secondary-dark: #9333ea;
    --accent-color: #d946ef;
    --accent-light: #e879f9;

    --bg-gradient-start: #14081f;
    --bg-gradient-mid1: #1f0f2e;
    --bg-gradient-mid2: #2d1548;
    --bg-gradient-end: #3b1a62;

    --radial-top-1: rgba(124, 58, 237, 0.25);
    --radial-top-2: rgba(168, 85, 247, 0.15);
    --radial-bottom-1: rgba(217, 70, 239, 0.2);
    --radial-bottom-2: rgba(124, 58, 237, 0.1);

    --grid-color: rgba(124, 58, 237, 0.03);
    --overlay-gradient-1: rgba(124, 58, 237, 0.2);
    --overlay-gradient-2: rgba(168, 85, 247, 0.15);
    --overlay-gradient-3: rgba(217, 70, 239, 0.1);
    --overlay-gradient-4: rgba(124, 58, 237, 0.05);
}

/* Turquoise Sea */
:root[data-theme="turquoise"] {
    --primary-color: #14b8a6;
    --primary-light: #2dd4bf;
    --primary-dark: #0d9488;
    --secondary-color: #06b6d4;
    --secondary-light: #22d3ee;
    --secondary-dark: #0891b2;
    --accent-color: #10b981;
    --accent-light: #34d399;

    --bg-gradient-start: #0a1f1a;
    --bg-gradient-mid1: #0f352e;
    --bg-gradient-mid2: #144a42;
    --bg-gradient-end: #1a5f56;

    --radial-top-1: rgba(20, 184, 166, 0.25);
    --radial-top-2: rgba(6, 182, 212, 0.15);
    --radial-bottom-1: rgba(16, 185, 129, 0.2);
    --radial-bottom-2: rgba(20, 184, 166, 0.1);

    --grid-color: rgba(20, 184, 166, 0.03);
    --overlay-gradient-1: rgba(20, 184, 166, 0.2);
    --overlay-gradient-2: rgba(6, 182, 212, 0.15);
    --overlay-gradient-3: rgba(16, 185, 129, 0.1);
    --overlay-gradient-4: rgba(20, 184, 166, 0.05);
}

/* Magenta Burst */
:root[data-theme="magenta"] {
    --primary-color: #ec4899;
    --primary-light: #f472b6;
    --primary-dark: #db2777;
    --secondary-color: #d946ef;
    --secondary-light: #e879f9;
    --secondary-dark: #c026d3;
    --accent-color: #f43f5e;
    --accent-light: #fb7185;

    --bg-gradient-start: #1f0a1f;
    --bg-gradient-mid1: #330f33;
    --bg-gradient-mid2: #471447;
    --bg-gradient-end: #5b1a5b;

    --radial-top-1: rgba(236, 72, 153, 0.25);
    --radial-top-2: rgba(217, 70, 239, 0.15);
    --radial-bottom-1: rgba(244, 63, 94, 0.2);
    --radial-bottom-2: rgba(236, 72, 153, 0.1);

    --grid-color: rgba(236, 72, 153, 0.03);
    --overlay-gradient-1: rgba(236, 72, 153, 0.2);
    --overlay-gradient-2: rgba(217, 70, 239, 0.15);
    --overlay-gradient-3: rgba(244, 63, 94, 0.1);
    --overlay-gradient-4: rgba(236, 72, 153, 0.05);
}

/* Teal Depth */
:root[data-theme="teal"] {
    --primary-color: #0d9488;
    --primary-light: #14b8a6;
    --primary-dark: #0f766e;
    --secondary-color: #059669;
    --secondary-light: #10b981;
    --secondary-dark: #047857;
    --accent-color: #0891b2;
    --accent-light: #06b6d4;

    --bg-gradient-start: #051414;
    --bg-gradient-mid1: #0a2424;
    --bg-gradient-mid2: #0f3434;
    --bg-gradient-end: #144444;

    --radial-top-1: rgba(13, 148, 136, 0.25);
    --radial-top-2: rgba(5, 150, 105, 0.15);
    --radial-bottom-1: rgba(8, 145, 178, 0.2);
    --radial-bottom-2: rgba(13, 148, 136, 0.1);

    --grid-color: rgba(13, 148, 136, 0.03);
    --overlay-gradient-1: rgba(13, 148, 136, 0.2);
    --overlay-gradient-2: rgba(5, 150, 105, 0.15);
    --overlay-gradient-3: rgba(8, 145, 178, 0.1);
    --overlay-gradient-4: rgba(13, 148, 136, 0.05);
}

/* Peach Sorbet */
:root[data-theme="peach"] {
    --primary-color: #fb923c;
    --primary-light: #fdba74;
    --primary-dark: #f97316;
    --secondary-color: #fbbf24;
    --secondary-light: #fcd34d;
    --secondary-dark: #f59e0b;
    --accent-color: #fb7185;
    --accent-light: #fda4af;

    --bg-gradient-start: #1f140a;
    --bg-gradient-mid1: #332110;
    --bg-gradient-mid2: #472e15;
    --bg-gradient-end: #5b3b1a;

    --radial-top-1: rgba(251, 146, 60, 0.25);
    --radial-top-2: rgba(251, 191, 36, 0.15);
    --radial-bottom-1: rgba(251, 113, 133, 0.2);
    --radial-bottom-2: rgba(251, 146, 60, 0.1);

    --grid-color: rgba(251, 146, 60, 0.03);
    --overlay-gradient-1: rgba(251, 146, 60, 0.2);
    --overlay-gradient-2: rgba(251, 191, 36, 0.15);
    --overlay-gradient-3: rgba(251, 113, 133, 0.1);
    --overlay-gradient-4: rgba(251, 146, 60, 0.05);
}

/* Indigo Night */
:root[data-theme="indigo"] {
    --primary-color: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --secondary-color: #3b82f6;
    --secondary-light: #60a5fa;
    --secondary-dark: #2563eb;
    --accent-color: #8b5cf6;
    --accent-light: #a78bfa;

    --bg-gradient-start: #0a0a1f;
    --bg-gradient-mid1: #0f0f33;
    --bg-gradient-mid2: #141447;
    --bg-gradient-end: #1a1a5b;

    --radial-top-1: rgba(79, 70, 229, 0.25);
    --radial-top-2: rgba(59, 130, 246, 0.15);
    --radial-bottom-1: rgba(139, 92, 246, 0.2);
    --radial-bottom-2: rgba(79, 70, 229, 0.1);

    --grid-color: rgba(79, 70, 229, 0.03);
    --overlay-gradient-1: rgba(79, 70, 229, 0.2);
    --overlay-gradient-2: rgba(59, 130, 246, 0.15);
    --overlay-gradient-3: rgba(139, 92, 246, 0.1);
    --overlay-gradient-4: rgba(79, 70, 229, 0.05);
}

/* Lime Zest */
:root[data-theme="lime"] {
    --primary-color: #84cc16;
    --primary-light: #a3e635;
    --primary-dark: #65a30d;
    --secondary-color: #22c55e;
    --secondary-light: #4ade80;
    --secondary-dark: #16a34a;
    --accent-color: #eab308;
    --accent-light: #facc15;

    --bg-gradient-start: #0f1a05;
    --bg-gradient-mid1: #1a2e0a;
    --bg-gradient-mid2: #25420f;
    --bg-gradient-end: #305614;

    --radial-top-1: rgba(132, 204, 22, 0.25);
    --radial-top-2: rgba(34, 197, 94, 0.15);
    --radial-bottom-1: rgba(234, 179, 8, 0.2);
    --radial-bottom-2: rgba(132, 204, 22, 0.1);

    --grid-color: rgba(132, 204, 22, 0.03);
    --overlay-gradient-1: rgba(132, 204, 22, 0.2);
    --overlay-gradient-2: rgba(34, 197, 94, 0.15);
    --overlay-gradient-3: rgba(234, 179, 8, 0.1);
    --overlay-gradient-4: rgba(132, 204, 22, 0.05);
}

/* Ruby Blaze */
:root[data-theme="ruby"] {
    --primary-color: #be123c;
    --primary-light: #e11d48;
    --primary-dark: #9f1239;
    --secondary-color: #dc2626;
    --secondary-light: #ef4444;
    --secondary-dark: #b91c1c;
    --accent-color: #f97316;
    --accent-light: #fb923c;

    --bg-gradient-start: #1a0305;
    --bg-gradient-mid1: #2e050a;
    --bg-gradient-mid2: #42070f;
    --bg-gradient-end: #560a14;

    --radial-top-1: rgba(190, 18, 60, 0.25);
    --radial-top-2: rgba(220, 38, 38, 0.15);
    --radial-bottom-1: rgba(249, 115, 22, 0.2);
    --radial-bottom-2: rgba(190, 18, 60, 0.1);

    --grid-color: rgba(190, 18, 60, 0.03);
    --overlay-gradient-1: rgba(190, 18, 60, 0.2);
    --overlay-gradient-2: rgba(220, 38, 38, 0.15);
    --overlay-gradient-3: rgba(249, 115, 22, 0.1);
    --overlay-gradient-4: rgba(190, 18, 60, 0.05);
}

/* Navy Storm */
:root[data-theme="navy"] {
    --primary-color: #1e3a8a;
    --primary-light: #1e40af;
    --primary-dark: #1e293b;
    --secondary-color: #0ea5e9;
    --secondary-light: #38bdf8;
    --secondary-dark: #0284c7;
    --accent-color: #6366f1;
    --accent-light: #818cf8;

    --bg-gradient-start: #020617;
    --bg-gradient-mid1: #050a1f;
    --bg-gradient-mid2: #0a0f2e;
    --bg-gradient-end: #0f1433;

    --radial-top-1: rgba(30, 58, 138, 0.25);
    --radial-top-2: rgba(14, 165, 233, 0.15);
    --radial-bottom-1: rgba(99, 102, 241, 0.2);
    --radial-bottom-2: rgba(30, 58, 138, 0.1);

    --grid-color: rgba(30, 58, 138, 0.03);
    --overlay-gradient-1: rgba(30, 58, 138, 0.2);
    --overlay-gradient-2: rgba(14, 165, 233, 0.15);
    --overlay-gradient-3: rgba(99, 102, 241, 0.1);
    --overlay-gradient-4: rgba(30, 58, 138, 0.05);
}

/* Bronze Sunset */
:root[data-theme="bronze"] {
    --primary-color: #d97706;
    --primary-light: #f59e0b;
    --primary-dark: #b45309;
    --secondary-color: #ea580c;
    --secondary-light: #f97316;
    --secondary-dark: #c2410c;
    --accent-color: #dc2626;
    --accent-light: #ef4444;

    --bg-gradient-start: #1a0f05;
    --bg-gradient-mid1: #2e1a0a;
    --bg-gradient-mid2: #42250f;
    --bg-gradient-end: #563014;

    --radial-top-1: rgba(217, 119, 6, 0.25);
    --radial-top-2: rgba(234, 88, 12, 0.15);
    --radial-bottom-1: rgba(220, 38, 38, 0.2);
    --radial-bottom-2: rgba(217, 119, 6, 0.1);

    --grid-color: rgba(217, 119, 6, 0.03);
    --overlay-gradient-1: rgba(217, 119, 6, 0.2);
    --overlay-gradient-2: rgba(234, 88, 12, 0.15);
    --overlay-gradient-3: rgba(220, 38, 38, 0.1);
    --overlay-gradient-4: rgba(217, 119, 6, 0.05);
}

/* Jade Garden */
:root[data-theme="jade"] {
    --primary-color: #10b981;
    --primary-light: #34d399;
    --primary-dark: #059669;
    --secondary-color: #14b8a6;
    --secondary-light: #2dd4bf;
    --secondary-dark: #0d9488;
    --accent-color: #22c55e;
    --accent-light: #4ade80;

    --bg-gradient-start: #051a0f;
    --bg-gradient-mid1: #0a2e1a;
    --bg-gradient-mid2: #0f4225;
    --bg-gradient-end: #145630;

    --radial-top-1: rgba(16, 185, 129, 0.25);
    --radial-top-2: rgba(20, 184, 166, 0.15);
    --radial-bottom-1: rgba(34, 197, 94, 0.2);
    --radial-bottom-2: rgba(16, 185, 129, 0.1);

    --grid-color: rgba(16, 185, 129, 0.03);
    --overlay-gradient-1: rgba(16, 185, 129, 0.2);
    --overlay-gradient-2: rgba(20, 184, 166, 0.15);
    --overlay-gradient-3: rgba(34, 197, 94, 0.1);
    --overlay-gradient-4: rgba(16, 185, 129, 0.05);
}

/* Scarlet Fire */
:root[data-theme="scarlet"] {
    --primary-color: #ef4444;
    --primary-light: #f87171;
    --primary-dark: #dc2626;
    --secondary-color: #f97316;
    --secondary-light: #fb923c;
    --secondary-dark: #ea580c;
    --accent-color: #eab308;
    --accent-light: #facc15;

    --bg-gradient-start: #1a0505;
    --bg-gradient-mid1: #2e0a0a;
    --bg-gradient-mid2: #420f0f;
    --bg-gradient-end: #561414;

    --radial-top-1: rgba(239, 68, 68, 0.25);
    --radial-top-2: rgba(249, 115, 22, 0.15);
    --radial-bottom-1: rgba(234, 179, 8, 0.2);
    --radial-bottom-2: rgba(239, 68, 68, 0.1);

    --grid-color: rgba(239, 68, 68, 0.03);
    --overlay-gradient-1: rgba(239, 68, 68, 0.2);
    --overlay-gradient-2: rgba(249, 115, 22, 0.15);
    --overlay-gradient-3: rgba(234, 179, 8, 0.1);
    --overlay-gradient-4: rgba(239, 68, 68, 0.05);
}

/* Slate Steel */
:root[data-theme="slate"] {
    --primary-color: #64748b;
    --primary-light: #94a3b8;
    --primary-dark: #475569;
    --secondary-color: #6b7280;
    --secondary-light: #9ca3af;
    --secondary-dark: #4b5563;
    --accent-color: #7c3aed;
    --accent-light: #8b5cf6;

    --bg-gradient-start: #0f1419;
    --bg-gradient-mid1: #1a2026;
    --bg-gradient-mid2: #252c33;
    --bg-gradient-end: #303840;

    --radial-top-1: rgba(100, 116, 139, 0.25);
    --radial-top-2: rgba(107, 114, 128, 0.15);
    --radial-bottom-1: rgba(124, 58, 237, 0.2);
    --radial-bottom-2: rgba(100, 116, 139, 0.1);

    --grid-color: rgba(100, 116, 139, 0.03);
    --overlay-gradient-1: rgba(100, 116, 139, 0.2);
    --overlay-gradient-2: rgba(107, 114, 128, 0.15);
    --overlay-gradient-3: rgba(124, 58, 237, 0.1);
    --overlay-gradient-4: rgba(100, 116, 139, 0.05);
}

/* Plum Paradise */
:root[data-theme="plum"] {
    --primary-color: #9333ea;
    --primary-light: #a855f7;
    --primary-dark: #7e22ce;
    --secondary-color: #c026d3;
    --secondary-light: #d946ef;
    --secondary-dark: #a21caf;
    --accent-color: #db2777;
    --accent-light: #ec4899;

    --bg-gradient-start: #14051a;
    --bg-gradient-mid1: #210a2e;
    --bg-gradient-mid2: #2e0f42;
    --bg-gradient-end: #3b1456;

    --radial-top-1: rgba(147, 51, 234, 0.25);
    --radial-top-2: rgba(192, 38, 211, 0.15);
    --radial-bottom-1: rgba(219, 39, 119, 0.2);
    --radial-bottom-2: rgba(147, 51, 234, 0.1);

    --grid-color: rgba(147, 51, 234, 0.03);
    --overlay-gradient-1: rgba(147, 51, 234, 0.2);
    --overlay-gradient-2: rgba(192, 38, 211, 0.15);
    --overlay-gradient-3: rgba(219, 39, 119, 0.1);
    --overlay-gradient-4: rgba(147, 51, 234, 0.05);
}

/* Arctic Ice */
:root[data-theme="arctic"] {
    --primary-color: #38bdf8;
    --primary-light: #7dd3fc;
    --primary-dark: #0ea5e9;
    --secondary-color: #22d3ee;
    --secondary-light: #67e8f9;
    --secondary-dark: #06b6d4;
    --accent-color: #60a5fa;
    --accent-light: #93c5fd;

    --bg-gradient-start: #0a1419;
    --bg-gradient-mid1: #0f1f2e;
    --bg-gradient-mid2: #142a42;
    --bg-gradient-end: #1a3556;

    --radial-top-1: rgba(56, 189, 248, 0.25);
    --radial-top-2: rgba(34, 211, 238, 0.15);
    --radial-bottom-1: rgba(96, 165, 250, 0.2);
    --radial-bottom-2: rgba(56, 189, 248, 0.1);

    --grid-color: rgba(56, 189, 248, 0.03);
    --overlay-gradient-1: rgba(56, 189, 248, 0.2);
    --overlay-gradient-2: rgba(34, 211, 238, 0.15);
    --overlay-gradient-3: rgba(96, 165, 250, 0.1);
    --overlay-gradient-4: rgba(56, 189, 248, 0.05);
}

/* Honey Gold */
:root[data-theme="honey"] {
    --primary-color: #f59e0b;
    --primary-light: #fbbf24;
    --primary-dark: #d97706;
    --secondary-color: #fbbf24;
    --secondary-light: #fcd34d;
    --secondary-dark: #eab308;
    --accent-color: #fb923c;
    --accent-light: #fdba74;

    --bg-gradient-start: #1a140a;
    --bg-gradient-mid1: #2e240f;
    --bg-gradient-mid2: #423414;
    --bg-gradient-end: #56441a;

    --radial-top-1: rgba(245, 158, 11, 0.25);
    --radial-top-2: rgba(251, 191, 36, 0.15);
    --radial-bottom-1: rgba(251, 146, 60, 0.2);
    --radial-bottom-2: rgba(245, 158, 11, 0.1);

    --grid-color: rgba(245, 158, 11, 0.03);
    --overlay-gradient-1: rgba(245, 158, 11, 0.2);
    --overlay-gradient-2: rgba(251, 191, 36, 0.15);
    --overlay-gradient-3: rgba(251, 146, 60, 0.1);
    --overlay-gradient-4: rgba(245, 158, 11, 0.05);
}

/* Electric Storm */
:root[data-theme="storm"] {
    --primary-color: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --secondary-color: #8b5cf6;
    --secondary-light: #a78bfa;
    --secondary-dark: #7c3aed;
    --accent-color: #22d3ee;
    --accent-light: #67e8f9;

    --bg-gradient-start: #050a1a;
    --bg-gradient-mid1: #0a0f2e;
    --bg-gradient-mid2: #0f1442;
    --bg-gradient-end: #141a56;

    --radial-top-1: rgba(59, 130, 246, 0.25);
    --radial-top-2: rgba(139, 92, 246, 0.15);
    --radial-bottom-1: rgba(34, 211, 238, 0.2);
    --radial-bottom-2: rgba(59, 130, 246, 0.1);

    --grid-color: rgba(59, 130, 246, 0.03);
    --overlay-gradient-1: rgba(59, 130, 246, 0.2);
    --overlay-gradient-2: rgba(139, 92, 246, 0.15);
    --overlay-gradient-3: rgba(34, 211, 238, 0.1);
    --overlay-gradient-4: rgba(59, 130, 246, 0.05);
}

/* Passion Red */
:root[data-theme="passion"] {
    --primary-color: #e11d48;
    --primary-light: #f43f5e;
    --primary-dark: #be123c;
    --secondary-color: #db2777;
    --secondary-light: #ec4899;
    --secondary-dark: #be185d;
    --accent-color: #f97316;
    --accent-light: #fb923c;

    --bg-gradient-start: #1a0305;
    --bg-gradient-mid1: #2e0509;
    --bg-gradient-mid2: #42070e;
    --bg-gradient-end: #560a14;

    --radial-top-1: rgba(225, 29, 72, 0.25);
    --radial-top-2: rgba(219, 39, 119, 0.15);
    --radial-bottom-1: rgba(249, 115, 22, 0.2);
    --radial-bottom-2: rgba(225, 29, 72, 0.1);

    --grid-color: rgba(225, 29, 72, 0.03);
    --overlay-gradient-1: rgba(225, 29, 72, 0.2);
    --overlay-gradient-2: rgba(219, 39, 119, 0.15);
    --overlay-gradient-3: rgba(249, 115, 22, 0.1);
    --overlay-gradient-4: rgba(225, 29, 72, 0.05);
}

/* Glacier Blue */
:root[data-theme="glacier"] {
    --primary-color: #0ea5e9;
    --primary-light: #38bdf8;
    --primary-dark: #0284c7;
    --secondary-color: #06b6d4;
    --secondary-light: #22d3ee;
    --secondary-dark: #0891b2;
    --accent-color: #3b82f6;
    --accent-light: #60a5fa;

    --bg-gradient-start: #051419;
    --bg-gradient-mid1: #0a1f2e;
    --bg-gradient-mid2: #0f2a42;
    --bg-gradient-end: #143556;

    --radial-top-1: rgba(14, 165, 233, 0.25);
    --radial-top-2: rgba(6, 182, 212, 0.15);
    --radial-bottom-1: rgba(59, 130, 246, 0.2);
    --radial-bottom-2: rgba(14, 165, 233, 0.1);

    --grid-color: rgba(14, 165, 233, 0.03);
    --overlay-gradient-1: rgba(14, 165, 233, 0.2);
    --overlay-gradient-2: rgba(6, 182, 212, 0.15);
    --overlay-gradient-3: rgba(59, 130, 246, 0.1);
    --overlay-gradient-4: rgba(14, 165, 233, 0.05);
}

/* Cosmic Purple */
:root[data-theme="cosmic"] {
    --primary-color: #a855f7;
    --primary-light: #c084fc;
    --primary-dark: #9333ea;
    --secondary-color: #6366f1;
    --secondary-light: #818cf8;
    --secondary-dark: #4f46e5;
    --accent-color: #ec4899;
    --accent-light: #f472b6;

    --bg-gradient-start: #0f0a1a;
    --bg-gradient-mid1: #1a0f2e;
    --bg-gradient-mid2: #251442;
    --bg-gradient-end: #301a56;

    --radial-top-1: rgba(168, 85, 247, 0.25);
    --radial-top-2: rgba(99, 102, 241, 0.15);
    --radial-bottom-1: rgba(236, 72, 153, 0.2);
    --radial-bottom-2: rgba(168, 85, 247, 0.1);

    --grid-color: rgba(168, 85, 247, 0.03);
    --overlay-gradient-1: rgba(168, 85, 247, 0.2);
    --overlay-gradient-2: rgba(99, 102, 241, 0.15);
    --overlay-gradient-3: rgba(236, 72, 153, 0.1);
    --overlay-gradient-4: rgba(168, 85, 247, 0.05);
}

/* Flame Orange */
:root[data-theme="flame"] {
    --primary-color: #f97316;
    --primary-light: #fb923c;
    --primary-dark: #ea580c;
    --secondary-color: #eab308;
    --secondary-light: #facc15;
    --secondary-dark: #ca8a04;
    --accent-color: #ef4444;
    --accent-light: #f87171;

    --bg-gradient-start: #1a0a05;
    --bg-gradient-mid1: #2e140a;
    --bg-gradient-mid2: #421e0f;
    --bg-gradient-end: #562814;

    --radial-top-1: rgba(249, 115, 22, 0.25);
    --radial-top-2: rgba(234, 179, 8, 0.15);
    --radial-bottom-1: rgba(239, 68, 68, 0.2);
    --radial-bottom-2: rgba(249, 115, 22, 0.1);

    --grid-color: rgba(249, 115, 22, 0.03);
    --overlay-gradient-1: rgba(249, 115, 22, 0.2);
    --overlay-gradient-2: rgba(234, 179, 8, 0.15);
    --overlay-gradient-3: rgba(239, 68, 68, 0.1);
    --overlay-gradient-4: rgba(249, 115, 22, 0.05);
}

/* Neon Lights */
:root[data-theme="neon"] {
    --primary-color: #a855f7;
    --primary-light: #c084fc;
    --primary-dark: #9333ea;
    --secondary-color: #06b6d4;
    --secondary-light: #22d3ee;
    --secondary-dark: #0891b2;
    --accent-color: #f43f5e;
    --accent-light: #fb7185;

    --bg-gradient-start: #0a0a14;
    --bg-gradient-mid1: #0f0f1e;
    --bg-gradient-mid2: #14142e;
    --bg-gradient-end: #1a1a42;

    --radial-top-1: rgba(168, 85, 247, 0.25);
    --radial-top-2: rgba(6, 182, 212, 0.15);
    --radial-bottom-1: rgba(244, 63, 94, 0.2);
    --radial-bottom-2: rgba(168, 85, 247, 0.1);

    --grid-color: rgba(168, 85, 247, 0.03);
    --overlay-gradient-1: rgba(168, 85, 247, 0.2);
    --overlay-gradient-2: rgba(6, 182, 212, 0.15);
    --overlay-gradient-3: rgba(244, 63, 94, 0.1);
    --overlay-gradient-4: rgba(168, 85, 247, 0.05);
}

/* Obsidian Dark */
:root[data-theme="obsidian"] {
    --primary-color: #1f2937;
    --primary-light: #374151;
    --primary-dark: #111827;
    --secondary-color: #6b7280;
    --secondary-light: #9ca3af;
    --secondary-dark: #4b5563;
    --accent-color: #8b5cf6;
    --accent-light: #a78bfa;

    --bg-gradient-start: #000000;
    --bg-gradient-mid1: #0a0a0a;
    --bg-gradient-mid2: #111111;
    --bg-gradient-end: #1a1a1a;

    --radial-top-1: rgba(31, 41, 55, 0.3);
    --radial-top-2: rgba(107, 114, 128, 0.2);
    --radial-bottom-1: rgba(139, 92, 246, 0.25);
    --radial-bottom-2: rgba(31, 41, 55, 0.15);

    --grid-color: rgba(107, 114, 128, 0.05);
    --overlay-gradient-1: rgba(31, 41, 55, 0.25);
    --overlay-gradient-2: rgba(107, 114, 128, 0.18);
    --overlay-gradient-3: rgba(139, 92, 246, 0.15);
    --overlay-gradient-4: rgba(107, 114, 128, 0.08);
}

/* Carbon Black */
:root[data-theme="carbon"] {
    --primary-color: #0f172a;
    --primary-light: #1e293b;
    --primary-dark: #020617;
    --secondary-color: #334155;
    --secondary-light: #475569;
    --secondary-dark: #1e293b;
    --accent-color: #14b8a6;
    --accent-light: #2dd4bf;

    --bg-gradient-start: #000000;
    --bg-gradient-mid1: #030712;
    --bg-gradient-mid2: #0f172a;
    --bg-gradient-end: #020617;

    --radial-top-1: rgba(15, 23, 42, 0.35);
    --radial-top-2: rgba(51, 65, 85, 0.25);
    --radial-bottom-1: rgba(20, 184, 166, 0.2);
    --radial-bottom-2: rgba(15, 23, 42, 0.15);

    --grid-color: rgba(51, 65, 85, 0.06);
    --overlay-gradient-1: rgba(15, 23, 42, 0.3);
    --overlay-gradient-2: rgba(51, 65, 85, 0.2);
    --overlay-gradient-3: rgba(20, 184, 166, 0.12);
    --overlay-gradient-4: rgba(51, 65, 85, 0.1);
}

/* ==========================================
   BASE STYLES & RESET
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow: hidden;
    height: 100%;
}

body {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(ellipse at top, var(--radial-top-1) 0%, var(--radial-top-2) 20%, transparent 55%),
    radial-gradient(ellipse at bottom, var(--radial-bottom-1) 0%, var(--radial-bottom-2) 20%, transparent 55%),
    linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid1) 25%, var(--bg-gradient-mid2) 50%, var(--bg-gradient-end) 75%, var(--bg-gradient-mid1) 100%);
    background-size: 100% 100%, 100% 100%, 400% 400%;
    animation: gradientShift 20s ease infinite;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    position: relative;
    transition: background 0.8s ease-in-out;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(
            to bottom,
            var(--overlay-gradient-1) 0%,
            var(--overlay-gradient-2) 15%,
            var(--overlay-gradient-3) 30%,
            var(--overlay-gradient-4) 50%,
            transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(0.5) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1) rotate(90deg);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) scale(1.5) rotate(360deg);
        opacity: 0;
    }
}

/* ==========================================
   BACKGROUND PARTICLES
   ========================================== */

.particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--secondary-light) 0%, var(--primary-light) 50%, transparent 100%);
    border-radius: 50%;
    animation: float 15s infinite;
    box-shadow: 0 0 20px var(--secondary-color),
    0 0 40px var(--primary-color),
    0 0 60px var(--secondary-light);
    filter: blur(1px);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15;
    pointer-events: auto;
}

.particle:hover {
    transform: scale(1.5);
    filter: blur(0px);
    box-shadow: 0 0 30px var(--secondary-color),
    0 0 60px var(--primary-color),
    0 0 90px var(--secondary-light);
    z-index: 20;
}

.particle:active {
    transform: scale(0.8);
}

/* ==========================================
   MAIN CONTAINER
   ========================================== */

.container {
    text-align: center;
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-height: 100vh;
    overflow: visible;
    padding: 20px;
    pointer-events: none; /* Allow particles to be clicked through container */
}

/* Re-enable pointer events for interactive children */
.container > * {
    pointer-events: auto;
}

.container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(
            ellipse at center,
            rgba(139, 92, 246, 0.18) 0%,
            rgba(236, 72, 153, 0.12) 15%,
            rgba(167, 139, 250, 0.09) 30%,
            rgba(236, 72, 153, 0.06) 50%,
            rgba(167, 139, 250, 0.03) 70%,
            transparent 90%
    );
    pointer-events: none;
    z-index: -1;
    filter: blur(80px);
}

.container::after {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 80%;
    background: radial-gradient(
            ellipse at top,
            rgba(139, 92, 246, 0.25) 0%,
            rgba(167, 139, 250, 0.18) 20%,
            rgba(236, 72, 153, 0.12) 35%,
            rgba(167, 139, 250, 0.08) 50%,
            transparent 80%
    );
    pointer-events: none;
    z-index: -1;
    filter: blur(70px);
}

/* ==========================================
   HOLIDAY CELEBRATION STYLES
   ========================================== */

.holiday-banner {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 15px 30px;
    z-index: 1000;
    box-shadow: 0 10px 40px var(--primary-color),
    0 0 30px var(--secondary-color) inset;
    animation: slideDown 0.5s ease-out, float-banner 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    display: none;
}

.holiday-banner.active {
    display: block;
}

@keyframes slideDown {
    from {
        top: -100px;
        opacity: 0;
    }
    to {
        top: 20px;
        opacity: 1;
    }
}

@keyframes float-banner {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.holiday-banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.holiday-emoji {
    font-size: 32px;
    animation: spin-emoji 2s ease-in-out infinite;
}

@keyframes spin-emoji {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-15deg) scale(1.1);
    }
    75% {
        transform: rotate(15deg) scale(1.1);
    }
}

.holiday-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.holiday-country {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 2px;
}

.holiday-confetti-piece {
    position: fixed;
    font-size: 24px;
    pointer-events: none;
    z-index: 999;
    animation: fall-holiday-confetti 4s linear forwards;
    --drift: 0px; /* Default value, overridden by JavaScript */
}

@keyframes fall-holiday-confetti {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(var(--drift, 0px)) rotate(720deg);
        opacity: 0;
    }
}

/* ==========================================
   3D HEART CONTAINER
   ========================================== */

.heart-container {
    margin: 0 auto 30px auto;
    perspective: 1500px;
    position: relative;
    width: min(300px, 40vw);
    height: min(300px, 40vw);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    pointer-events: none; /* Allow particles to be clicked through heart */
}

.heart-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300%;
    height: 300%;
    background: radial-gradient(
            circle at center,
            rgba(236, 72, 153, 0.3) 0%,
            rgba(167, 139, 250, 0.22) 15%,
            rgba(236, 72, 153, 0.16) 30%,
            rgba(167, 139, 250, 0.12) 45%,
            rgba(236, 72, 153, 0.08) 60%,
            rgba(167, 139, 250, 0.04) 75%,
            transparent 90%
    );
    pointer-events: none;
    z-index: -1;
    filter: blur(60px);
    animation: heartGlow 3s ease-in-out infinite;
}

.heart-container::after {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 250%;
    height: 120%;
    background: radial-gradient(
            ellipse at top,
            rgba(236, 72, 153, 0.35) 0%,
            rgba(167, 139, 250, 0.25) 20%,
            rgba(236, 72, 153, 0.18) 35%,
            rgba(167, 139, 250, 0.12) 50%,
            rgba(236, 72, 153, 0.06) 65%,
            transparent 85%
    );
    pointer-events: none;
    z-index: -1;
    filter: blur(50px);
}

@keyframes heartGlow {
    0%, 100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.25);
    }
}

@keyframes heartGlowTop {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.2);
    }
}

.heart-3d {
    width: min(200px, 30vw);
    height: min(200px, 30vw);
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3d 10s linear infinite, pulse3d 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 40px rgba(236, 72, 153, 0.6));
}

@keyframes rotate3d {
    0% {
        transform: rotateY(0deg) rotateX(10deg) translateZ(0);
    }
    25% {
        transform: rotateY(90deg) rotateX(10deg) translateZ(30px);
    }
    50% {
        transform: rotateY(180deg) rotateX(10deg) translateZ(50px);
    }
    75% {
        transform: rotateY(270deg) rotateX(10deg) translateZ(30px);
    }
    100% {
        transform: rotateY(360deg) rotateX(10deg) translateZ(0);
    }
}

@keyframes pulse3d {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    15% {
        transform: scale(1.15) translateY(-10px);
    }
    30% {
        transform: scale(1) translateY(0);
    }
    45% {
        transform: scale(1.08) translateY(-5px);
    }
    60% {
        transform: scale(1) translateY(0);
    }
}

/* ==========================================
   HEART LAYERS (3D DEPTH)
   ========================================== */

.heart-layer {
    position: absolute;
    width: 200px;
    height: 180px;
    top: 50%;
    left: 50%;
    margin-left: -100px;
    margin-top: -90px;
}

.heart-layer::before,
.heart-layer::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 160px;
    border-radius: 100px 100px 0 0;
    backdrop-filter: blur(10px);
}

.heart-layer::before {
    left: 50px;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.heart-layer::after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

/* Front layer - brightest with glass effect */
.heart-front {
    transform: translateZ(40px);
    filter: drop-shadow(0 0 40px rgba(236, 72, 153, 0.9)) drop-shadow(0 0 20px rgba(167, 139, 250, 0.6));
}

.heart-front::before,
.heart-front::after {
    background: linear-gradient(135deg,
    var(--primary-color) 0%,
    var(--primary-light) 20%,
    var(--secondary-color) 50%,
    var(--primary-light) 80%,
    var(--primary-color) 100%);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.3),
    inset -10px -10px 30px var(--accent-color);
}

/* Middle layer with neon glow */
.heart-middle {
    transform: translateZ(20px);
    opacity: 0.85;
    filter: drop-shadow(0 0 30px var(--primary-color));
}

.heart-middle::before,
.heart-middle::after {
    background: linear-gradient(135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 50%,
    var(--secondary-color) 100%);
    box-shadow: inset 0 0 20px var(--secondary-light);
}

/* Back layer with depth */
.heart-back {
    transform: translateZ(0px);
    opacity: 0.7;
    filter: drop-shadow(0 0 20px var(--secondary-light));
}

.heart-back::before,
.heart-back::after {
    background: linear-gradient(135deg,
    var(--secondary-dark) 0%,
    var(--secondary-color) 50%,
    var(--accent-color) 100%);
}

/* ==========================================
   HOLOGRAPHIC OVERLAY
   ========================================== */

.heart-hologram {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
            120deg,
            transparent 20%,
            var(--secondary-light) 40%,
            rgba(255, 255, 255, 0.5) 50%,
            var(--primary-light) 60%,
            transparent 80%
    );
    background-size: 200% 200%;
    animation: hologram 4s linear infinite;
    pointer-events: none;
}

@keyframes hologram {
    0% {
        background-position: -100% -100%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* ==========================================
   ENERGY RINGS
   ========================================== */

.energy-ring {
    position: absolute;
    border: 2px solid;
    border-color: rgba(236, 72, 153, 0.6);
    border-radius: 50%;
    animation: energyPulse 2.5s ease-out infinite;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.6),
    0 0 20px rgba(167, 139, 250, 0.4),
    inset 0 0 10px rgba(236, 72, 153, 0.3);
}

.energy-ring:nth-child(1) {
    width: 220px;
    height: 220px;
    top: 50%;
    left: 50%;
    margin-left: -110px;
    margin-top: -110px;
    animation-delay: 0s;
}

.energy-ring:nth-child(2) {
    width: 260px;
    height: 260px;
    top: 50%;
    left: 50%;
    margin-left: -130px;
    margin-top: -130px;
    animation-delay: 0.7s;
    border-color: rgba(167, 139, 250, 0.6);
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.6),
    0 0 20px rgba(236, 72, 153, 0.4),
    inset 0 0 10px rgba(167, 139, 250, 0.3);
}

.energy-ring:nth-child(3) {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    margin-left: -150px;
    margin-top: -150px;
    animation-delay: 1.4s;
}

@keyframes energyPulse {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    30% {
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ==========================================
   SPARKLES
   ========================================== */

.sparkle {
    position: absolute;
    background: radial-gradient(circle,
    rgba(255, 255, 255, 1) 0%,
    var(--primary-color) 40%,
    var(--secondary-color) 70%,
    transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 1),
    0 0 30px var(--primary-color),
    0 0 40px var(--secondary-color),
    0 0 50px var(--primary-light);
    animation: sparkleRotate 3s linear infinite;
}

@keyframes sparkleRotate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.sparkle:nth-child(4) {
    width: 12px;
    height: 12px;
    top: 5%;
    left: 5%;
    animation: sparkle3d 2s ease-in-out infinite, sparkleRotate 3s linear infinite;
    animation-delay: 0s;
}

.sparkle:nth-child(5) {
    width: 8px;
    height: 8px;
    top: 10%;
    right: 5%;
    animation: sparkle3d 2.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.sparkle:nth-child(6) {
    width: 10px;
    height: 10px;
    bottom: 25%;
    left: 0%;
    animation: sparkle3d 2.2s ease-in-out infinite;
    animation-delay: 1s;
}

.sparkle:nth-child(7) {
    width: 14px;
    height: 14px;
    bottom: 15%;
    right: 0%;
    animation: sparkle3d 1.8s ease-in-out infinite;
    animation-delay: 1.5s;
}

.sparkle:nth-child(8) {
    width: 6px;
    height: 6px;
    top: 50%;
    left: -10%;
    animation: sparkle3d 2.8s ease-in-out infinite;
    animation-delay: 0.8s;
}

.sparkle:nth-child(9) {
    width: 6px;
    height: 6px;
    top: 50%;
    right: -10%;
    animation: sparkle3d 2.3s ease-in-out infinite;
    animation-delay: 1.2s;
}

@keyframes sparkle3d {
    0%, 100% {
        opacity: 0;
        transform: scale(0) translateZ(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) translateZ(80px) rotate(180deg);
    }
}

/* ==========================================
   STUPID BUTTON
   ========================================== */

.stupid-button {
    background: linear-gradient(135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 50%,
    var(--primary-color) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 12px 28px;
    font-size: clamp(14px, 3vw, 18px);
    font-weight: 600;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 24px var(--primary-color),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 15px var(--secondary-color) inset,
    0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    max-width: 90vw;
    white-space: nowrap;
}

.stupid-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(167, 139, 250, 0.3) 50%,
    transparent 100%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.stupid-button:hover::before {
    width: 300px;
    height: 300px;
}

.stupid-button:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 45px rgba(236, 72, 153, 0.7),
    0 0 30px rgba(167, 139, 250, 0.5) inset,
    0 12px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

.stupid-button:active {
    transform: translateY(-3px) scale(1.02);
}

.stupid-button span {
    position: relative;
    z-index: 1;
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(5);
        opacity: 0;
    }
}

.stupid-button.clicked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(167, 139, 250, 0.4) 50%,
    transparent 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   FIREWORK EFFECTS
   ========================================== */

/* Firework Flash Effect */
.firework-flash {
    position: fixed;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    animation: firework-flash 0.6s ease-out forwards;
}

@keyframes firework-flash {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* Firework Particles */
.firework-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: firework-burst 1.2s ease-out forwards;
    box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
}

@keyframes firework-burst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Particle Explosion State */
.particle-exploding {
    animation: particle-explode 0.5s ease-out forwards !important;
}

@keyframes particle-explode {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* ==========================================
   MESSAGE & LAST UPDATE
   ========================================== */

.message {
    margin-top: 20px;
    font-size: clamp(16px, 3vw, 24px);
    color: white;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(167, 139, 250, 0.6),
    0 2px 15px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg,
    rgba(236, 72, 153, 0.2) 0%,
    rgba(167, 139, 250, 0.2) 100%);
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    max-width: 90vw;
}

.message.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==========================================
   GOOGLE ADSENSE AD CONTAINER
   ========================================== */

.ad-container {
    margin-top: 20px;
    padding: 8px;
    max-width: 728px;
    width: 100%;
    min-height: 60px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.ad-container:empty,
.ad-container:has(ins[data-ad-status="unfilled"]) {
    display: none;
}

.ad-container ins {
    background: transparent !important;
}

/* Responsive ad sizes - use compact banner formats */
@media (max-width: 768px) {
    .ad-container {
        max-width: 320px;
        min-height: 50px;
        margin-top: 15px;
        padding: 6px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .ad-container {
        max-width: 320px;
        min-height: 50px;
        margin-top: 12px;
        padding: 4px;
        background: transparent;
        border: none;
    }
}

.last-update {
    margin-top: 15px;
    font-size: clamp(12px, 2vw, 14px);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.last-update.show {
    opacity: 1;
    transform: translateY(0);
}

.last-update .timestamp {
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 0 10px var(--primary-light),
    0 1px 3px rgba(0, 0, 0, 0.3);
}

.last-update .never {
    color: var(--secondary-color);
    font-weight: 600;
    font-style: italic;
}

/* ==========================================
   PAYMENT MODAL - INDUSTRY STANDARD
   ========================================== */

/* Modal Overlay */
.payment-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    animation: fadeIn 0.2s ease-out;
    /* Safari specific fixes */
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
}

.payment-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Backdrop */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: backdropFadeIn 0.2s ease-out;
    z-index: 1;
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

/* Modal Container */
.modal-container {
    position: relative;
    width: calc(100% - 32px);
    max-width: 480px;
    max-height: calc(100vh - 64px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    /* Safari/iOS specific fixes */
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 24px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header-content {
    flex: 1;
}

.modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.modal-subtitle {
    margin: 4px 0 0;
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}

/* Close Button */
.modal-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-left: 16px;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.modal-close:active {
    transform: scale(0.95);
}

/* Modal Body */
.modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 24px;
    min-height: 0;
    position: relative;
    /* Safari/iOS-specific fixes */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: scroll-position;
    /* Ensure scrolling works on all Safari versions */
    overscroll-behavior: contain;
}

/* Force Safari to recognize scrollable area */
.modal-body > * {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Custom scrollbar for better UX */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    border: 2px solid #f8fafc;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Order Summary */
.order-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.summary-row + .summary-row {
    border-top: 1px solid #e2e8f0;
}

.summary-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.summary-value {
    font-size: 14px;
    color: #0f172a;
    font-weight: 600;
}

.summary-total {
    margin-top: 4px;
    padding-top: 12px;
}

.summary-amount {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

/* Payment Form */
.payment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.form-select {
    width: 100%;
    height: 44px;
    padding: 0 40px 0 16px;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.form-select:hover {
    border-color: #94a3b8;
}

.form-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Payment Element Container */
#payment-element {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

/* Error Display */
.payment-errors {
    display: none;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    animation: errorSlideDown 0.2s ease-out;
}

@keyframes errorSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-errors.show {
    display: block;
}

/* Card Input Styles */
.card-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-input-label {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.card-input-field {
    padding: 14px 16px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
    min-height: 52px;
    height: 52px;
    display: flex;
    align-items: center;
}

/* Ensure Stripe iframe takes full width and text is visible */
.card-input-field iframe {
    width: 100% !important;
    height: 28px !important;
}

/* Stripe Element wrapper needs full width */
.card-input-field .StripeElement,
.card-input-field > div {
    width: 100%;
    flex: 1;
}

/* Override any color issues in iframe content (if applicable via CSS variable) */
#card-element {
    width: 100%;
    min-height: 24px;
    height: 40px;
}

.card-input-field:hover {
    border-color: #cbd5e1;
}

.card-input-field:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.card-input-field.StripeElement--invalid {
    border-color: #dc2626;
}

.card-input-field.StripeElement--invalid:focus-within {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.card-input-row {
    display: flex;
    gap: 16px;
}

.card-input-row .card-input-group {
    flex: 1;
}

@media (max-width: 400px) {
    .card-input-row {
        flex-direction: column;
        gap: 16px;
    }
}

/* Security Badge */
.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    color: #166534;
    font-size: 13px;
    font-weight: 500;
}

.security-badge svg {
    flex-shrink: 0;
    color: #22c55e;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

/* Buttons */
.btn {
    height: 44px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
    letter-spacing: -0.01em;
}

.btn:active {
    transform: scale(0.98);
}

.btn-secondary {
    flex: 0 0 auto;
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #cbd5e1;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Button Spinner */
.btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-primary:disabled .btn-spinner {
    display: inline-block;
}

.btn-primary:disabled #button-text {
    opacity: 0.7;
}

/* ==========================================
   SUCCESS MODAL - INDUSTRY STANDARD
   ========================================== */

/* Success Modal Container */
.success-modal-container {
    /* Same base styles as payment modal */
}

/* Success Icon */
.success-icon-container {
    display: flex;
    justify-content: center;
    padding: 24px 0;
}

.success-checkmark {
    animation: successIconPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes successIconPop {
    0% {
        transform: scale(0) rotate(-15deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Success Details */
.success-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.success-summary {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 16px;
}

.success-summary .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.success-summary .summary-row + .summary-row {
    border-top: 1px solid #bbf7d0;
    margin-top: 8px;
    padding-top: 12px;
}

.success-color {
    color: #22c55e !important;
    font-weight: 700 !important;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.status-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

/* Success Message Box */
.success-message-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.success-message-text {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    text-align: center;
}

/* Full Width Button */
.full-width {
    width: 100%;
}

/* Mobile Success Modal */
@media (max-width: 480px) {
    .success-icon-container {
        padding: 20px 0;
    }

    .success-checkmark {
        width: 56px;
        height: 56px;
    }

    .success-details {
        gap: 16px;
    }

    .success-summary {
        padding: 12px;
    }

    .success-summary .summary-row {
        padding: 6px 0;
    }

    .success-message-box {
        padding: 14px;
    }

    .success-message-text {
        font-size: 13px;
    }
}

/* Achievement Unlock Modal styles are in: css/achievement-unlock-modal.css */

/* ==========================================
   THEME SELECTOR UI
   ========================================== */

.theme-selector-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    box-shadow: 0 8px 32px var(--primary-color),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float-selector 3s ease-in-out infinite;
}

.theme-selector-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 48px var(--primary-color),
    inset 0 0 30px rgba(255, 255, 255, 0.3);
}

.theme-selector-toggle svg {
    width: 28px;
    height: 28px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes float-selector {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ==========================================
   THEME SELECTOR MODAL - FULL SCREEN
   ========================================== */

/* Theme Selector Modal Overlay (like payment modal) */
.theme-selector-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    animation: fadeIn 0.2s ease-out;
    /* Safari specific fixes */
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
}

.theme-selector-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Theme Modal Backdrop */
.theme-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: backdropFadeIn 0.2s ease-out;
    z-index: 1;
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

/* Theme Selector Panel (now inside modal) */
.theme-selector-panel {
    position: relative;
    width: calc(100% - 32px);
    max-width: 480px;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px); /* iOS dynamic viewport */
    background: linear-gradient(145deg,
    rgba(15, 23, 42, 0.98) 0%,
    rgba(30, 27, 75, 0.98) 50%,
    rgba(49, 46, 129, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 100px var(--primary-color),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    /* Safari/iOS-specific fixes */
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.theme-selector-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* Scrollable body section - matches payment modal */
.theme-selector-body {
    flex: 1 1 auto;
    overflow-y: scroll; /* Changed to scroll to force scrollbar */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 20px 24px 24px;
    min-height: 0;
    position: relative;
    /* Safari/iOS-specific fixes */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: scroll-position;
    /* Ensure scrolling works on all Safari versions */
    overscroll-behavior: contain;
    /* CRITICAL: Prevent iOS from treating touch as text selection */
    -webkit-user-select: none;
    user-select: none;
    /* Allow single-finger scrolling */
    -webkit-touch-callout: none;
    /* CRITICAL FOR iOS: Enable vertical panning */
    touch-action: pan-y pan-x pinch-zoom;
}

/* Force Safari to recognize scrollable area */
.theme-selector-body > * {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Custom scrollbar */
.theme-selector-body::-webkit-scrollbar {
    width: 8px;
}

.theme-selector-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.theme-selector-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.theme-selector-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

.theme-selector-title {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.theme-mode-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1); /* Made more visible for debug */
    border-radius: 12px;
    padding: 4px;
    flex-shrink: 0;
    visibility: visible;
}

.theme-mode-btn {
    flex: 1;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Added border for visibility */
    color: rgba(255, 255, 255, 0.9); /* Made more visible */
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    touch-action: manipulation;
}

.theme-mode-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 12px var(--primary-color);
}

.theme-mode-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    flex-shrink: 0;
    visibility: visible;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.theme-preview {
    aspect-ratio: 1;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    visibility: visible;
    min-height: 80px;
    /* Allow scroll gestures to work */
    touch-action: manipulation;
}

.theme-preview:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.theme-preview.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color),
    0 8px 24px var(--primary-color);
}

.theme-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
    var(--preview-primary) 0%,
    var(--preview-secondary) 100%);
}

.theme-preview::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.theme-preview.active::after {
    opacity: 1;
}

.theme-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.theme-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 12px;
    line-height: 1.5;
    flex-shrink: 0;
    display: block;
    visibility: visible;
}

.theme-info-icon {
    display: inline-block;
    margin-right: 6px;
    font-size: 14px;
}

/* Theme Preview Color Variables */
[data-preview="default"] {
    --preview-primary: #ec4899;
    --preview-secondary: #a855f7;
}

[data-preview="ocean"] {
    --preview-primary: #0ea5e9;
    --preview-secondary: #06b6d4;
}

[data-preview="sunset"] {
    --preview-primary: #f97316;
    --preview-secondary: #ef4444;
}

[data-preview="emerald"] {
    --preview-primary: #10b981;
    --preview-secondary: #14b8a6;
}

[data-preview="royal"] {
    --preview-primary: #7c3aed;
    --preview-secondary: #8b5cf6;
}

[data-preview="rose"] {
    --preview-primary: #f43f5e;
    --preview-secondary: #ec4899;
}

[data-preview="cyberpunk"] {
    --preview-primary: #00ffff;
    --preview-secondary: #ff00ff;
}

[data-preview="lavender"] {
    --preview-primary: #c084fc;
    --preview-secondary: #e879f9;
}

[data-preview="mint"] {
    --preview-primary: #2dd4bf;
    --preview-secondary: #34d399;
}

[data-preview="midnight"] {
    --preview-primary: #1e40af;
    --preview-secondary: #6366f1;
}

[data-preview="coral"] {
    --preview-primary: #fb7185;
    --preview-secondary: #fbbf24;
}

[data-preview="amber"] {
    --preview-primary: #fbbf24;
    --preview-secondary: #fb923c;
}

[data-preview="sapphire"] {
    --preview-primary: #3b82f6;
    --preview-secondary: #8b5cf6;
}

[data-preview="cherry"] {
    --preview-primary: #f0abfc;
    --preview-secondary: #fda4af;
}

[data-preview="forest"] {
    --preview-primary: #059669;
    --preview-secondary: #0d9488;
}

/* NEW THEME PREVIEWS */

[data-preview="crimson"] {
    --preview-primary: #dc2626;
    --preview-secondary: #f43f5e;
}

[data-preview="aqua"] {
    --preview-primary: #06b6d4;
    --preview-secondary: #14b8a6;
}

[data-preview="gold"] {
    --preview-primary: #eab308;
    --preview-secondary: #f59e0b;
}

[data-preview="violet"] {
    --preview-primary: #7c3aed;
    --preview-secondary: #a855f7;
}

[data-preview="turquoise"] {
    --preview-primary: #14b8a6;
    --preview-secondary: #06b6d4;
}

[data-preview="magenta"] {
    --preview-primary: #ec4899;
    --preview-secondary: #d946ef;
}

[data-preview="teal"] {
    --preview-primary: #0d9488;
    --preview-secondary: #059669;
}

[data-preview="peach"] {
    --preview-primary: #fb923c;
    --preview-secondary: #fbbf24;
}

[data-preview="indigo"] {
    --preview-primary: #4f46e5;
    --preview-secondary: #3b82f6;
}

[data-preview="lime"] {
    --preview-primary: #84cc16;
    --preview-secondary: #22c55e;
}

[data-preview="ruby"] {
    --preview-primary: #be123c;
    --preview-secondary: #dc2626;
}

[data-preview="navy"] {
    --preview-primary: #1e3a8a;
    --preview-secondary: #0ea5e9;
}

[data-preview="bronze"] {
    --preview-primary: #d97706;
    --preview-secondary: #ea580c;
}

[data-preview="jade"] {
    --preview-primary: #10b981;
    --preview-secondary: #14b8a6;
}

[data-preview="scarlet"] {
    --preview-primary: #ef4444;
    --preview-secondary: #f97316;
}

[data-preview="slate"] {
    --preview-primary: #64748b;
    --preview-secondary: #6b7280;
}

[data-preview="plum"] {
    --preview-primary: #9333ea;
    --preview-secondary: #c026d3;
}

[data-preview="arctic"] {
    --preview-primary: #38bdf8;
    --preview-secondary: #22d3ee;
}

[data-preview="honey"] {
    --preview-primary: #f59e0b;
    --preview-secondary: #fbbf24;
}

[data-preview="storm"] {
    --preview-primary: #3b82f6;
    --preview-secondary: #8b5cf6;
}

[data-preview="passion"] {
    --preview-primary: #e11d48;
    --preview-secondary: #db2777;
}

[data-preview="glacier"] {
    --preview-primary: #0ea5e9;
    --preview-secondary: #06b6d4;
}

[data-preview="cosmic"] {
    --preview-primary: #a855f7;
    --preview-secondary: #6366f1;
}

[data-preview="flame"] {
    --preview-primary: #f97316;
    --preview-secondary: #eab308;
}

[data-preview="neon"] {
    --preview-primary: #a855f7;
    --preview-secondary: #06b6d4;
}

[data-preview="obsidian"] {
    --preview-primary: #1f2937;
    --preview-secondary: #8b5cf6;
}

[data-preview="carbon"] {
    --preview-primary: #0f172a;
    --preview-secondary: #14b8a6;
}

/* ==========================================
   SIDE ACTION BUTTONS (LEADERBOARD & SHARE)
   ========================================== */

/* Side buttons container */
.side-buttons {
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 9997;
}

/* Individual side button */
.side-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    box-shadow: 0 8px 32px var(--primary-color),
                inset 0 0 20px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float-selector 3s ease-in-out infinite;
}

.side-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 48px var(--primary-color),
                inset 0 0 30px rgba(255, 255, 255, 0.3);
}

.side-button:active {
    transform: scale(1.05);
}

.side-button svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Leaderboard Modal styles are in: css/leaderboard-modal.css */

/* ==========================================
   PARTICLES & ANIMATIONS
   ========================================== */

/* Confetti Container */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -20px;
    animation: confetti-fall 4s linear forwards;
}

.confetti-circle {
    border-radius: 50%;
}

.confetti-square {
    border-radius: 2px;
}

.confetti-triangle {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Click Particles */
.click-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: particle-burst 1s ease-out forwards;
    --tx: 0;
    --ty: 0;
}

@keyframes particle-burst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Firework Particles */
.firework-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: firework-burst 1.2s ease-out forwards;
    box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
}

@keyframes firework-burst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Firework center flash */
.firework-flash {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: flash-expand 0.6s ease-out forwards;
}

@keyframes flash-expand {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* ==========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ========================================== */

/* Large Desktop (1920px and above) */
@media (min-width: 1920px) {
    .heart-container {
        width: 400px;
        height: 400px;
    }

    .heart-3d {
        width: 250px;
        height: 250px;
    }

    .heart-layer {
        width: 250px;
        height: 225px;
        margin-left: -125px;
        margin-top: -112.5px;
    }

    .stupid-button {
        font-size: 20px;
        padding: 14px 32px;
    }

    .message {
        font-size: 28px;
    }
}

/* Tablet Landscape (768px - 1024px) */
@media (max-width: 1024px) {
    .heart-container {
        width: 250px;
        height: 250px;
    }

    .heart-3d {
        width: 180px;
        height: 180px;
    }

    .heart-layer {
        width: 180px;
        height: 162px;
        margin-left: -90px;
        margin-top: -81px;
    }

    .heart-layer::before,
    .heart-layer::after {
        width: 90px;
        height: 144px;
    }

    .heart-layer::before {
        left: 45px;
    }

    .energy-ring:nth-child(1) {
        width: 200px;
        height: 200px;
        margin-left: -100px;
        margin-top: -100px;
    }

    .energy-ring:nth-child(2) {
        width: 240px;
        height: 240px;
        margin-left: -120px;
        margin-top: -120px;
    }

    .energy-ring:nth-child(3) {
        width: 280px;
        height: 280px;
        margin-left: -140px;
        margin-top: -140px;
    }

    .stupid-button {
        font-size: 18px;
        padding: 13px 30px;
    }

    .message {
        font-size: 20px;
    }
}

/* Tablet Portrait (481px - 768px) */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .heart-container {
        width: 220px;
        height: 220px;
        margin-bottom: 40px;
    }

    .heart-3d {
        width: 150px;
        height: 150px;
    }

    .heart-layer {
        width: 150px;
        height: 135px;
        margin-left: -75px;
        margin-top: -67.5px;
    }

    .heart-layer::before,
    .heart-layer::after {
        width: 75px;
        height: 120px;
    }

    .heart-layer::before {
        left: 37.5px;
    }

    .energy-ring:nth-child(1) {
        width: 170px;
        height: 170px;
    }

    /* Theme Selector Mobile Styles */
    .theme-selector-toggle {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }

    .theme-selector-toggle svg {
        width: 24px;
        height: 24px;
    }

    .theme-selector-panel {
        width: calc(100% - 16px);
        max-height: calc(100dvh - 16px);
    }

    .theme-selector-title {
        font-size: 18px;
    }

    .theme-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .theme-mode-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .theme-info {
        font-size: 11px;
        padding: 10px;
    }


    .energy-ring:nth-child(2) {
        width: 210px;
        height: 210px;
        margin-left: -105px;
        margin-top: -105px;
    }

    .energy-ring:nth-child(3) {
        width: 250px;
        height: 250px;
        margin-left: -125px;
        margin-top: -125px;
    }

    .sparkle:nth-child(4) {
        width: 10px;
        height: 10px;
    }

    .sparkle:nth-child(5) {
        width: 6px;
        height: 6px;
    }

    .sparkle:nth-child(6) {
        width: 8px;
        height: 8px;
    }

    .sparkle:nth-child(7) {
        width: 12px;
        height: 12px;
    }

    .sparkle:nth-child(8),
    .sparkle:nth-child(9) {
        width: 5px;
        height: 5px;
    }

    .stupid-button {
        font-size: 16px;
        padding: 12px 28px;
        letter-spacing: 0.5px;
    }

    .message {
        font-size: 18px;
        margin-top: 25px;
    }

    .particle:nth-child(n+6) {
        display: none;
    }

    /* Mobile Landscape (481px - 600px) */
    @media (max-width: 600px) and (orientation: landscape) {
        body {
            padding: 5px 0;
            max-height: 100vh;
            overflow: hidden;
        }

        .container {
            max-height: 100vh;
            overflow: visible;
            padding: 5px;
        }

        .heart-container {
            width: min(120px, 20vh);
            height: min(120px, 20vh);
            margin-bottom: 10px;
        }

        .heart-3d {
            width: min(90px, 15vh);
            height: min(90px, 15vh);
        }

        .heart-layer {
            width: min(90px, 15vh);
            height: min(81px, 13.5vh);
            margin-left: min(-45px, -7.5vh);
            margin-top: min(-40.5px, -6.75vh);
        }

        .heart-layer::before,
        .heart-layer::after {
            width: min(45px, 7.5vh);
            height: min(72px, 12vh);
        }

        .heart-layer::before {
            left: min(22.5px, 3.75vh);
        }

        .stupid-button {
            font-size: clamp(12px, 2.2vh, 15px);
            padding: 8px 20px;
        }

        .message {
            font-size: clamp(12px, 2vh, 16px);
            margin-top: 10px;
            padding: 8px 15px;
        }

        .last-update {
            font-size: clamp(10px, 1.5vh, 12px);
            margin-top: 8px;
        }
    }

    /* Mobile Portrait (up to 480px) */
    @media (max-width: 480px) {
        .container {
            padding: 10px;
            width: 100%;
            max-height: 100vh;
            overflow: visible;
        }

        .heart-container {
            width: min(180px, 35vw);
            height: min(180px, 35vw);
            margin-bottom: 20px;
            perspective: 800px;
        }

        .heart-3d {
            width: min(120px, 25vw);
            height: min(120px, 25vw);
        }

        .heart-layer {
            width: min(120px, 25vw);
            height: min(108px, 22.5vw);
            margin-left: min(-60px, -12.5vw);
            margin-top: min(-54px, -11.25vw);
        }

        .heart-layer::before,
        .heart-layer::after {
            width: min(60px, 12.5vw);
            height: min(96px, 20vw);
        }

        .heart-layer::before {
            left: min(30px, 6.25vw);
        }

        .energy-ring:nth-child(1) {
            width: min(140px, 28vw);
            height: min(140px, 28vw);
            margin-left: min(-70px, -14vw);
            margin-top: min(-70px, -14vw);
        }

        .energy-ring:nth-child(2) {
            width: min(170px, 34vw);
            height: min(170px, 34vw);
            margin-left: min(-85px, -17vw);
            margin-top: min(-85px, -17vw);
        }

        .energy-ring:nth-child(3) {
            width: 210px;
            height: 210px;
            margin-left: -105px;
            margin-top: -105px;
        }

        .sparkle:nth-child(4) {
            width: 8px;
            height: 8px;
        }

        .sparkle:nth-child(5) {
            width: 5px;
            height: 5px;
        }

        .sparkle:nth-child(6) {
            width: 6px;
            height: 6px;
        }

        .sparkle:nth-child(7) {
            width: 10px;
            height: 10px;
        }

        .sparkle:nth-child(8),
        .sparkle:nth-child(9) {
            width: 4px;
            height: 4px;
        }

        .stupid-button {
            font-size: 15px;
            padding: 11px 26px;
            letter-spacing: 0.5px;
        }

        .message {
            font-size: 16px;
            margin-top: 20px;
            padding: 0 10px;
        }

        .particle:nth-child(n+5) {
            display: none;
        }

        /* Modal Improvements for Mobile */
        .modal-container {
            width: calc(100% - 16px);
            max-height: calc(100dvh - 16px); /* Dynamic viewport height for mobile */
            border-radius: 12px;
            min-height: 0;
        }

        .modal-header {
            padding: 20px 16px 16px;
        }

        .modal-title {
            font-size: 18px;
        }

        .modal-subtitle {
            font-size: 12px;
        }

        .modal-close {
            width: 28px;
            height: 28px;
            margin-left: 12px;
        }

        .modal-close svg {
            width: 16px;
            height: 16px;
        }

        .modal-body {
            padding: 16px;
            -webkit-overflow-scrolling: touch;
        }

        .order-summary {
            padding: 12px;
            margin-bottom: 20px;
        }

        .summary-row {
            padding: 6px 0;
        }

        .summary-label {
            font-size: 13px;
        }

        .summary-value {
            font-size: 13px;
        }

        .summary-amount {
            font-size: 20px;
        }

        .payment-form {
            gap: 16px;
        }

        .form-section {
            gap: 6px;
        }

        .form-label {
            font-size: 13px;
        }

        .form-select {
            height: 40px;
            font-size: 14px;
            padding: 0 36px 0 14px;
            background-position: right 10px center;
        }

        .payment-errors {
            font-size: 13px;
            padding: 10px 12px;
        }

        .security-badge {
            padding: 10px 12px;
            font-size: 12px;
        }

        .modal-footer {
            padding: 16px;
            gap: 12px;
            flex-direction: column;
        }

        .btn {
            height: 48px;
            min-height: 48px;
            font-size: 15px;
        }

        .btn-secondary,
        .btn-primary {
            flex: none;
            width: 100%;
        }

        .modal-close {
            width: 36px;
            height: 36px;
            min-width: 36px;
            min-height: 36px;
        }

        .modal-close svg {
            width: 20px;
            height: 20px;
        }

        /* Theme Selector Modal - Mobile */
        .theme-selector-panel {
            width: calc(100% - 16px);
            max-width: none;
            max-height: calc(100dvh - 16px);
            border-radius: 16px;
        }

        .theme-selector-header {
            padding: 20px 16px 16px;
        }

        .theme-selector-title {
            font-size: 18px;
        }

        .theme-selector-body {
            padding: 16px;
        }

        .theme-mode-selector {
            margin-bottom: 16px;
        }

        .theme-mode-btn {
            padding: 8px 12px;
            font-size: 13px;
        }

        .theme-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-bottom: 16px;
        }

        .theme-preview {
            border-radius: 10px;
        }

        .theme-name {
            font-size: 10px;
            padding: 4px 6px;
        }

        .theme-info {
            font-size: 11px;
            padding: 10px;
            line-height: 1.4;
        }

        .theme-close-btn {
            width: 28px;
            height: 28px;
            font-size: 20px;
        }

    }

    /* Mobile Responsive for New Features */
    @media (max-width: 768px) {
        .side-buttons {
            bottom: 100px;
            right: 16px;
            gap: 12px;
        }

        .side-button {
            width: 48px;
            height: 48px;
        }

        .side-button svg {
            width: 24px;
            height: 24px;
        }

        .leaderboard-stats {
            padding: 12px;
            gap: 10px;
        }

        .lb-stat-card {
            padding: 10px;
        }

        .lb-stat-icon {
            font-size: 24px;
        }

        .lb-stat-value {
            font-size: 20px;
        }

        .lb-stat-label {
            font-size: 10px;
        }

        .toast-container {
            top: 16px;
            right: 16px;
            left: 16px;
        }

        .toast {
            padding: 12px 16px;
            font-size: 13px;
        }

        .leaderboard-item {
            padding: 12px;
        }

        .leaderboard-rank {
            font-size: 20px;
            min-width: 32px;
        }

        .leaderboard-amount {
            font-size: 16px;
        }
    }

    @media (max-width: 480px) {
        .side-buttons {
            bottom: 90px;
            right: 12px;
        }

        .side-button {
            width: 42px;
            height: 42px;
        }

        .side-button svg {
            width: 20px;
            height: 20px;
        }
    }

    /* Touch device optimizations */
    @media (hover: none) and (pointer: coarse) {
        .stupid-button:hover {
            transform: none;
            box-shadow: 0 10px 40px rgba(245, 87, 108, 0.4),
            0 0 20px rgba(255, 255, 255, 0.2) inset,
            0 5px 15px rgba(0, 0, 0, 0.3);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .stupid-button:hover::before {
            width: 0;
            height: 0;
        }

        .stupid-button:active {
            transform: scale(0.98);
            box-shadow: 0 5px 20px rgba(245, 87, 108, 0.6);
        }
    }

    /* High DPI / Retina Displays */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        .heart-layer::before,
        .heart-layer::after {
            will-change: transform;
        }

        .heart-3d {
            will-change: transform;
        }
    }

    /* Reduce motion for accessibility */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }

        .heart-3d {
            animation: pulse3d 2s ease-in-out infinite;
        }

        @keyframes rotate3d {
            0%, 100% {
                transform: rotateY(0deg) rotateX(0deg) translateZ(0);
            }
        }

        /* Theme Selector Small Mobile */
        .theme-selector-panel {
            width: calc(100% - 20px) !important;
            max-height: calc(100vh - 40px) !important;
        }

        .theme-selector-body {
            padding: 16px !important;
        }

        .theme-grid {
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 6px !important;
        }

        .theme-selector-title {
            font-size: 15px !important;
        }

        .theme-mode-btn {
            padding: 7px 8px !important;
            font-size: 11px !important;
        }

        .theme-name {
            font-size: 9px !important;
            padding: 3px 4px !important;
        }

        .theme-info {
            font-size: 9px !important;
            padding: 6px !important;
            line-height: 1.3 !important;
        }

        .theme-selector-toggle {
            width: 42px !important;
            height: 42px !important;
            bottom: 10px !important;
            right: 10px !important;
        }

        .theme-selector-toggle svg {
            width: 20px !important;
            height: 20px !important;
        }
    }
}

/* ==========================================
   SOCIAL PROOF & ENGAGEMENT FEATURES
   ========================================== */

/* Activity Ticker */
.activity-ticker {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    animation: slide-fade-in 0.5s ease-out;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@keyframes slide-fade-in {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Button Subtitle */
.button-subtitle {
    display: block;
    font-size: 11px;
    font-weight: 500;
    margin-top: 4px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Recent Activity Badge */
.recent-activity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    margin-bottom: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px #22c55e;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Social Proof Section */
.social-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 16px;
    width: 100%;
    max-width: 600px;
}

.proof-item {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(167, 139, 250, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.proof-item:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.proof-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.proof-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.proof-number {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.proof-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Toast Notification Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: auto;
    min-width: 250px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-message {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.toast-success {
    border-left: 4px solid #22c55e;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-info {
    border-left: 4px solid #3b82f6;
}

.toast-warning {
    border-left: 4px solid #f59e0b;
}

/* Responsive - Social Proof */
@media (max-width: 768px) {
    .social-proof {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 20px;
        margin-bottom: 12px;
    }

    .proof-item {
        padding: 12px 8px;
    }

    .proof-icon {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .proof-number {
        font-size: 18px;
    }

    .proof-label {
        font-size: 9px;
    }

    .toast-container {
        top: 16px;
        right: 16px;
        left: 16px;
    }

    .toast {
        padding: 12px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .social-proof {
        gap: 6px;
    }

    .proof-item {
        padding: 10px 6px;
        border-radius: 10px;
    }

    .proof-icon {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .proof-number {
        font-size: 16px;
    }

    .proof-label {
        font-size: 8px;
    }

    .activity-ticker {
        font-size: 11px;
        padding: 6px 10px;
    }

    .recent-activity {
        font-size: 10px;
        padding: 5px 10px;
    }


    .toast-container {
        right: 12px;
        left: 12px;
        top: 12px;
    }

    .toast {
        min-width: auto;
        padding: 12px 14px;
    }

    .toast-message {
        font-size: 12px;
    }
}

/* ==========================================
   MILESTONE PROGRESS BAR SYSTEM
   ========================================== */

.milestone-bar-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
    z-index: 9996;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 80px;
    overflow: hidden;
}

.milestone-bar-container.expanded {
    max-height: 500px;
}

.milestone-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 12px;
}

.milestone-bar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
}

.milestone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    animation: float-icon 2s ease-in-out infinite;
}

.milestone-icon svg {
    width: 18px;
    height: 18px;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.milestone-bar-info {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-weight: 600;
}

.milestone-current {
    font-size: 18px;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.milestone-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.milestone-target {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.milestone-progress-track {
    position: relative;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 20px 16px;
    overflow: visible;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.milestone-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    position: relative;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px var(--primary-color);
}

.milestone-progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    border-radius: 10px;
    animation: progress-shine 2s ease-in-out infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.achievement-markers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.achievement-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    z-index: 10;
}

.marker-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.5;
}

.achievement-marker.unlocked .marker-icon {
    filter: grayscale(0%);
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.4);
    animation: marker-pulse 2s ease-in-out infinite;
}

@keyframes marker-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.marker-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 120px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}


.marker-tooltip strong {
    display: block;
    color: white;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.marker-tooltip span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

.marker-reward {
    color: var(--primary-color) !important;
    font-weight: 600;
    margin-top: 4px;
}

.milestone-achievements {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.milestone-bar-container.expanded .milestone-achievements {
    max-height: 400px;
    overflow-y: auto;
}

/* Milestone Quick Actions - View All Achievements Button */
.milestone-quick-actions {
    padding: 0 20px 16px;
    display: flex;
    justify-content: stretch;
}

.achievement-quick-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px var(--primary-color),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.achievement-quick-view-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.achievement-quick-view-btn:hover::before {
    left: 100%;
}

.achievement-quick-view-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px var(--primary-color),
                0 0 40px rgba(139, 92, 246, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border-color: rgba(255, 255, 255, 0.4);
}

.achievement-quick-view-btn:active {
    transform: translateY(-1px) scale(1);
}

.achievement-quick-view-btn svg {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.achievement-quick-view-btn:hover svg {
    transform: translateX(4px);
}

.achievement-count-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Milestone Toggle Button */
.milestone-toggle {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 -4px 12px rgba(139, 92, 246, 0.3);
}

.milestone-toggle:hover {
    height: 28px;
    top: -24px;
}

.milestone-toggle svg {
    transition: transform 0.3s ease;
}

.milestone-bar-container.expanded .milestone-toggle svg {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .milestone-quick-actions {
        padding: 0 16px 12px;
    }

    .achievement-quick-view-btn {
        padding: 14px 20px;
        font-size: 14px;
        gap: 10px;
        border-radius: 10px;
    }

    .achievement-count-badge {
        padding: 4px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .milestone-quick-actions {
        padding: 0 12px 10px;
    }

    .achievement-quick-view-btn {
        padding: 12px 16px;
        font-size: 13px;
        gap: 8px;
        border-radius: 10px;
    }

    .achievement-count-badge {
        padding: 3px 8px;
        font-size: 11px;
    }

    .achievement-quick-view-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* ==========================================
   ACHIEVEMENT MODAL STYLES
   ========================================== */

.achievement-modal-container {
    max-width: 900px !important;
    max-height: 90vh;
    background: linear-gradient(145deg,
        rgba(15, 23, 42, 0.98) 0%,
        rgba(30, 27, 75, 0.98) 50%,
        rgba(49, 46, 129, 0.95) 100%) !important;
    border: 1px solid var(--primary-color) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 60px var(--primary-color),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.achievement-modal-container .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent;
}

.achievement-modal-container .modal-title {
    color: #f8fafc !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-modal-container .modal-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

.achievement-modal-container .modal-close {
    color: rgba(255, 255, 255, 0.6) !important;
}

.achievement-modal-container .modal-close:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--primary-color) !important;
}

.achievement-modal-container .modal-body {
    padding: 24px 20px !important;
}

/* Achievement Stats Summary */
.achievement-stats-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding: 0 4px;
}

.achievement-stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 20px var(--primary-color);
}

.achievement-stat-card .stat-icon {
    margin-bottom: 12px;
    color: var(--primary-color);
}

.achievement-stat-card .stat-icon svg {
    width: 32px;
    height: 32px;
}

.achievement-stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-stat-card .stat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Achievement Tabs */
.achievement-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.achievement-tabs::-webkit-scrollbar {
    display: none;
}

.achievement-tab {
    flex-shrink: 0;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.achievement-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.achievement-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 12px var(--primary-color);
}

.achievement-tab .tab-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.achievement-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Achievement Grid */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    padding: 4px;
}

.achievement-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.achievement-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.achievement-card.unlocked {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
    border-color: rgba(139, 92, 246, 0.3);
}

.achievement-card.unlocked:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px var(--primary-color);
}

.achievement-card-icon {
    font-size: 40px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    flex-shrink: 0;
}

.achievement-card.unlocked .achievement-card-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 20px var(--primary-color);
}

.achievement-list {
    padding: 0 20px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.achievement-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.achievement-item.unlocked {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
    border-color: rgba(139, 92, 246, 0.3);
}

.achievement-item.locked {
    opacity: 0.5;
}

.achievement-item:hover {
    transform: translateX(4px);
    border-color: rgba(139, 92, 246, 0.5);
}

.achievement-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.achievement-item.unlocked .achievement-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 16px var(--primary-color);
}

.achievement-card-icon.grayscale { filter: grayscale(100%); }
.achievement-card-icon.mystery { background: linear-gradient(135deg, #6b7280, #4b5563); font-size: 32px; animation: mystery-rotate 3s linear infinite; }
@keyframes mystery-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.achievement-card-content { flex: 1; }
.achievement-card-name { font-size: 15px; font-weight: 700; color: white; margin-bottom: 6px; }
.achievement-card-description { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-bottom: 10px; }
.achievement-card-footer { display: flex; justify-content: space-between; }
.achievement-rarity { padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; background: var(--rarity-color, var(--primary-color)); color: white; }
.achievement-points { font-size: 12px; font-weight: 600; color: var(--primary-color); }
.achievement-checkmark { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; background: #22c55e; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 16px; }
.achievement-lock { position: absolute; top: 12px; right: 12px; font-size: 16px; opacity: 0.5; }
@media (max-width: 768px) { .achievement-grid { grid-template-columns: 1fr; gap: 12px; padding: 16px; } .achievement-card-icon { font-size: 32px; width: 48px; height: 48px; } }
@media (max-width: 480px) { .achievement-card-icon { font-size: 28px; width: 44px; height: 44px; } }
/* Fix achievement modal text readability */
.achievement-modal-body {
    background: rgba(15, 23, 42, 0.98);
}
.achievement-card-name {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.achievement-card-description {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.achievement-stat-card .stat-label {
    color: rgba(255, 255, 255, 0.85) !important;
}
.achievement-tab {
    color: rgba(255, 255, 255, 0.85) !important;
}
/* Fix side buttons positioning and z-index */
.theme-selector-toggle {
    display: none !important;
}
/* Ensure side buttons are always visible */
.side-button {
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .side-buttons {
        bottom: 100px !important;
    }
}
@media (max-width: 480px) {
    .side-buttons {
        bottom: 90px !important;
        right: 12px;
    }
}
/* Theme Pagination Styles */
.theme-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 20px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.theme-page-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.theme-page-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
.theme-page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.theme-page-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    min-width: 100px;
    text-align: center;
}
@media (max-width: 480px) {
    .theme-pagination {
        padding: 12px 16px;
        gap: 12px;
    }
    .theme-page-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    .theme-page-info {
        font-size: 11px;
        min-width: 80px;
    }
}
/* iOS Achievement Modal Scrolling Fix */
.achievement-modal-body {
    -webkit-overflow-scrolling: touch !important;
    overflow-y: scroll !important;
    touch-action: pan-y !important;
}
/* Ensure grid doesn't interfere with scrolling on iOS */
.achievement-grid {
    touch-action: auto;
}
/* Move side buttons higher - above achievement bar start */
.side-buttons {
    position: fixed;
    bottom: 130px !important;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 9998 !important;
}
@media (max-width: 768px) {
    .side-buttons {
        bottom: 120px !important;
    }
}
@media (max-width: 480px) {
    .side-buttons {
        bottom: 110px !important;
        right: 12px;
    }
}
/* iOS Horizontal Scrolling Fix for Achievement Tabs */
.achievement-tabs {
    -webkit-overflow-scrolling: touch !important;
    overflow-x: scroll !important;
    touch-action: pan-x !important;
    scroll-behavior: smooth;
}
/* Ensure tab buttons don't interfere with horizontal scrolling */
.achievement-tab {
    touch-action: none;
}
/* Mobile optimization for holiday banner - more horizontal, less vertical */
@media (max-width: 768px) {
    .holiday-banner {
        padding: 8px 20px;
        border-radius: 16px;
        top: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        max-width: calc(100% - 20px);
    }
    .holiday-banner-content {
        gap: 10px;
    }
    .holiday-emoji {
        font-size: 24px;
    }
    .holiday-text {
        font-size: 14px;
    }
    .holiday-country {
        font-size: 12px;
        margin-top: 0;
    }
}
@media (max-width: 480px) {
    .holiday-banner {
        padding: 6px 15px;
        border-radius: 12px;
        top: 8px;
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    .holiday-banner-content {
        gap: 8px;
    }
    .holiday-emoji {
        font-size: 20px;
    }
    .holiday-text {
        font-size: 13px;
    }
    .holiday-country {
        font-size: 11px;
    }
}
/* Fix mobile holiday banner centering while maintaining optimized layout */
@media (max-width: 768px) {
    .holiday-banner {
        padding: 8px 20px !important;
        border-radius: 16px !important;
        top: 10px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        max-width: calc(100% - 20px) !important;
    }
}
@media (max-width: 480px) {
    .holiday-banner {
        padding: 6px 15px !important;
        border-radius: 12px !important;
        top: 8px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        max-width: calc(100% - 16px) !important;
    }
}
/* Make holiday banner more horizontal - ultra-compact mobile version */
@media (max-width: 768px) {
    .holiday-banner {
        padding: 4px 16px !important;
        border-radius: 12px !important;
        top: 8px !important;
    }
    .holiday-banner-content {
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }
    .holiday-emoji {
        font-size: 20px !important;
    }
    .holiday-text {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }
    .holiday-country {
        font-size: 11px !important;
        display: inline !important;
        margin-top: 0 !important;
        margin-left: 6px !important;
    }
    /* Make country text inline with main text */
    .holiday-banner-content > div {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
}
@media (max-width: 480px) {
    .holiday-banner {
        padding: 3px 12px !important;
        border-radius: 10px !important;
        top: 6px !important;
    }
    .holiday-banner-content {
        gap: 6px !important;
    }
    .holiday-emoji {
        font-size: 18px !important;
    }
    .holiday-text {
        font-size: 12px !important;
        line-height: 1.1 !important;
    }
    .holiday-country {
        font-size: 10px !important;
        margin-left: 4px !important;
    }
}

