:root {
    --bg-dark: #050214;
    --cyan: #0ff;
    --magenta: #f0f;
    --white: #fff;
    --text-primary: #e0e0e0;
}

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

body {
    background-color: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    overflow: hidden;
    /* Prevent scrolling, full screen experience */
}

/* Background Switcher Panel */
.bg-switcher {
    display: none !important;
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    flex-wrap: wrap;
    justify-content: center;
    max-width: 90vw;
    gap: 0.35rem;
    padding: 0.35rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    z-index: 10;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-switcher:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.05);
}

.switcher-btn {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.4rem 0.9rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    user-select: none;
}

.switcher-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.switcher-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Background Canvas (Nebula) */
#shader-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--bg-dark);
}

#shader-canvas.active {
    opacity: 1;
}

/* Bubble Background Styles */
.bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #09090b 0%, #050214 100%);
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.bubble-container.active {
    opacity: 1;
}

.bubble-goo-wrapper {
    width: 100%;
    height: 100%;
    filter: url(#bubble-goo) blur(40px);
}

.bubble {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: hard-light;
    opacity: 0.75;
}

/* Color Bubble Setup inspired by shadcn */
.bubble-1 {
    width: 80vw;
    height: 80vh;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle at center, rgba(18, 113, 255, 0.8) 0%, rgba(18, 113, 255, 0) 50%);
    transform-origin: calc(50% - 200px) calc(50% + 150px);
    animation: bubble-orbit-1 25s infinite linear;
}

.bubble-2 {
    width: 80vw;
    height: 80vh;
    top: 20%;
    left: 15%;
    background: radial-gradient(circle at center, rgba(221, 74, 255, 0.8) 0%, rgba(221, 74, 255, 0) 50%);
    transform-origin: calc(50% + 200px) calc(50% - 150px);
    animation: bubble-orbit-2 30s infinite linear;
}

.bubble-3 {
    width: 80vw;
    height: 80vh;
    top: 25%;
    left: -10%;
    background: radial-gradient(circle at center, rgba(0, 220, 255, 0.8) 0%, rgba(0, 220, 255, 0) 50%);
    transform-origin: calc(50% - 300px) calc(50% + 200px);
    animation: bubble-orbit-3 28s infinite linear;
}

.bubble-4 {
    width: 80vw;
    height: 80vh;
    top: 15%;
    left: 30%;
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.7) 0%, rgba(239, 68, 68, 0) 50%);
    transform-origin: calc(50% + 250px) calc(50% + 200px);
    animation: bubble-orbit-4 35s infinite linear;
}

.bubble-5 {
    width: 90vw;
    height: 90vh;
    top: -5%;
    left: 5%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.8) 0%, rgba(139, 92, 246, 0) 50%);
    transform-origin: calc(50% - 400px) calc(50% - 200px);
    animation: bubble-orbit-5 42s infinite linear;
}

.bubble-interactive {
    width: 70vw;
    height: 70vh;
    top: -35vw;
    left: -35vh;
    background: radial-gradient(circle at center, rgba(140, 100, 255, 0.85) 0%, rgba(140, 100, 255, 0) 50%);
    transform: translate(-50%, -50%);
    will-change: transform;
}

/* Smooth orbits using offsets */
@keyframes bubble-orbit-1 {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }

    50% {
        transform: rotate(180deg) translate(40px, -40px);
    }

    100% {
        transform: rotate(360deg) translate(0, 0);
    }
}

@keyframes bubble-orbit-2 {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }

    50% {
        transform: rotate(-180deg) translate(-50px, 30px);
    }

    100% {
        transform: rotate(-360deg) translate(0, 0);
    }
}

@keyframes bubble-orbit-3 {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }

    50% {
        transform: rotate(180deg) translate(-30px, -60px);
    }

    100% {
        transform: rotate(360deg) translate(0, 0);
    }
}

@keyframes bubble-orbit-4 {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }

    50% {
        transform: rotate(-180deg) translate(60px, 40px);
    }

    100% {
        transform: rotate(-360deg) translate(0, 0);
    }
}

@keyframes bubble-orbit-5 {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }

    50% {
        transform: rotate(180deg) translate(-20px, 70px);
    }

    100% {
        transform: rotate(360deg) translate(0, 0);
    }
}

/* Content Layout */
.content-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    text-shadow: 0 0 32px black;
}

.content {
    text-align: center;
}

/* Typography & Neon Effects */
.name {
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: .75rem;
    letter-spacing: 2px;
}

.title {
    font-size: 1rem;
    font-weight: 300;
    opacity: 80%;
    color: var(--white);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* Interactive Link */
.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--white);
    text-decoration: none;
    position: relative;
    border-radius: 50%;
}

.contact-link:hover svg {
    stroke: darkgray;
}

.contact-link:hover {
    box-shadow:
        0 0 8px var(--white),
        0 0 64px var(--white);
    text-shadow: none;
    transition: 1s;
    background-color: white;
}

.contact-link:hover::before {
    left: 100%;
}



@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
    }

    .title {
        font-size: 1rem;
    }

    .content {
        margin: 0 1rem;
    }
}