/* live-feed.css - ULTRA LIQUID GLASS EDITION (STRICT DIMENSIONS) */

/* Основной контейнер лайв-ленты - СОХРАНЕНЫ ВСЕ ТВОИ РАЗМЕРЫ */
#live-feed-container {
    position: relative;
    top: 20px;
    left: 0;
    width: 95%;
    max-width: 900px;
    height: 68px;
    
    /* СТИЛЬ ЖИДКОГО СТЕКЛА */
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    
    /* Тонкая граница как в nav.css */
    border: 0.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 35px;
    
    z-index: 999;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0 auto;
    
    /* Тень из стиля iOS */
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.2);
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: feedAppear 0.5s ease-out;
}

/* УБРАНО ВЫДЕЛЕНИЕ ВСЕЙ ЛЕНТЫ ПРИ НАВЕДЕНИИ */
#live-feed-container:hover {
    /* Теперь здесь пусто, чтобы контейнер не дергался */
}

/* Метка LIVE */
.live-feed-label {
    min-width: 75px;
    height: 100%;
    /* Мягкий градиент внутри метки */
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-right: 0.5px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.live-feed-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    animation: glassShine 3s infinite linear;
}

.live-feed-label span {
    color: #007AFF; /* Цвет акцента iOS */
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(0, 122, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Пульсирующая точка */
.live-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #FF3B30;
    border-radius: 50%;
    animation: neonPulse 1.8s infinite cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.5);
}

/* Контейнер для элементов */
.live-feed-items {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
    background: transparent;
}

/* Элементы ленты - КАРТОЧКИ (ХОВЕР ТУТ) */
.live-feed-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.45);
    padding: 8px 16px;
    border-radius: 20px;
    animation: slideInFromRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    border: 0.5px solid rgba(255, 255, 255, 0.8);
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* ЭФФЕКТ ТОЛЬКО НА ПОДАРОК (КАРТОЧКУ) */
.live-feed-item:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 0.85);
    border-color: #007AFF;
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.1);
}

.live-feed-item-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.live-feed-item-name {
    color: #1d1d1f;
    font-size: 12px;
    font-weight: 700;
}

.live-feed-item-prize {
    color: #007AFF;
    font-size: 11px;
    font-weight: 600;
}

/* АНИМАЦИИ (БЕЗ ИЗМЕНЕНИЙ ТАЙМИНГОВ) */
@keyframes neonPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes slideInFromRight {
    0% { transform: translateX(120px) scale(0.9); opacity: 0; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes glassShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

@keyframes feedAppear {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* АДАПТИВНОСТЬ (СОХРАНЕНА ПОЛНОСТЬЮ) */
@media (max-width: 768px) {
    #live-feed-container {
        width: 92%; height: 60px; top: 15px; border-radius: 30px; margin: 0 4%;
    }
}

/* ТЕМНАЯ ТЕМА (DEEP DARK GLASS) */
@media (prefers-color-scheme: dark) {
    #live-feed-container {
        background: rgba(20, 20, 20, 0.6);
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    }
    .live-feed-label { background: rgba(255, 255, 255, 0.05); }
    .live-feed-label span { color: #0A84FF; }
    .live-feed-item {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.05);
    }
    .live-feed-item-name { color: #fff; }
    .live-feed-item-prize { color: #0A84FF; }
}

/* ТВОИ ФИНАЛЬНЫЕ КОРРЕКТИРОВКИ */
#live-feed-container {
    margin-left: 15px !important;
}

.live-feed-items {
    padding-left: 5px !important;
}