/* Reels View */
.reels-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.reels-view.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.reels-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px;
    padding-top: calc(16px + var(--safe-top));
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    z-index: 20;
}

.reels-header h2 {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.reels-list {
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}

.reels-list::-webkit-scrollbar {
    display: none;
}

.reel-item {
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    position: relative;
    background: #111;
}

.reel-video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reel-video {
    max-width: 100%;
    max-height: 100%;
    background: #222;
}

.reel-info {
    position: absolute;
    bottom: 100px;
    left: 16px;
    right: 16px;
    color: white;
    z-index: 15;
}

.reel-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.reel-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.reel-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.reel-action-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.reel-action-btn.liked svg {
    fill: #FF4757;
}

.reel-action-count {
    font-size: 12px;
    color: white;
}

.reel-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.reel-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.add-reel-btn {
    position: fixed;
    bottom: calc(20px + var(--safe-bottom));
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-deep) 100%);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-reel-btn:active {
    transform: scale(0.95);
}