/* Video Guide Styles */
.video-guide-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.video-guide-btn {
    background: linear-gradient(135deg, #6C63FF, #4A44C6);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.video-guide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

.video-guide-btn:active {
    transform: translateY(0);
}

.video-guide-btn i {
    font-size: 18px;
}

.btn-text {
    margin-right: 5px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(108, 99, 255, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
    }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.video-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.video-modal-content {
    background: var(--bg-card);
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    animation: slideUp 0.3s ease;
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.video-modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.3rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    transform: rotate(90deg);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
}

.video-modal-footer {
    padding: 15px 25px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.video-modal-footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-guide-container {
        bottom: 15px;
        left: 15px;
    }
    
    .video-guide-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .btn-text {
       
    }
    
    .video-guide-btn i {
        font-size: 16px;
        margin-right: 0;
    }
    
    .video-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .video-modal-header {
        padding: 15px 20px;
    }
    
    .video-modal-header h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .video-guide-container {
        bottom: 10px;
        left: 10px;
    }
    
    .video-modal-content {
        border-radius: 12px;
    }
    
    .video-modal-header,
    .video-modal-footer {
        padding: 12px 15px;
    }
}