/* Reset and base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Logo styles */
.logo-main {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.4));
    animation: logoGlow 3s infinite alternate;
}

.logo-small {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.3));
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.4));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.7));
    }
}

/* Navigation links */
.nav-link {
    font-weight: 600;
    transition: all 0.3s;
}

/* Category buttons */
.category-btn {
    background: #1f2937;
    transition: all 0.3s;
}

.category-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

/* Video cards */
.video-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
    border-color: #dc2626;
}

/* Video player container */
#playerContainer {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

#playerContainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Server buttons */
.server-btn {
    transition: all 0.3s;
    font-weight: bold;
}

.server-btn.active {
    background: #dc2626 !important;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}

.server-btn:hover {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-main {
        height: 60px;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .server-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b91c1c;
}

/* Loading animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Smooth transitions */
* {
    scroll-behavior: smooth;
}

/* Button hover effects */
button {
    cursor: pointer;
    user-select: none;
}

button:active {
    transform: scale(0.98);
}

/* Tag hover effect */
.video-card span {
    transition: all 0.2s;
}

.video-card span:hover {
    background: #dc2626;
}
