/* ==========================================================================
   LevGaming Unified Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

/* ==========================================================================
   Base Styles
   ========================================================================== */

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 25%, #0f0f0f 50%, #252525 75%, #0f0f0f 100%);
    background-size: 400% 400%;
    animation: backgroundShift 10s ease infinite;
    color: #f5f5f5;
}

@keyframes backgroundShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================================================
   Typography
   ========================================================================== */

.hero-title {
    font-family: 'Oswald', sans-serif;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #3b82f6);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite, glow 2s ease-in-out infinite alternate;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #3b82f6);
    background-size: 400% 400%;
    filter: blur(25px);
    opacity: 0.35;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6)); }
    to { filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8)); }
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav-link {
    transition: all 0.2s ease;
}

.nav-link:hover {
    transform: translateY(-1px);
}

/* ==========================================================================
   Cards & Sections
   ========================================================================== */

.server-card {
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(59, 130, 246, 0.15) 100%);
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

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

.changelog-entry {
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.changelog-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.changelog-entry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.quick-action-section {
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 1rem;
}

.support-section {
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(59, 130, 246, 0.15) 100%);
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.support-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    animation: supportGlow 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes supportGlow {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.4; }
    50% { transform: scale(1.15) rotate(180deg); opacity: 0.15; }
}

.discord-section {
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.discord-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    animation: discordPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes discordPulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.2; }
}

/* ==========================================================================
   Status Badges
   ========================================================================== */

.status-active {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    border: none;
}

.status-offline {
    background: linear-gradient(45deg, #c0392b, #e74c3c);
    color: white;
    border: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.copy-btn:hover {
    transform: scale(1.05);
}

.steam-connect-btn {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    transition: all 0.3s ease;
}

.steam-connect-btn:hover {
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.rss-button {
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
}

.rss-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* ==========================================================================
   Progress Bar
   ========================================================================== */

.progress-bar {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 1s ease-out;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShine 2s infinite;
}

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

/* ==========================================================================
   Animations
   ========================================================================== */

.kofi-heart {
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

/* ==========================================================================
   Changelog Specific
   ========================================================================== */

.change-item {
    position: relative;
    padding-left: 1.5rem;
}

.change-item::before {
    content: '•';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    color: #3b82f6;
    font-weight: bold;
}

.date-badge {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family: monospace;
    font-weight: 600;
}

.media-container {
    margin-top: 1rem;
    border-radius: 0.75rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.media-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
}

.media-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 0.75rem;
}

.media-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
}

/* ==========================================================================
   Bans Page Specific
   ========================================================================== */

.container {
    max-width: 96rem;
}

.table-header {
    background-color: #1a1a1a;
}

.table-row-even {
    background-color: rgba(59, 130, 246, 0.2);
}

.table-row-odd {
    background-color: rgba(26, 26, 26, 0.8);
}

.table-row:hover {
    background-color: rgba(40, 40, 40, 0.9);
}

.filter-section {
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.steamid-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.steamid-text {
    font-family: monospace;
    color: #60a5fa;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    word-break: break-all;
}

/* ==========================================================================
   Mobile Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    .server-card h2 {
        font-size: 1.5rem;
    }
    
    .filter-section {
        padding: 1rem;
    }
    
    .date-badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .media-container iframe {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
}