/* Enhanced Vixen News Styles - Fair & Fluffy™ */

/* Live Comments Panel */
.live-comments {
    position: absolute;
    right: 20px;
    top: 100px;
    width: 300px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #c41e3a;
    border-radius: 10px;
    padding: 15px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    z-index: 50;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #c41e3a;
}

.comments-title {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.comments-count {
    background: #c41e3a;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.comments-stream {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 10px;
}

.comment-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    margin-bottom: 5px;
    border-radius: 5px;
    animation: slideIn 0.5s ease-out;
}

.comment-user {
    color: #ff6b6b;
    font-weight: bold;
    margin-right: 5px;
}

.comment-text {
    color: #fff;
    font-size: 14px;
}

.comment-emoji {
    margin-left: 5px;
    font-size: 16px;
}

.comment-input {
    display: flex;
    gap: 5px;
}

.comment-input input {
    flex: 1;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #c41e3a;
    border-radius: 5px;
    color: white;
}

.comment-input button {
    padding: 8px 15px;
    background: #c41e3a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.comment-input button:hover {
    background: #ff6b6b;
    transform: scale(1.05);
}

/* Social Bar */
.social-bar {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    border-radius: 30px;
    z-index: 100;
}

.social-btn {
    padding: 8px 16px;
    background: linear-gradient(45deg, #c41e3a, #ff6b6b);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: bold;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.5);
}

.social-btn span {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
}

/* Viewer Counter */
.viewer-counter {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid #c41e3a;
}

.viewer-icon {
    font-size: 20px;
    animation: pulse 2s infinite;
}

.viewer-count {
    color: #ff6b6b;
    font-size: 24px;
    font-weight: bold;
}

.viewer-label {
    color: #fff;
    font-size: 14px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: linear-gradient(45deg, #c41e3a, #ff6b6b);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    z-index: 1000;
    transition: all 0.3s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.notification.show {
    transform: translate(-50%, -50%) scale(1);
}

/* Breaking News Pulse Animation */
@keyframes breakingPulse {
    0%, 100% {
        background: linear-gradient(90deg, #c41e3a, #ff0000);
    }
    50% {
        background: linear-gradient(90deg, #ff0000, #ff6b6b);
    }
}

/* Slide In Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Enhanced Lower Third */
.lower-third-enhanced {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(196, 30, 58, 0.95) 10%, 
        rgba(196, 30, 58, 0.95) 90%, 
        transparent 100%);
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-category {
    background: white;
    color: #c41e3a;
    padding: 5px 15px;
    font-weight: bold;
    margin-right: 20px;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 12px;
}

.story-headline {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Story Feed Sidebar */
.story-feed {
    position: absolute;
    left: 20px;
    top: 100px;
    width: 250px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #c41e3a;
    border-radius: 10px;
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.story-feed-header {
    color: white;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #c41e3a;
}

.story-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.story-item:hover {
    background: rgba(196, 30, 58, 0.3);
    transform: translateX(5px);
}

.story-time {
    color: #ff6b6b;
    font-size: 11px;
    margin-bottom: 5px;
}

.story-title {
    color: white;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 3px;
}

.story-preview {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    line-height: 1.3;
}

/* Control Panel */
.control-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #c41e3a;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 200;
}

.control-btn {
    padding: 8px 12px;
    background: rgba(196, 30, 58, 0.3);
    color: white;
    border: 1px solid #c41e3a;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
}

.control-btn:hover {
    background: #c41e3a;
}

.control-btn.active {
    background: #c41e3a;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .live-comments {
        display: none;
    }
    
    .story-feed {
        display: none;
    }
    
    .social-bar {
        bottom: 10px;
        padding: 5px 10px;
    }
    
    .social-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .viewer-counter {
        top: 60px;
        right: 10px;
        padding: 5px 10px;
    }
    
    .viewer-count {
        font-size: 18px;
    }
}

/* Loading Animation */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 5px solid rgba(196, 30, 58, 0.3);
    border-top: 5px solid #c41e3a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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