/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #050a14;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #00f0ff, #b026ff);
    border-radius: 3px;
}

/* Scanlines effect */
.scanlines {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 240, 255, 0.01) 2px,
        rgba(0, 240, 255, 0.01) 4px
    );
    animation: scanline-move 8s linear infinite;
}

@keyframes scanline-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* Gradient radial background */
.bg-gradient-radial {
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(176, 38, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(77, 124, 255, 0.04) 0%, transparent 60%);
}

/* News card styling */
.news-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00f0ff, #b026ff, #4d7cff);
    opacity: 0;
    transition: opacity 0.4s;
}
.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 240, 255, 0.08);
}
.news-card:hover::before {
    opacity: 1;
}

/* Featured news card */
.featured-news-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(0,240,255,0.02) 100%);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.featured-news-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 240, 255, 0.1);
}

/* Video card */
.video-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01)P0+r4B31\ 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}
.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(176, 38, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(176, 38, 255, 0.08);
}
.video-card:hover .video-overlay {
    opacity: 1;
}
.video-card:hover .video-play-btn {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 10, 20, 0.9) 0%, rgba(5, 10, 20, 0.3) 50%, transparent 100%);
    opacity: 0.7;
    transition: opacity 0.4s;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f0ff, #b026ff);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    z-index: 10;
}
.video-play-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(0, 240, 255, 0.3);
    animation: pulse-ring 2s ease-out infinite;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    fP0+r4B33\P0+r4B34\P0+r4B35\P0+r6B42\P0+r5053\P0+r5045\ont-family: 'JetBrains Mono', monospace;
    z-index: 10;
}

/* Featured video card */
.featured-video-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(176,38,255,0.02) 100%);
    border: 1px solid rgba(176, 38, 255, 0.2);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.featured-video-card:hover {
    border-color: rgba(176, 38, 255, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(176, 38, 255, 0.1);
}

/* Trending card */
.trending-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 1.25rem;
    transition: all 0.3s;
    cursor: pointer;
}
.trending-card:hover {
    border-color: rgba(57, 255, 20, 0.3);
    background: rgba(57, 255, 20, 0.03);
    transform: translateY(-2px);
}

/* Tag styling */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}
.tag-cyan { background: rgba(0, 240, 255, 0.1); color: #00f0ff; }
.tag-purple { background: rgba(176, 38, 255, 0.1); color: #b026ff; }
.tag-blue { background: rgba(77, 124, 255, 0.1); color: #4d7cff; }
.tag-pink { background: rgba(255, 45, 149, 0.1); color: #ff2d95; }
.tag-green { background: rgba(57, 255, 20, 0.1); color: #39ff14; }

/* Stat card */
.stat-card {
    transition: all 0.3s;
}
.stat-card:hover {
    border-color: rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.03);
}

/* Video category buttons */
.video-category-btn {
    color: #9ca3af;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s;
}
.video-category-btn:hover {
    color: #d1d5db;
    border-color: rgba(255,255,255,0.15);
}
.video-category-btn.active {
    color: #00f0ff;
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
}

/* Animations */
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Loading shimmer */
.shimmer {
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Server URL styling */
.server-url {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: rgba(0, 240, 255, 0.5);
}

/* Background canvas */
#bg-canvas {
    opacity: 0.4;
}

/* Modal animation */
#video-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 640px) {
    .video-play-btn {
        width: 48px;
        height: 48px;
    }
    .font-orbitron {
        letter-spacing: -0.02em;
    }
}

/* Typing cursor animation */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
.cursor-blink::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: #00f0ff;
}
