body { background: red !important; }

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

:root {
    --bg: #0a0a0a;
    --bg-light: #121212;
    --red: #800020;
    --red-light: #a52a2a;
    --white: #ffffff;
    --gray: #666666;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--white);
    cursor: none;
}

::selection {
    background: var(--red);
    color: var(--white);
}

/* Cursor */
.cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, opacity 0.15s ease;
    mix-blend-mode: difference;
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .cursor, .cursor-dot { display: none; }
    body { cursor: auto; }
}

/* Canvas layers */
#noise-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#landscape-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

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

/* Content */
.content {
    position: relative;
    z-index: 10;
    height: 100%;
    padding: 4rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header - Top */
.header {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 1s ease forwards;
    animation-delay: 0.5s;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-left {}
.header-right {}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--red), 0 0 20px var(--red), 0 0 30px rgba(128, 0, 32, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.time {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--gray);
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.name {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--white);
}

.tagline {
    margin-top: 1rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    color: var(--gray);
    letter-spacing: 0.1em;
}

/* WIP Notice */
.wip-notice {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    animation: wipFadeIn 2s ease forwards;
    animation-delay: 1.5s;
}

@keyframes wipFadeIn {
    0% { opacity: 0; }
    100% { opacity: 0.4; }
}

.wip-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.wip-text {
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--gray);
    letter-spacing: 0.3em;
    text-transform: lowercase;
    white-space: nowrap;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* Socials - Bottom Left */
.socials {
    display: flex;
    gap: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-link {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--red);
    transition: width 0.3s ease;
}

.social-link:hover {
    color: var(--white);
}

.social-link:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .content {
        padding: 3rem 2rem;
    }

    .socials {
        flex-direction: column;
        gap: 1rem;
    }
}


/* Add to the end of style.css */

/* Mobile Optimizations */
@media (max-width: 768px) {
    /* Simplify background on mobile - disable heavy WebGL */
    #landscape-canvas {
        display: none !important;
    }
    
    #particles-canvas {
        display: none !important;
    }

    /* Keep only the noise shader */
    #noise-canvas {
        opacity: 0.8;
    }

    .content {
        padding: 2rem 1.5rem;
        justify-content: flex-start;
        gap: 3rem;
    }

    .header {
        width: 100%;
    }

    .header-top {
        flex-direction: column;
        gap: 1.5rem;
    }

    .name {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }

    .time {
        font-size: 0.75rem;
    }

    .wip-notice {
        position: static;
        transform: none;
        flex-direction: column;
        gap: 1rem;
        margin-top: auto;
        margin-bottom: 2rem;
    }

    .wip-line {
        width: 40px;
    }

    .wip-text {
        font-size: 0.6rem;
        text-align: center;
    }

    .socials {
        margin-top: auto;
    }
}

/* Even smaller phones */
@media (max-width: 480px) {
    .content {
        padding: 1.5rem 1rem;
    }

    .name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 0.75rem;
    }

    .wip-text {
        font-size: 0.55rem;
        letter-spacing: 0.2em;
    }
}