/* LO-FI STUDIO ATMOSPHERE */

/* Space window with Earth view */
.space-window {
    position: fixed;
    top: 50px;
    right: 50px;
    width: 350px;
    height: 250px;
    border: 8px solid var(--studio-brown);
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.5),
        0 10px 40px rgba(0, 0, 0, 0.6);
    z-index: 5;
}

.space-window::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.3) 100%),
        linear-gradient(180deg, rgba(10, 10, 30, 0.9) 0%, rgba(20, 15, 40, 0.8) 100%);
    z-index: 1;
}

.earth {
    position: absolute;
    bottom: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 40% 40%, #4FC3F7 0%, #29B6F6 30%, #0288D1 60%, #01579B 100%);
    border-radius: 50%;
    box-shadow:
        inset -20px -20px 50px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(79, 195, 247, 0.4);
    animation: rotate 120s linear infinite;
    z-index: 2;
}

@keyframes rotate {
    from {
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

.stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, white, transparent),
        radial-gradient(1px 1px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 80% 20%, white, transparent),
        radial-gradient(1px 1px at 40% 80%, white, transparent),
        radial-gradient(1px 1px at 90% 50%, white, transparent);
    background-size: 200% 200%;
    animation: twinkle 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.4;
    }
}

/* Hanging plants */
.plant-left,
.plant-right {
    position: fixed;
    top: 0;
    width: 150px;
    height: 200px;
    z-index: 100;
    pointer-events: none;
}

.plant-left {
    left: 20px;
}

.plant-right {
    right: 20px;
}

.plant-vine {
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #4a6d3c 0%, #3a5d2c 100%);
    left: 50%;
    transform: translateX(-50%);
}

.plant-leaf {
    position: absolute;
    width: 30px;
    height: 15px;
    background: #5a8d4e;
    border-radius: 0 100% 0 100%;
    box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.3);
}

.plant-leaf:nth-child(2) {
    top: 30px;
    left: -15px;
    transform: rotate(-30deg);
}

.plant-leaf:nth-child(3) {
    top: 30px;
    right: -15px;
    transform: rotate(30deg) scaleX(-1);
}

.plant-leaf:nth-child(4) {
    top: 70px;
    left: -20px;
    transform: rotate(-40deg);
}

.plant-leaf:nth-child(5) {
    top: 70px;
    right: -20px;
    transform: rotate(40deg) scaleX(-1);
}

.plant-leaf:nth-child(6) {
    top: 120px;
    left: -15px;
    transform: rotate(-35deg);
}

.plant-leaf:nth-child(7) {
    top: 120px;
    right: -15px;
    transform: rotate(35deg) scaleX(-1);
}

/* Neon "OPEN 24/7" sign */
.neon-sign {
    position: fixed;
    top: 70px;
    right: 420px;
    padding: 10px 20px;
    border: 3px solid var(--neon-pink);
    border-radius: 5px;
    background: rgba(45, 31, 26, 0.8);
    color: var(--neon-pink);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    letter-spacing: 2px;
    text-shadow:
        0 0 10px var(--neon-pink),
        0 0 20px var(--neon-pink);
    box-shadow:
        inset 0 0 10px rgba(244, 114, 182, 0.3),
        0 0 20px rgba(244, 114, 182, 0.5);
    animation: neonPulse 2s ease-in-out infinite;
    z-index: 50;
}

@keyframes neonPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Vintage equipment shelves */
.equipment-shelf {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, transparent 0%, rgba(45, 31, 26, 0.9) 20%);
    z-index: 5;
    pointer-events: none;
}

/* Coffee mug steam */
.coffee-steam {
    position: fixed;
    bottom: 160px;
    left: 50px;
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    filter: blur(3px);
    animation: steam 3s ease-in-out infinite;
    z-index: 6;
}

@keyframes steam {
    0% {
        transform: translateY(0) scaleY(1);
        opacity: 0;
    }

    50% {
        transform: translateY(-20px) scaleY(1.5);
        opacity: 0.6;
    }

    100% {
        transform: translateY(-40px) scaleY(0.5);
        opacity: 0;
    }
}

/* Warm ambient glow */
.warm-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(232, 149, 111, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: glowPulse 6s ease-in-out infinite;
}

/* CRT monitor scanlines */
.crt-scanlines {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.1) 0px,
            transparent 2px,
            transparent 4px);
    pointer-events: none;
    z-index: 200;
    opacity: 0.3;
}

/* Keyboard silhouette */
.keyboard-shadow {
    position: fixed;
    bottom: 50px;
    left: 50px;
    width: 250px;
    height: 80px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    border-radius: 8px;
    z-index: 4;
    pointer-events: none;
}