/* css/base.css */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: var(--font-family);
    background: var(--bg-dark);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 99px; }

h1,h2,h3,h4,h5,h6 { 
    font-family: var(--font-heading);
    font-weight: 600; 
    letter-spacing: -0.4px; 
    background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

input, button, select, textarea { font-family: inherit; font-size: inherit; }

.hidden { display: none !important; }

/* Background Blobs - Optimized for Mobile GPUs */
.bg-shape {
    position: fixed;
    filter: blur(60px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: float 25s infinite alternate ease-in-out;
    transform: translate3d(0,0,0); /* Hardware acceleration */
    will-change: transform;
}
@media (max-width: 768px) {
    .bg-shape {
        animation: none; /* Mobile Performance */
        filter: blur(30px); /* Reduced blur for performance */
    }
}

.bg-shape-1 {
    top: -10%; left: -10%; width: 40vw; height: 40vw;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}
.bg-shape-2 {
    bottom: -10%; right: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
    animation-delay: -5s;
}
.bg-shape-3 {
    top: 40%; left: 40%; width: 30vw; height: 30vw;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    opacity: 0.3;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(5vw, 10vh, 0) scale(1.05); }
    100% { transform: translate3d(-5vw, 5vh, 0) scale(0.95); }
}
