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

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

body {
    background: #000000;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

#globe-canvas {
    position: fixed;
    top: 80px; /* Height of header */
    left: 0;
    width: 100%;
    height: calc(100vh - 80px - 40vh); /* Full height minus header minus terminal */
    z-index: 2;
    pointer-events: none;
}

/* When terminal is active */
.strudel-terminal.active ~ #globe-canvas,
body:has(.strudel-terminal.active) #globe-canvas {
    height: calc(100vh - 80px - 40vh);
}

/* Adjust header z-index */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: all;
}

/* Strudel terminal */
.strudel-terminal {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh; /* 40% of viewport height */
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid #481a66;
    z-index: 50;
    padding: 20px;
}

.strudel-terminal.active {
    display: block;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: transparent, blur(50px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: all; /* ← Header should catch clicks */
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.brand-link:hover {
    opacity: 0.8;
}

.brand-logo {
    width: 3.5rem;
    height: auto;
    color: #481a66;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}

/* Main Content (centered) - Block mouse events here */
.main-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    pointer-events: none; /* ← Don't block particles */
}

/* Animations */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }
    
    .brand-logo {
        width: 2.5rem;
    }
    
    .brand-name {
        font-size: 1rem;
    }
}