/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
}

#app {
    position: relative;
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    z-index: 10;
}

/* Main Content Sections */
.content-section {
    display: none;
    height: calc(100vh - 120px);
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.content-section::-webkit-scrollbar {
    display: none;
}

#home-section {
    display: block;
}

/* Video Feed */
.video-container {
    height: calc(100vh - 120px);
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.video-container::-webkit-scrollbar {
    display: none;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
    transition: filter 0.5s ease-in-out;
}

/* Video Effects */
.video-effect-sepia {
    filter: sepia(100%);
}

.video-effect-grayscale {
    filter: grayscale(100%);
}

.video-effect-contrast {
    filter: contrast(150%);
}

/* Video Details */
.video-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* Sidebar */
.sidebar {
    position: absolute;
    right: 1rem;
    bottom: 30%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

.icon-btn:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.icon-btn i {
    font-size: 1.5rem;
}

/* Navigation */
.navigation {
    background-color: #000;
    border-top: 1px solid #333;
    z-index: 10;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    color: #888;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    transform: scale(1.1);
}

.nav-link.active {
    color: #fff;
}

.nav-link i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    transition: transform 0.3s ease;
}

@keyframes pulse-grow {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

#add-post-btn-nav i {
    animation: pulse-grow 2s infinite ease-in-out;
    transition: none;
}

/* Modals */
.modal {
    display: none;
    z-index: 20;
}

.progress-bar-container {
    width: 100%;
    background-color: #333;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    background-color: #25d366;
    height: 8px;
    transition: width 0.3s ease;
}

/* Profile and Explore */
.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.explore-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    height: calc(100vh - 120px - 2rem);
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.explore-gallery::-webkit-scrollbar {
    display: none;
}

.explore-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
