:root {
    --gold-primary: #fbbf24;
    --cyan-primary: #00F3FF;
}

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

@media (min-width: 769px) {
    * { cursor: none; }
}

body {
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    html {
        font-size: 90%;
    }
}

.font-bold-wide {
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    transition: letter-spacing 0.3s ease, font-weight 0.3s ease;
}

#custom-cursor {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

@media (min-width: 769px) {
    #custom-cursor { display: block; }
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--cyan-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
    display: none;
}

@media (min-width: 769px) {
    .cursor-follower { display: block; }
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    border-color: var(--gold-primary);
    background: rgba(251, 191, 36, 0.05);
}

.hud-widget {
    position: fixed;
    z-index: 100;
    pointer-events: none;
}

.bottom-right {
    bottom: 2rem;
    right: 2rem;
}

.sync-meter-bar {
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.sync-meter-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 98%;
    background: var(--cyan-primary);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px var(--cyan-primary);
}

.focal-blur-title {
    will-change: filter, transform;
}

#webgl-container, #canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

section {
    min-height: 100vh;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--cyan-primary);
    transform: translateY(-2px);
}

.cyber-gradient-text {
    background: linear-gradient(90deg, #fff, var(--cyan-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch-reveal {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1.5rem;
}

.climax-bloom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--gold-primary) 0%, #000 80%);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    mix-blend-mode: screen;
}

.audio-control {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 100;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .bento-grid > div {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    
    .text-7xl { font-size: 2.5rem; }
    .text-9xl { font-size: 3rem; }
    .text-6xl { font-size: 2rem; }
    .text-5xl { font-size: 1.75rem; }
    .text-4xl { font-size: 1.5rem; }
    
    .hud-widget { display: none; }
    
    section {
        padding: 80px 5%;
        min-height: auto;
    }
    
    nav {
        padding: 1rem;
    }
    
    nav img {
        height: 2rem;
    }
}