@font-face {
    font-family: 'TheBoldFont';
    src: url('../font/THEBOLDFONT-FREEVERSION.otf') format('opentype'),
        url('../font/THEBOLDFONT-FREEVERSION.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quadrillion';
    src: url('../font/quadrillion.semi-bold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-50: #eef5ff;
    --primary-100: #d9e8ff;
    --primary-200: #bcd6ff;
    --primary-300: #8ebdff;
    --primary-400: #5999ff;
    --primary-500: #3371ff;
    --primary-600: #1d4ed8;
    --primary-700: #1e3a8a;
    --primary-800: #1e2d5f;
    --primary-900: #0f172a;

    --secondary-50: #ecfeff;
    --secondary-100: #cffafe;
    --secondary-200: #a5f3fc;
    --secondary-300: #67e8f9;
    --secondary-400: #22d3ee;
    --secondary-500: #06b6d4;
    --secondary-600: #0891b2;
    --secondary-700: #0e7490;
    --secondary-800: #155e75;
    --secondary-900: #164e63;

    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    --success-50: #ecfdf5;
    --success-100: #d1fae5;
    --success-200: #a7f3d0;
    --success-300: #6ee7b7;
    --success-400: #34d399;
    --success-500: #10b981;
    --success-600: #059669;
    --success-700: #047857;
    --success-800: #065f46;
    --success-900: #064e3b;

    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-200: #fde68a;
    --warning-300: #fcd34d;
    --warning-400: #fbbf24;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    --warning-700: #b45309;
    --warning-800: #92400e;
    --warning-900: #78350f;

    --error-50: #fef2f2;
    --error-100: #fee2e2;
    --error-200: #fecaca;
    --error-300: #fca5a5;
    --error-400: #f87171;
    --error-500: #ef4444;
    --error-600: #dc2626;
    --error-700: #b91c1c;
    --error-800: #991b1b;
    --error-900: #7f1d1d;

    --info-50: #f0f9ff;
    --info-100: #e0f2fe;
    --info-200: #bae6fd;
    --info-300: #7dd3fc;
    --info-400: #38bdf8;
    --info-500: #0ea5e9;
    --info-600: #0284c7;
    --info-700: #0369a1;
    --info-800: #075985;
    --info-900: #0c4a6e;

    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3371ff 50%, #5999ff 100%);
    --gradient-secondary: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #22d3ee 100%);
    --gradient-success: linear-gradient(135deg, #047857 0%, #10b981 50%, #34d399 100%);
    --gradient-premium-blue: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    --gradient-premium-purple: linear-gradient(135deg, #5b21b6 0%, #7c3aed 50%, #a78bfa 100%);
    --gradient-ocean-depth: linear-gradient(135deg, #0c4a6e 0%, #0284c7 50%, #38bdf8 100%);
    --gradient-cyber-teal: linear-gradient(135deg, #134e4a 0%, #14b8a6 50%, #2dd4bf 100%);
    --gradient-premium-gold: linear-gradient(135deg, #92400e 0%, #f59e0b 50%, #fbbf24 100%);
    --gradient-sunset-glow: linear-gradient(135deg, #dc2626 0%, #f97316 50%, #fbbf24 100%);
    --gradient-dark-premium: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-holographic: linear-gradient(135deg,
            #3b82f6 0%,
            #8b5cf6 25%,
            #ec4899 50%,
            #f43f5e 75%,
            #f97316 100%);

    --header-bg: rgb(255, 255, 255, 0.4);
    --message-bg: rgb(255, 255, 255, 0.5);
    --bg-primary: #f3f6fb;
    --bg-secondary: #e8eef7;
    --bg-tertiary: #d8e3f0;
    --bg-elevated: #ffffff;
    --bg-glass: rgba(207, 225, 250, 0.72);
    --bg-overlay: rgba(15, 23, 42, 0.58);
    --bg-accent: linear-gradient(135deg, #dbeafe 0%, #cffafe 100%);

    --text-primary: var(--neutral-900);
    --text-secondary: var(--neutral-700);
    --text-tertiary: var(--neutral-600);
    --text-disabled: var(--neutral-400);
    --text-inverse: #ffffff;
    --text-link: var(--primary-600);
    --text-link-hover: var(--primary-700);

    --border-primary: var(--neutral-300);
    --border-secondary: var(--neutral-200);
    --border-focus: var(--primary-500);
    --border-error: var(--error-500);

    --shadow-xs: 0 2px 4px rgba(15, 23, 42, 0.18), 0 1px 2px rgba(15, 23, 42, 0.12);
    --shadow-sm: 0 3px 8px rgba(15, 23, 42, 0.2), 0 2px 3px rgba(15, 23, 42, 0.14);
    --shadow-md: 0 6px 14px -1px rgba(15, 23, 42, 0.24), 0 3px 6px rgba(15, 23, 42, 0.16);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.12), 0 4px 6px -2px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.14), 0 10px 10px -5px rgba(15, 23, 42, 0.06);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.3);
    --shadow-premium: 0 20px 60px rgba(29, 78, 216, 0.15), 0 8px 24px rgba(29, 78, 216, 0.12);
    --shadow-glow: 0 0 20px rgba(51, 113, 255, 0.3), 0 0 40px rgba(51, 113, 255, 0.15);
    --shadow-inner: inset 0 2px 4px 0 rgba(15, 23, 42, 0.06);

    --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --pop: 'Poppins', sans-serif;
    --unb: 'Unbounded', sans-serif;
    --bold: 'TheBoldFont', sans-serif;
    --fredoka: 'Fredoka', var(--bold);
    --cod: 'Quadrillion', sans-serif;

    --z-base: 0;
    --z-dropdown: 1000;
    --z-sticky: 1100;
    --z-fixed: 1200;
    --z-modal-backdrop: 1300;
    --z-modal: 1400;
    --z-popover: 1500;
    --z-tooltip: 1600;
    --z-notification: 1700;
    --z-onload: 99999;

    --transition-fast: 150ms ease-in-out;
    --transition-base: 200ms ease-in-out;
    --transition-slow: 300ms ease-in-out;
    --transition-slower: 500ms ease-in-out;
    --transition-premium: 1s cubic-bezier(0.87, 0, 0.3, 1);

    --ease: 0.4s cubic-bezier(.34, 1.56, .64, 1);
    --spring: 0.8s cubic-bezier(.19, 1, .22, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    --breakpoint-xs: 0;
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
}

html[data-theme='dark'] {
    --header-bg: rgb(10, 10, 10, 0.4);
    --message-bg: rgb(10, 10, 10, 0.5);
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f172a;
    --bg-tertiary: #242c3a;
    --bg-elevated: #1e293b;
    --bg-glass: rgba(30, 41, 59, 0.7);
    --bg-overlay: rgba(0, 0, 0, 0.8);
    --bg-accent: linear-gradient(135deg, #1e293b 0%, #334155 100%);

    --text-primary: #f9fafb;
    --text-secondary: #e5e7eb;
    --text-tertiary: #d1d5db;
    --text-disabled: #6b7280;
    --text-inverse: var(--neutral-900);
    --text-link: var(--primary-400);
    --text-link-hover: var(--primary-300);

    --border-primary: #374151;
    --border-secondary: #2d3748;
    --border-focus: var(--primary-500);
    --border-error: var(--error-400);

    --shadow-xs: 0 2px 5px rgba(166, 190, 222, 0.42), 0 1px 2px rgba(0, 0, 0, 0.65);
    --shadow-sm: 0 3px 9px rgba(155, 183, 222, 0.46), 0 2px 4px rgba(0, 0, 0, 0.65);
    --shadow-md: 0 6px 16px -1px rgba(145, 178, 222, 0.5), 0 3px 6px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 10px 22px -3px rgba(130, 157, 195, 0.3), 0 5px 10px -2px rgba(0, 0, 0, 0.65);
    --shadow-xl: 0 20px 34px -5px rgba(130, 157, 195, 0.32), 0 8px 16px -4px rgba(0, 0, 0, 0.7);
    --shadow-2xl: 0 28px 52px -10px rgba(130, 157, 195, 0.38), 0 12px 24px -6px rgba(0, 0, 0, 0.75);
    --shadow-premium: 0 20px 60px rgba(51, 113, 255, 0.2), 0 8px 24px rgba(51, 113, 255, 0.15);
    --shadow-glow: 0 0 20px rgba(89, 153, 255, 0.4), 0 0 40px rgba(89, 153, 255, 0.2);
    --shadow-inner: inset 0 2px 6px rgba(0, 0, 0, 0.65), inset 0 -1px 3px rgba(148, 163, 184, 0.24);

    --gradient-primary: linear-gradient(135deg, #3371ff 0%, #5999ff 50%, #8ebdff 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #22d3ee 50%, #67e8f9 100%);
    --gradient-premium-blue: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
    --gradient-dark-premium: linear-gradient(135deg, #000000 0%, #0f172a 50%, #1e293b 100%);
    --gradient-holographic: linear-gradient(135deg,
            #60a5fa 0%,
            #a78bfa 25%,
            #f472b6 50%,
            #fb7185 75%,
            #fb923c 100%);
}

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

body {
    font-family: var(--font-family-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.4;
    transition: background var(--transition-base), color var(--transition-base);
    position: relative;
}



h1,
h2,
h3,
h4,
h5 {
    font-family: var(--unb);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-700);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}

::-webkit-scrollbar-thumb:active {
    background: var(--secondary-600);
}
