* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #000000 0%, #330202 100%);        
    color: #ffffff;
    min-width: 1000px;
    width: 100%;
    overflow-x: auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* WICHTIG: Der Haupt-Container begrenzt die Breite */
.desktop-container {
    width: 1080px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header: Logo + Buttons in EINER Zeile */
.header-nav-wrapper {
    width: 1080px;
    margin: 0 auto;
}

/* Flag Icon */
.flag-icon {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    display: inline-block;
    vertical-align: middle;
    background-size: cover;
}
.flag-icon-un {
    background: #666 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 8px;
    font-weight: bold;
}

/* Main Navigation Buttons */
.main-nav-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    align-items: center;
}

.nav-btn {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
}

.nav-btn-primary {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
}
.nav-btn-primary:hover {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4);
    color: white;
}

.nav-btn-outline {
    background: transparent;
    border: 2px solid #ff4444;
    color: #ffffff;
}
.nav-btn-outline:hover {
    background: #ff4444;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4);
}

.nav-btn-section {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4);
}

/* Dropdown */
.dropdown-item-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.2s ease;
}
.dropdown-item-custom:hover {
    background: rgba(255,68,68,0.2);
    color: #ff4444;
}

/* Login Bar */
.login-bar {
    background: linear-gradient(135deg, #000000 0%, #631818 100%);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
    padding: 10px 0;
    width: 100%;
}

/* Games Slideshow */
.games-slideshow {
    background: linear-gradient(135deg, #000000 0%, #3b0b06 100%);        
    border-radius: 1px;
    padding: 10px;
    margin: 10px 0;
    width: 100%;
}
.slideshow-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 1px;
    width: 100%;
}
.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1s ease;
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end; padding: 10px;
}
.slide.active { opacity: 1; }
.slide-content { background: rgba(0, 0, 0, 0.7); padding: 8px 12px; border-radius: 4px; width: 100%; }
.slide-content h3 { font-size: 1.2rem; margin-bottom: 3px; }
.slide-content p { font-size: 0.85rem; margin: 0; }
.slide-nav { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.slide-dot { width: 8px; height: 8px; border-radius: 50%; background: #444; cursor: pointer; transition: background 0.3s ease; }
.slide-dot.active { background: #ff4444; }

/* Stats Section - 3x3 Raster */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
    width: 100%;
    margin-top: 15px;
}

/* Stat Card Grunddesign & Hover */
.stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #000000 0%, #3b0b06 100%);
    padding: 8px 5px;
    border-radius: 6px;
    border-left: 2px solid #ff4444;
    min-height: 70px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.3);
}

.stat-number { font-size: 1.4rem; font-weight: bold; margin-bottom: 2px; }
.stat-label { color: #cccccc; font-size: 0.8rem; line-height: 1.1; }

.stat-number-text {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.stat-number-text::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 50%;
    background-color: #ff4444;
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.stat-card:hover .stat-number-text::after {
    width: 100%;
    left: 0;
}

.stat-card:hover .stat-number-text {
    color: #ff8888;
}

.social-card { cursor: pointer; }
.social-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

/* Footer Styles */
.custom-footer { background: linear-gradient(135deg, #0b0710 0%, #1a1a1a 100%); border-top: 3px solid #ff4444; margin-top: 20px; }
.footer-servers-section { padding: 15px 0; background: rgba(0, 0, 0, 0.7); }
.server-box { background: linear-gradient(135deg, #0b0710 0%, #330202 100%); border: 2px solid #330202; border-radius: 8px; padding: 8px; margin-bottom: 10px; height: 100%; }

.server-box-title { 
    color: #ffffff; 
    background: linear-gradient(135deg, #0b0710 0%, #330202 100%); 
    font-size: 14px; 
    font-weight: bold; 
    margin-bottom: 10px; 
    text-align: center; 
    border-bottom: none !important; 
    padding-bottom: 5px; 
}

.server-list { background: linear-gradient(135deg, #0b0710 0%, #330202 100%); max-height: 300px; overflow-y: auto; }

/* ENTFERNT: Linien zwischen Servern */
.server-item { 
    display: flex; 
    align-items: center; 
    padding: 5px; 
    border: none !important; 
    border-bottom: none !important;
    transition: background 0.3s ease; 
    gap: 8px; 
}
.server-item:hover { background: rgba(255, 68, 68, 0.1); }
.server-item:last-child { border: none !important; }

.footer-server-name { 
    color: #ffffff; 
    font-size: 11px; 
    font-weight: 600; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    flex: 1; 
    text-decoration: none !important; 
}

.footer-server-details { display: flex; align-items: center; gap: 6px; font-size: 10px; flex-shrink: 0; }
.players { color: #ff0000; font-weight: bold; white-space: nowrap; }
.country-flag { font-size: 12px; flex-shrink: 0; }
.game-type { color: #cccccc; background: #333; padding: 1px 4px; border-radius: 3px; font-size: 8px; white-space: nowrap; flex-shrink: 0; }
.server-rank { background: linear-gradient(135deg, #0b0710 0%, #330202 100%); color: white; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: bold; flex-shrink: 0; }
.footer-game-icon { width: 16px; height: 16px; object-fit: contain; border-radius: 3px; flex-shrink: 0; }
.footer-server-info { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }

/* Footer Bottom */
.footer-bottom { background: linear-gradient(135deg, #000000 15%, #401113 85%); padding: 10px 0; border-top: 2px solid #ff4444; position: relative; overflow: hidden; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; position: relative; z-index: 5; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.logo-image { height: 50px; width: auto; border-radius: 1px; }
.footer-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-nav a { color: #ffffff; text-decoration: none; font-weight: 500; font-size: 12px; transition: color 0.3s ease; }
.footer-nav a:hover { color: #ff4444; }
.footer-info { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.query-info { color: #cccccc; font-size: 10px; }
.status-info { color: #00ff00; font-size: 10px; font-weight: bold; }

/* Scrollbar */
.server-list::-webkit-scrollbar { width: 4px; }
.server-list::-webkit-scrollbar-track { background: #2a2a2a; border-radius: 3px; }
.server-list::-webkit-scrollbar-thumb { background: #ff4444; border-radius: 3px; }
.server-list::-webkit-scrollbar-thumb:hover { background: #cc0000; }

/* Hero */
.hero-section { text-align: center; padding: 20px 15px; background: radial-gradient(circle, rgba(51,2,2,0.8) 0%, rgba(0,0,0,0) 70%); }
.hero-title { font-size: 2rem; font-weight: 900; color: #ff4444; margin-bottom: 8px; text-shadow: 0 0 15px rgba(255,68,68,0.4); }
.hero-subtitle { font-size: 1rem; color: #ccc; margin-bottom: 12px; }
.hero-tags { margin-bottom: 15px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.tag { background: rgba(255, 68, 68, 0.2); border: 1px solid #ff4444; color: #ff4444; padding: 3px 8px; border-radius: 15px; font-size: 0.75rem; font-weight: bold; }

/* Buttons */
.btn-download { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%); color: white; padding: 10px 20px; font-size: 15px; font-weight: 800; border-radius: 6px; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4); border: 1px solid #ff6666; margin-bottom: 10px; }
.btn-download:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 20px rgba(255, 68, 68, 0.8); color: white; }
.btn-download i { font-size: 16px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.feature-card { background: rgba(30, 30, 30, 0.8); border: 1px solid #444; border-radius: 8px; padding: 15px; text-align: center; transition: transform 0.3s ease; }
.feature-card:hover { transform: translateY(-3px); border-color: #ff4444; }
.feature-icon { font-size: 1.8rem; color: #ff4444; margin-bottom: 10px; }
.feature-title { font-size: 1rem; font-weight: bold; margin-bottom: 5px; color: #fff; }
.feature-text { color: #aaa; font-size: 0.8rem; line-height: 1.4; }

@keyframes newsPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255,68,68,0.4); }
    50% { box-shadow: 0 0 20px rgba(255,68,68,0.7), 0 0 40px rgba(255,68,68,0.3); }
}

/* ============================================= */
/* AB HIER: SCHNEE-CSS AUS DER CHRISTMAS.PHP */
/* ============================================= */

/* ============ ORGANISCHER SCHNEE AM BODEN ============ */
.snow-ground-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    z-index: 9998;
    pointer-events: none;
}

.snow-mound {
    position: absolute;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0.85) 0%,
        rgba(248,250,255,0.95) 30%,
        rgba(235,240,248,0.9) 100%
    );
    border-radius: 50% 50% 0 0;
    box-shadow: 0 -2px 8px rgba(255,255,255,0.4);
}

.snow-drift {
    position: absolute;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0.9) 0%,
        rgba(245,248,255,0.95) 100%
    );
    border-radius: 60% 40% 0 0 / 100% 100% 0 0;
}

.snow-sparkle {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* ============ ORGANISCHE SCHNEE-AUFLAGE AUF ELEMENTEN ============ */
.snow-drift-top {
    position: absolute;
    top: -15px;
    left: -5px;
    right: -5px;
    height: 28px;
    z-index: 2;
    pointer-events: none;
    clip-path: polygon(
        0% 100%, 0% 60%, 3% 35%, 8% 55%, 12% 25%, 18% 50%, 
        22% 20%, 28% 45%, 33% 30%, 38% 55%, 42% 15%, 48% 40%, 
        53% 25%, 58% 50%, 63% 10%, 68% 35%, 73% 28%, 78% 48%, 
        82% 18%, 87% 42%, 92% 22%, 96% 38%, 100% 55%, 100% 100%
    );
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0.95) 0%,
        rgba(248,252,255,0.9) 40%,
        rgba(235,240,248,0.7) 100%
    );
    box-shadow: 0 2px 5px rgba(255,255,255,0.4), inset 0 -3px 5px rgba(200,210,230,0.3);
}

.snow-drift-top::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 12px;
    background: 
        radial-gradient(ellipse 20px 8px at 5% 90%, rgba(255,255,255,0.9) 70%, transparent 75%),
        radial-gradient(ellipse 15px 6px at 18% 85%, rgba(255,255,255,0.85) 70%, transparent 75%),
        radial-gradient(ellipse 25px 10px at 32% 95%, rgba(255,255,255,0.9) 70%, transparent 75%),
        radial-gradient(ellipse 18px 7px at 48% 88%, rgba(255,255,255,0.88) 70%, transparent 75%),
        radial-gradient(ellipse 22px 9px at 62% 92%, rgba(255,255,255,0.9) 70%, transparent 75%),
        radial-gradient(ellipse 16px 7px at 78% 86%, rgba(255,255,255,0.85) 70%, transparent 75%),
        radial-gradient(ellipse 20px 8px at 92% 90%, rgba(255,255,255,0.9) 70%, transparent 75%);
}

.snow-drift-top::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -2px;
    width: calc(100% + 4px);
    height: 10px;
    background: 
        radial-gradient(ellipse 12px 6px at 8% 0%, rgba(255,255,255,0.8) 60%, transparent 70%),
        radial-gradient(ellipse 10px 5px at 25% 0%, rgba(255,255,255,0.85) 60%, transparent 70%),
        radial-gradient(ellipse 14px 7px at 42% 0%, rgba(255,255,255,0.8) 60%, transparent 70%),
        radial-gradient(ellipse 11px 5px at 58% 0%, rgba(255,255,255,0.85) 60%, transparent 70%),
        radial-gradient(ellipse 13px 6px at 75% 0%, rgba(255,255,255,0.8) 60%, transparent 70%),
        radial-gradient(ellipse 10px 5px at 92% 0%, rgba(255,255,255,0.85) 60%, transparent 70%);
    border-radius: 0 0 60% 40% / 0 0 100% 100%;
}

.snow-icicle {
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0.9) 0%,
        rgba(220,235,255,0.7) 50%,
        rgba(200,220,245,0.2) 80%,
        transparent 100%
    );
    border-radius: 0 0 2px 2px;
    z-index: 1;
    pointer-events: none;
}

/* ============ CHEERS ANIMATION ============ */
.cheers-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    pointer-events: none;
    animation: cheersFadeInOut 4s ease-in-out forwards;
}

@keyframes cheersFadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
    15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
    25% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    75% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    90% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
}

.cheers-glass {
    position: absolute;
    font-size: 80px;
    animation: glassClink 4s ease-in-out forwards;
}

.glass-left {
    left: -60px;
    animation: glassLeft 4s ease-in-out forwards;
}

.glass-right {
    right: -60px;
    animation: glassRight 4s ease-in-out forwards;
}

@keyframes glassLeft {
    0% { transform: translateX(-100px) rotate(-30deg); opacity: 0; }
    20% { transform: translateX(0px) rotate(-5deg); opacity: 1; }
    40% { transform: translateX(0px) rotate(0deg); }
    60% { transform: translateX(0px) rotate(0deg); }
    80% { transform: translateX(0px) rotate(0deg); }
    100% { transform: translateX(-50px) rotate(-10deg); opacity: 0; }
}

@keyframes glassRight {
    0% { transform: translateX(100px) rotate(30deg); opacity: 0; }
    20% { transform: translateX(0px) rotate(5deg); opacity: 1; }
    40% { transform: translateX(0px) rotate(0deg); }
    60% { transform: translateX(0px) rotate(0deg); }
    80% { transform: translateX(0px) rotate(0deg); }
    100% { transform: translateX(50px) rotate(10deg); opacity: 0; }
}

.cheers-spark {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffd700;
    border-radius: 50%;
    animation: sparkBurst 1.5s ease-out forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

@keyframes sparkBurst {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(0); }
}

.cheers-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(255,215,0,1) 0%, rgba(255,215,0,0.5) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 4s ease-in-out forwards;
}

@keyframes glowPulse {
    0%, 30% { width: 10px; height: 10px; opacity: 0; }
    38% { width: 150px; height: 150px; opacity: 0.8; }
    50% { width: 80px; height: 80px; opacity: 0.5; }
    60% { width: 120px; height: 120px; opacity: 0.6; }
    75% { width: 50px; height: 50px; opacity: 0.3; }
    100% { width: 10px; height: 10px; opacity: 0; }
}

.cheers-text {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 36px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255,215,0,0.8), 0 0 40px rgba(255,215,0,0.4);
    white-space: nowrap;
    animation: textAppear 4s ease-in-out forwards;
    opacity: 0;
}

@keyframes textAppear {
    0%, 30% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    40% { opacity: 1; transform: translateX(-50%) translateY(0); }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

/* ============ FALLENDE SCHNEEFLOCKEN ============ */
@keyframes snowfall1 {
    0% { transform: translateY(-10px) translateX(0px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.9; }
    90% { opacity: 0.7; }
    100% { transform: translateY(100vh) translateX(120px) rotate(360deg); opacity: 0; }
}

@keyframes snowfall2 {
    0% { transform: translateY(-10px) translateX(0px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.6; }
    100% { transform: translateY(100vh) translateX(-100px) rotate(-360deg); opacity: 0; }
}

@keyframes snowfall3 {
    0% { transform: translateY(-10px) translateX(0px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.85; }
    90% { opacity: 0.75; }
    100% { transform: translateY(100vh) translateX(60px) rotate(180deg); opacity: 0; }
}

.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9999;
    pointer-events: none;
}

/* ============ SCHNEE ANPASSUNGEN (FINAL) ============ */

/* 1. SCHNEE AUF DEN STAT-KARTEN (Die 3x3 Boxen) */
.stat-card .snow-drift-top {
    top: -15px !important;      /* Schnee nach oben schieben */
    height: 12px !important;    /* Schnee ganz flach machen */
    z-index: 10 !important;
}

.stat-card .snow-icicle {
    display: none !important;   /* Keine Eiszapfen auf den Karten */
}

/* 2. SCHNEE IM FOOTER-BOTTOM (Der Bereich mit GAMES, SERVERS etc.) */
.footer-bottom .snow-drift-top {
    top: -20px !important;      /* Schnee ganz nach oben schieben */
    height: 10px !important;    /* Extremer flacher Schnee */
    z-index: 10 !important;
}

.footer-bottom .snow-icicle {
    display: none !important;
}

/* 3. TEXT IM FOOTER NACH VORNE HOLEN */
.footer-bottom-content,
.footer-nav,
.footer-info,
.footer-logo {
    position: relative;
    z-index: 20 !important; /* Text liegt über dem Schnee */
}

/* 4. SCHNEE AUF DER NAVIGATION (Die Buttons oben) */
.main-nav-buttons .snow-drift-top {
    top: -20px !important; 
    height: 15px !important; 
}

.main-nav-buttons .snow-icicle {
    bottom: -5px !important;
    height: 8px !important;
}