/* ============================================
   Base CSS - Design Tokens & Resets
   ============================================
   Extracted from viewer.html, make.html, studio.html
   Common CSS variables and base styles
   ============================================ */


/* Google Fonts Import */

@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:wght@300;400;700&display=swap');

/* Design Tokens */

:root {
    /* Brand Colors */
    --brand-primary: #7C3AED;
    --brand-secondary: #A855F7;
    --gradient-primary: linear-gradient(90deg, #7C3AED 0%, #A855F7 100%);
    /* Background Colors */
    --bg-primary: #1a1a2e;
    --bg-secondary: #2a2525;
    --bg-card: #373b56;
    --bg-card-dark: rgba(42, 45, 66, 0.6);
    --bg-overlay: rgba(49, 49, 53, 0.7);
    --bg-hover: #4a4a6e;
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-tertiary: #a1a1a1;
    --text-muted: #64748b;
    --text-accent: #48bcff;
    --text-tag: #b8bcde;
    /* Accent Colors */
    --accent-orange: #f9c380;
    --accent-red: #d22727;
    --accent-green: #4ade80;
    /* Border Colors */
    --border-default: rgba(255, 255, 255, 0.11);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-tag: rgba(255, 255, 255, 0.2);
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-brand: 'Inria Sans', sans-serif;
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    /* Font Sizes */
    --text-xs: 11px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    /* Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    /* Border Radius */
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 15px;
    --radius-full: 9999px;
    /* Shadows */
    --shadow-sm: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    --shadow-md: 0px 6px 40px 0px rgba(16, 24, 40, 0.12);
    --shadow-lg: 0px 8px 10px -6px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0px 0px 30px 0px rgba(227, 235, 255, 0.22);
    /* Effects & Animations */
    --blur-sm: blur(5px);
    --blur-md: blur(12px);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 350ms;
    --ease-default: ease;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    /* Z-index Layers */
    --z-bg: -1;
    --z-base: 1;
    --z-overlay: 998;
    --z-sidebar: 999;
    --z-top-bar: 1000;
    --z-hamburger: 1001;
    --z-fullscreen: 9999;
    /* Layout Dimensions (CrazyGames Style) */
    --topbar-height: 60px;
    --sidebar-width: 66px;
    --sidebar-width-expanded: 190px;
    --transition: all 0.3s ease;
}


/* Base Resets */

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

html {
    overflow-x: hidden;
}

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