:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-gold: #FFD700;
    --accent-glow: rgba(255, 215, 0, 0.15);
    --font-main: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    font-family: var(--font-main);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ambient Background */
.ambient-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    opacity: 0.2;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #2a2a2a 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #1a1a1a 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 100%);
    z-index: 1;
}

#swarm-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Content is at 10 */
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* Main Content */
.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    padding: 20px;
    margin-bottom: 150px;
    /* Shifts content up */
}

/* ... existing code ... */

.domain {
    font-family: monospace;
    color: #444;
    font-size: 0.9rem;
    letter-spacing: 0.05em;

    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.logo-container {
    margin-bottom: 0;
    animation: fadeInDown 1.5s ease-out;
    position: relative;
    width: 500px;
    max-width: 80vw;
}

.logo-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.logo-svg.main {
    position: relative;
    z-index: 2;
}

.logo-svg.glitch-1 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.8;
    mix-blend-mode: color-dodge;
    animation: glitch-anim-1 4s infinite linear alternate-reverse;
}

.logo-svg.glitch-1 .st0 {
    fill: #00FFFF;
    /* Cyan */
}

.logo-svg.glitch-2 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.8;
    mix-blend-mode: color-dodge;
    animation: glitch-anim-2 4s infinite linear alternate-reverse;
    animation-delay: 2s;
    /* Offset triggers */
}

.logo-svg.glitch-2 .st0 {
    fill: #FF00FF;
    /* Magenta */
}

@keyframes glitch-anim-1 {

    0%,
    100% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
    }

    /* Subtle Jitter (0-80%) */
    10% {
        clip-path: inset(10% 0 85% 0);
        transform: translate(-2px, 1px);
    }

    20% {
        clip-path: inset(85% 0 10% 0);
        transform: translate(2px, -1px);
    }

    30% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(-1px, 2px);
    }

    40% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(1px, -2px);
    }

    50% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
    }

    /* Calm moment */
    60% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px, 1px);
    }

    70% {
        clip-path: inset(30% 0 50% 0);
        transform: translate(-2px, -1px);
    }

    /* TV STATIC BURST (80-90%) - Super Distorted */
    81% {
        clip-path: inset(10% 0 40% 0);
        transform: translate(10px, -5px) skew(20deg);
    }

    82% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(-15px, 5px) skew(-20deg);
        filter: hue-rotate(90deg);
    }

    83% {
        clip-path: inset(20% 0 70% 0);
        transform: translate(5px, 10px) skew(10deg);
    }

    84% {
        clip-path: inset(50% 0 10% 0);
        transform: translate(-10px, -10px) skew(-10deg);
    }

    85% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
        opacity: 1;
    }

    /* Another quick snap */
    95% {
        clip-path: inset(45% 0 45% 0);
        transform: translate(5px, 0);
    }
}

@keyframes glitch-anim-2 {

    0%,
    100% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
    }

    /* Out of sync subtle jitter */
    15% {
        clip-path: inset(25% 0 60% 0);
        transform: translate(2px, 2px);
    }

    25% {
        clip-path: inset(65% 0 20% 0);
        transform: translate(-2px, -2px);
    }

    35% {
        clip-path: inset(10% 0 80% 0);
        transform: translate(1px, 1px);
    }

    45% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
    }

    /* Calm */
    55% {
        clip-path: inset(40% 0 40% 0);
        transform: translate(-1px, 2px);
    }

    65% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, -2px);
    }

    /* HEAVY DISTORTION (70-80%) */
    71% {
        clip-path: inset(5% 0 80% 0);
        transform: translate(-10px, 5px) skew(-15deg);
    }

    72% {
        clip-path: inset(80% 0 10% 0);
        transform: translate(15px, -5px) skew(15deg);
        filter: hue-rotate(-90deg);
    }

    73% {
        clip-path: inset(30% 0 30% 0);
        transform: translate(-5px, 15px);
    }

    74% {
        clip-path: inset(10% 0 50% 0);
        transform: translate(10px, -10px) skew(20deg);
    }

    /* Recovery */
    90% {
        clip-path: inset(60% 0 35% 0);
        transform: translate(-2px, 1px);
    }
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: -160px;
    animation: fadeInUp 1.5s ease-out 0.3s backwards;
}

.tagline {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    background: linear-gradient(180deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-gold);
    animation: blink 2s infinite;
}

.status-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 300;
}

.progress-container {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-bar {
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    transform-origin: left;
    animation: progress 3s ease-out forwards;
    transform: scaleX(0.1);
    /* Stays at 10% */
}



/* Animations */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes progress {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(0.15);
    }

    /* Arbitrary loading progress */
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .tagline {
        font-size: 2rem;
    }

    .orb-1,
    .orb-2 {
        opacity: 0.2;
    }
}