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

body {
    background-color: #39FF14;
    font-family: 'Swiss 721', sans-serif;
    width: 100vw;
    height: 200vh; /* Make page scrollable */
    overflow-x: hidden;
    position: relative;
    isolation: isolate;
    background-image: 
        linear-gradient(to top right, transparent calc(50% - 0.5px), black calc(50% - 0.5px), black calc(50% + 0.5px), transparent calc(50% + 0.5px)),
        linear-gradient(to bottom right, transparent calc(50% - 0.5px), black calc(50% - 0.5px), black calc(50% + 0.5px), transparent calc(50% + 0.5px));
    background-attachment: fixed;
}

/* Noise overlay */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.07;
    pointer-events: none;
    z-index: 1;
}

.grid-container {
    position: fixed;
    width: 100%;
    height: 100vh;
}

.column {
    position: fixed;
    top: 0;
    bottom: 0;
    width: calc(100% / 3);
    border-left: 1px solid rgba(0, 0, 0, 0.9);
    pointer-events: none;
}

.column.left {
    left: calc(100% / 3);
}

.column.middle {
    left: calc(200% / 3);
}

.header {
    position: fixed;
    transform: none;
    text-align: left;
    width: auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.name {
    font-size: 2.5rem;
    text-transform: lowcase;
    white-space: nowrap;
    font-weight: bold;
    animation: vibrate .2s ease-in-out infinite;
}

.navigation {
    position: fixed;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
    text-align: center;
}

.navigation a {
    color: black;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0;
    font-weight: bold;
    position: relative;
    padding: 0.2rem 0.5rem;
    transition: all 0.2s ease;
    background: transparent;
}

.navigation a:hover {
    color: #39FF14;
    background: black;
    transform: translateX(0.5rem);
    animation: slowVibrate 1s ease-in-out infinite;
}

.navigation a::after {
    display: none;
}

.navigation a:hover ~ .main-text {
    animation: vibrate 2s ease-in-out infinite;
}

.main-text {
    position: fixed;
    bottom: -5rem;
    right: -1rem;
    font-family: 'Swiss 721 Condensed Bold', sans-serif;
    font-size: 55vw;
    color: black;
    line-height: 0.8;
    z-index: 1;
    font-weight: bold;
    animation: vibrate .0001s ease-in-out infinite;
}

.timestamp {
    position: fixed;
    font-family: monospace;
    font-size: 0.7rem;
    color: black;
    z-index: 2;
}

/* Cursor trail effect */
.cursor-trail {
    width: 15px;
    height: 15px;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.2;
    background-image: var(--cursor-trail-image, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Cpath d='M7.5,0 v15 M0,7.5 h15' stroke='black' stroke-width='1'/%3E%3C/svg%3E"));
    animation: cursorVibrate 0.1s ease-in-out infinite;
}

/* Add vibration keyframes */
@keyframes vibrate {
    0% { transform: translateX(0); }
    25% { transform: translateX(-1rem); }
    75% { transform: translateX(1rem); }
    100% { transform: translateX(0); }
}

/* Add slow vibration keyframes */
@keyframes slowVibrate {
    0% { transform: translateX(0); }
    25% { transform: translateX(-1rem); }
    75% { transform: translateX(1rem); }
    100% { transform: translateX(0); }
}

@keyframes cursorVibrate {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-1px, 1px) rotate(1deg); }
    50% { transform: translate(1px, -1px) rotate(-1deg); }
    75% { transform: translate(-1px, -1px) rotate(1deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .column {
        display: none;
    }

    .header {
        position: relative;
        top: 0;
        left: 0;
        padding-left: 0;
        margin-bottom: 2rem;
    }

    .navigation {
        position: relative;
        top: 0;
        right: 0;
        align-items: flex-start;
    }

    .main-text {
        font-size: 25vw;
        bottom: 1rem;
        right: 1rem;
    }

    .timestamp {
        position: relative;
        left: 0;
        bottom: 0;
    }
}

/* Add this new class */
.name-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
}

.name-background .bg-name {
    position: absolute;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
    animation: vibrate 0.2s ease-in-out infinite;
    color: black;
}

/* Add these new styles */
.section {
    min-height: 100vh;
    width: 100vw;
    position: relative;
}

#home-section {
    height: 100vh;
}

#music {
    display: none;
}

/* Add transition styles */
.fade-on-scroll {
    transition: opacity 0.3s ease-out;
}

/* Add these styles */
html {
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

/* Update black overlay - remove animation */
.black-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: black;
    background-image: 
        linear-gradient(to top right, transparent calc(50% - 0.5px), white calc(50% - 0.5px), white calc(50% + 0.5px), transparent calc(50% + 0.5px)),
        linear-gradient(to bottom right, transparent calc(50% - 0.5px), white calc(50% - 0.5px), white calc(50% + 0.5px), transparent calc(50% + 0.5px));
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}

/* Add CSS variable for cursor images */
:root {
    --cursor-trail-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Cpath d='M7.5,0 v15 M0,7.5 h15' stroke='black' stroke-width='1'/%3E%3C/svg%3E");
}

/* Update strobe dot styles */
.strobe-dot {
    position: fixed;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 6;
    animation: strobeFlash 451ms linear;
    mix-blend-mode: screen; /* This will make overlapping colors blend */
}

@keyframes strobeFlash {
    0% { 
        opacity: 0; 
        transform: scale(0);
        background-color: #FF0000;
    }
    10% { 
        opacity: 0.8; 
        transform: scale(1);
        background-color: #0000FF;
    }
    20% { 
        opacity: 0.8; 
        transform: scale(1.2);
        background-color: #00FF00;
    }
    30% { 
        opacity: 0.8;
        background-color: #FFFFFF;
    }
    100% { 
        opacity: 0; 
        transform: scale(1.5);
        background-color: #FF0000;
    }
}

/* Add styles for the SoundCloud container */
.soundcloud-container {
    position: fixed;
    z-index: 7;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: auto; /* Allow interaction with the player */
    filter: invert(1); /* Make it white */
}

/* Update the headphones text styles */
.headphones-text {
    position: fixed;
    font-family: 'Swiss 721 Condensed Bold', sans-serif;
    font-size: 2rem;
    color: white;
    z-index: 7;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none;
    animation: vibrate 0.2s ease-in-out infinite; /* Add the same vibration as the name */
}

/* Add styles for the call-response background */
.call-response-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 6;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

/* Update the call-response text styles */
.call-response-text {
    position: absolute;
    font-family: 'Swiss 721 Condensed Bold', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
    animation: vibrate 0.2s ease-in-out infinite;
    color: white;
    opacity: 0.1; /* Default very transparent */
} 