/* Additional Futuristic Styles */

/* Enhanced Animations */
@keyframes neon-glow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(0, 255, 204, 0.8),
            0 0 20px rgba(0, 255, 204, 0.6),
            0 0 30px rgba(0, 255, 204, 0.4),
            0 0 40px rgba(0, 255, 204, 0.2);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(0, 255, 204, 1),
            0 0 30px rgba(0, 255, 204, 0.8),
            0 0 40px rgba(0, 255, 204, 0.6),
            0 0 50px rgba(0, 255, 204, 0.4);
    }
}

@keyframes border-pulse {
    0%, 100% {
        border-color: rgba(0, 255, 204, 0.3);
        box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
    }
    50% {
        border-color: rgba(0, 255, 204, 0.8);
        box-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
    }
}

@keyframes hologram {
    0%, 100% {
        opacity: 0.8;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

/* Enhanced Button Effects */
.futuristic-btn {
    position: relative;
    overflow: hidden;
}

.futuristic-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.futuristic-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Enhanced Input Effects */
.futuristic-input:focus {
    animation: border-pulse 2s infinite;
}

/* Card Hover Effects */
.futuristic-card {
    position: relative;
    overflow: hidden;
}

.futuristic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 255, 204, 0.1),
        transparent,
        rgba(0, 170, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.futuristic-card:hover::before {
    animation: shimmer 1.5s infinite;
    opacity: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Loading States */
.loading {
    position: relative;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.3), transparent);
    animation: loading-scan 1.5s infinite;
}

@keyframes loading-scan {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Notification Styles */
.notification {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: notification-scan 2s infinite;
}

@keyframes notification-scan {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Enhanced Progress Bar */
.progress-bar-custom {
    position: relative;
    overflow: hidden;
}

.progress-bar-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progress-scan 1s infinite;
}

@keyframes progress-scan {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Particle Effects */
.particle {
    position: absolute;
    pointer-events: none;
}

.particle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.8), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: particle-pulse 2s infinite;
}

@keyframes particle-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.5;
    }
}

/* Cyber Grid Enhancement */
.cyber-grid {
    opacity: 0.1;
    animation: grid-pulse 4s ease-in-out infinite;
}

@keyframes grid-pulse {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.2;
    }
}

/* Option Card Enhancements */
.option-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.option-card.selected {
    animation: option-select 0.5s ease;
}

@keyframes option-select {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.option-card i {
    transition: all 0.3s ease;
}

.option-card:hover i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.8));
}

/* Video Info Enhancements */
.video-info {
    position: relative;
}

.video-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-info:hover::after {
    opacity: 1;
}

/* Thumbnail Effects */
.video-thumbnail {
    transition: all 0.3s ease;
    position: relative;
}

.video-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.5);
}

.video-thumbnail::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.8);
}

.video-thumbnail:hover::before {
    opacity: 1;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }
    
    .futuristic-card {
        padding: 1rem;
    }
    
    .option-card {
        padding: 1rem;
    }
    
    .option-card i {
        font-size: 2rem;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #00ffcc;
        --secondary-color: #ff00ff;
        --accent-color: #00aaff;
        --dark-bg: #0a0a0f;
        --card-bg: #1a1a2e;
        --text-primary: #ffffff;
        --text-secondary: #b0b0c0;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .futuristic-card {
        border: 2px solid var(--primary-color);
    }
    
    .futuristic-input {
        border: 2px solid var(--primary-color);
    }
    
    .futuristic-btn {
        border: 2px solid var(--dark-bg);
    }
}

/* Print Styles */
@media print {
    .animated-bg,
    .cyber-grid,
    .particles,
    .loading,
    .progress-container {
        display: none !important;
    }
    
    .futuristic-card {
        border: 1px solid #000 !important;
        background: #fff !important;
        color: #000 !important;
    }
}