.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    opacity: 0.04;
    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");
}

.text-outline {
    -webkit-text-stroke: 1px currentColor;
    color: transparent;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

html:not(.dark) .glass-panel {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.dark .glass-panel {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-modal {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dark .glass-modal {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-bubble {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    pointer-events: none;
    z-index: 20;
    will-change: transform, opacity;
}

html:not(.dark) .social-bubble {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.dark .social-bubble {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

@keyframes floatUpSway {
    0% {
        transform: translateY(0) translateX(0) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(-20px) translateX(-5px) scale(1);
    }
    25% {
        transform: translateY(-60px) translateX(8px) scale(1);
    }
    50% {
        transform: translateY(-120px) translateX(-8px) scale(1);
    }
    75% {
        transform: translateY(-200px) translateX(5px) scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-300px) translateX(0) scale(0);
        opacity: 0;
    }
}

.animate-float-sway {
    animation: floatUpSway 4s ease-out forwards;
}

.tilt-container {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.tilt-element {
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}

.tablet-screen {
    background: #000;
    position: relative;
    overflow: hidden;
    mask-image: radial-gradient(white, black);
}

.feed-auto-scroll {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 5rem;
    animation: scrollUp 10s linear infinite;
    width: 100%;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.heart-pop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 50;
}

.heart-pop.active {
    animation: popHeart 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popHeart {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0;
    }
}

.fake-notification {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    width: 90%;
    z-index: 60;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fake-notification.show {
    transform: translateX(-50%) translateY(40px);
}

.reaction-stream-container {
    position: absolute;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 300px;
    pointer-events: none;
    z-index: 40;
    overflow: visible;
}

.mini-reaction {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 24px;
    opacity: 0;
    animation: streamUp 3s ease-out forwards;
}

@keyframes streamUp {
    0% {
        transform: translateY(0) scale(0.5) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(-20px) scale(1) translateX(-5px);
    }
    50% {
        transform: translateY(-150px) scale(1) translateX(5px);
    }
    100% {
        transform: translateY(-300px) scale(0.8) translateX(0);
        opacity: 0;
    }
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    transition: background-color 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hover-glow-lime:hover {
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.3);
    border-color: rgba(204, 255, 0, 0.5);
}

.hover-glow-pink:hover {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
    border-color: rgba(255, 0, 255, 0.5);
}

.icon-hover-trigger:hover .icon-target {
    animation: jelly 0.6s both;
}
