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

body {
    color: white;
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000000;
}

#nebula-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(7, 220, 5, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 220, 5, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
}

.warning-tape {
    position: fixed;
    left: 0;
    right: 0;
    height: 2.2rem;
    background-color: rgba(7, 220, 5, 0.9);
    overflow: hidden;
    z-index: 50;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    perspective: 1000px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.warning-tape.top {
    top: 0;
    transform: rotateX(1deg);
}

.warning-tape.bottom {
    bottom: 0;
    transform: rotateX(-1deg);
}

.warning-tape-content {
    position: absolute;
    inset: 0;
    display: flex;
    width: max-content;
    animation: slideRight 25s linear infinite;
    will-change: transform;
}

.warning-tape.bottom .warning-tape-content {
    animation: slideLeft 25s linear infinite;
}

.warning-tape-segment {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.warning-tape-text {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0;
    color: black;
    white-space: nowrap;
    font-size: 1.125rem;
    transition: letter-spacing 0.3s ease;
}

.warning-tape:hover .warning-tape-text {
    letter-spacing: 0.15em;
}

@keyframes slideRight {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes slideLeft {
    0% {
        transform: translate3d(-50%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.main-content {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* CIRCULAR ORBIT LAYOUT */
.social-orbit-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar {
    width: 10.5rem;
    height: 10.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(15, 15, 15, 0.4);
    position: relative;
    box-shadow:
        0 0 40px rgba(7, 220, 5, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 12;
}

.avatar:hover {
    transform: scale(1.05);
    border-color: rgba(7, 220, 5, 0.5);
    box-shadow:
        0 0 60px rgba(7, 220, 5, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
}

.avatar:hover .avatar-img {
    mix-blend-mode: normal;
    opacity: 1;
    filter: grayscale(0.5) contrast(1.2) brightness(1.1) drop-shadow(0 0 20px rgba(7, 220, 5, 0.6));
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transform: scale(1.1);
    opacity: 0.95;
    transition: all 0.5s ease;
    filter: grayscale(0.8) brightness(0.95) contrast(1.1) saturate(0.4);
}

.avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 40%, rgba(7, 220, 5, 0.1) 100%);
    pointer-events: none;
    z-index: 11;
}

.social-icon {
    font-size: 2rem;
    transition: all 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

.social-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link {
    --radius: clamp(7.5rem, 18vh, 9rem);
    position: absolute;
    width: 5.5rem;
    height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px) saturate(150%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.02);

    /* ORBITAL MATH - 8 items at 45deg intervals */
    transform:
        rotate(calc(var(--i) * 45deg)) translate(var(--radius)) rotate(calc(var(--i) * -45deg));
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.social-link:hover {
    border-color: rgba(7, 220, 5, 0.6);
    color: #fff;
    box-shadow:
        0 0 30px rgba(7, 220, 5, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    background: rgba(7, 220, 5, 0.1);
    transform:
        rotate(calc(var(--i) * 45deg)) translate(calc(var(--radius) + 0.5rem)) rotate(calc(var(--i) * -45deg)) scale(1.1);
}

.social-icon {
    font-size: 2rem;
}

#mouseTrail,
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

#particleCanvas {
    z-index: 1;
    opacity: 0.4;
}

@media (max-width: 600px) {
    .avatar {
        width: 7rem;
        height: 7rem;
    }

    .social-link {
        --radius: 6.5rem;
        width: 3.5rem;
        height: 3.5rem;
    }

    .social-icon {
        font-size: 1.4rem;
    }

    .warning-tape {
        height: 1.8rem;
    }

    .warning-tape-text {
        font-size: 0.9rem;
    }
}