/* =============================================
   VARIABLES & RESET
   ============================================= */
/* VARIABLES & RESET */
:root {
    --bg-color: #0A0A0A;
    --bg-light: #1A1A1A;
    --text-color: #F0F0F0;
    --text-muted: #A0A0A0;
    
    --primary: #6B21D6;
    --primary-glow: rgba(107, 33, 214, 0.5);
    
    --secondary: #1A6FE8;
    --secondary-glow: rgba(26, 111, 232, 0.5);
    
    --white: #FFFFFF;
    --black: #000000;
    
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(10, 10, 10, 0.7);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

h1, h2, h3, h4, .logo-text, .badge {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* BACKGROUND GLOWS */
.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.glow-orb-1 {
    top: -10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-orb-2 {
    bottom: 10%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Page Transition Animations */
.transition-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200vmax;
    height: 200vmax;
    background-color: var(--bg-color);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 99999;
    pointer-events: none;
    transition: transform 1.2s cubic-bezier(0.8, 0, 0.2, 1);
}

.transition-overlay.active {
    transform: translate(-50%, -50%) scale(1);
}

html.is-entering body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200vmax;
    height: 200vmax;
    background-color: var(--bg-color);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 99999;
    pointer-events: none;
    animation: shrinkCircle 1.2s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

@keyframes shrinkCircle {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
    }
}

html.is-entering main {
    animation: mainScaleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mainScaleIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
        filter: blur(5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }
}
