/* TikTok / Reels Style Vertical Snap-Scroll & Animations for slct.digivite.in */

.reels-container {
    height: 100dvh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.reels-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.reel-item {
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    overflow: hidden;
}

@keyframes heart-pop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.4); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.animate-heart-pop {
    animation: heart-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes spin-record {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-spin-record {
    animation: spin-record 5s linear infinite;
}

@keyframes soundwave {
    0%, 100% { height: 4px; }
    50% { height: 16px; }
}

.soundwave-bar:nth-child(1) { animation: soundwave 1.1s ease-in-out infinite; }
.soundwave-bar:nth-child(2) { animation: soundwave 0.8s ease-in-out infinite; animation-delay: 0.2s; }
.soundwave-bar:nth-child(3) { animation: soundwave 1.3s ease-in-out infinite; animation-delay: 0.4s; }
.soundwave-bar:nth-child(4) { animation: soundwave 0.9s ease-in-out infinite; animation-delay: 0.1s; }

/* Frosted glass overlay */
.glass-reels {
    background: rgba(10, 10, 15, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
