:root {
    --bg-primary: #1a1c1e;
    --bg-secondary: #23252a;
    --bg-tertiary: #2b2d31;
    --bg-interactive-hover: #32353a;

    --text-primary: #ffffff;
    --text-secondary: #b5bac1;
    --text-muted: #949ba4;

    --accent-primary: #5865f2;
    --accent-secondary: #4752c4;
    --accent-success: #23a55a;

    --border-color: #2f3136;
    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 12px;

    --shadow-subtle: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-strong: 0 8px 16px rgba(0,0,0,0.2);

    --font-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* --- Standard Theme (Original) --- */
    --bg-gradient: linear-gradient(180deg, #191725 0%, #5865F2 50%, #191725 100%);
    --text-primary-theme: #ffffff;
    --text-secondary-theme: #b5bac1;
    --bg-tertiary-theme: #2b2d31;
    --bg-interactive-hover-theme: #32353a;
}

body[data-theme="theme-1"] {
    --bg-gradient: linear-gradient(180deg, #0d1226 0%, #1a2a6c 50%, #0d1226 100%);
}
body[data-theme="theme-2"] {
    --bg-gradient: linear-gradient(180deg, #0a1410 0%, #0f3d24 50%, #0a1410 100%);
}
body[data-theme="theme-3"] {
    --bg-gradient: linear-gradient(180deg, #1a1014 0%, #4d192c 50%, #1a1014 100%);
}
body[data-theme="theme-4"] {
    --bg-gradient: linear-gradient(180deg, #2a3a9a 0%, #5865f2 100%);
}
body[data-theme="theme-5"] {
    --bg-gradient: linear-gradient(180deg, #128054 0%, #34e89e 100%);
}
body[data-theme="theme-6"] {
    --bg-gradient: linear-gradient(180deg, #b22a7f 0%, #f759ab 100%);
}
body[data-theme="theme-7"] {
    --bg-gradient: linear-gradient(180deg, #7aa5f0 0%, #eef2f9 100%);
    --text-primary-theme: #1a1c1e;
    --text-secondary-theme: #2b2d31;
    --bg-tertiary-theme: #e5e7eb;
    --bg-interactive-hover-theme: #d1d5db;
}
body[data-theme="theme-8"] {
    --bg-gradient: linear-gradient(180deg, #8af5c4 0%, #f0fdf7 100%);
    --text-primary-theme: #1a1c1e;
    --text-secondary-theme: #2b2d31;
    --bg-tertiary-theme: #e5e7eb;
    --bg-interactive-hover-theme: #d1d5db;
}
body[data-theme="theme-9"] {
    --bg-gradient: linear-gradient(180deg, #f09cc9 0%, #fdf2f8 100%);
    --text-primary-theme: #1a1c1e;
    --text-secondary-theme: #2b2d31;
    --bg-tertiary-theme: #e5e7eb;
    --bg-interactive-hover-theme: #d1d5db;
}

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

body {
    font-family: var(--font-sans-serif);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary-theme);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background 0.5s ease; /* Sanfter Übergang beim Themenwechsel */
}

.maintenance-banner {
    background-color: #ffcc00; 
    color: #333;
    text-align: center;
    padding: 8px 10px; 
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    position: fixed; 
    top: 0;
    left: 0;
    z-index: 10000;
}
body {
    padding-top: 30px;
}

.container {
    max-width: 1140px; /* Standard-Bootstrap-Containerbreite für gute Lesbarkeit */
    margin: 0 auto;
    padding: 0 20px;
}

/* Globale Link-Stile */
a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--accent-secondary);
}

/* Navigationsleiste - Modernisiert */
.navbar {
    background-color: transparent;
    padding: 20px 0; /* Etwas mehr vertikales Padding, um alles tiefer zu setzen */
    /* border-bottom: 1px solid var(--border-color); */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.1em;
    font-weight: 600;
}

.nav-logo img {
    height: 30px;
}

.nav-menu {
    display: flex;
    gap: 16px;
    list-style: none;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius-medium);
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    background-color: var(--bg-interactive-hover-theme);
    color: var(--text-primary-theme);
}

/* --- Navigation Toggle (Hamburger-Button) --- */
.nav-toggle {
    display: none; /* Standardmäßig auf Desktop versteckt */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100; /* Wichtig, damit er über anderen Elementen liegt */
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Hero Section - Modernisiert */
.hero-section {
    /* background: linear-gradient(160deg, #1a1c1e 0%, #23252a 100%); */
    background: transparent;
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    /* border-bottom: 1px solid var(--border-color); */
}

.hero-title-container {
    margin-bottom: 35px;
}

.hero-title-container h1 {
    font-size: 3.2em;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.1;
    margin: 0;
}

.hero-discord-logo {
    height: 45px;
    margin: 0 12px;
    vertical-align: baseline;
}

.hero-search-container {
    max-width: 580px;
    margin: 0 auto 35px;
    background-color: rgba(25, 23, 37, 0.6); /* Leichter lila Ton passend zum Verlauf */
    backdrop-filter: blur(10px); /* Stärkerer Unschärfe-Effekt */
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-medium);
    display: flex;
    align-items: center;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtiler heller Rand */
    transition: all 0.2s ease;
}

.hero-search-container:focus-within {
    border-color: rgba(88, 101, 242, 0.8); /* Akzentfarbe beim Fokus */
    background-color: rgba(25, 23, 37, 0.8); /* Etwas dunkler beim Fokus */
}

#hero-search-input {
    flex-grow: 1;
    padding: 12px 16px;
    border: none;
    background-color: transparent; /* WICHTIG: Macht das Eingabefeld durchsichtig */
    color: var(--text-primary);
    font-size: 1.1em;
    outline: none;
}

#hero-search-button {
    padding: 12px 16px;
    background-color: var(--accent-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

#hero-search-button:hover {
    background-color: var(--accent-secondary);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.hero-action-link,
.hero-action-button {
    padding: 10px 20px;
    border-radius: var(--border-radius-medium);
    font-weight: 600;
    font-size: 0.95em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.hero-action-link {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-action-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.hero-action-button {
    background-color: var(--accent-primary);
    color: white;
}

.hero-action-button:hover {
    background-color: var(--accent-secondary);
    color: white;
}

/* Tags Bar - Modernisiert */
.tags-bar-section {
    background: transparent;
    padding: 16px 0;
    position: sticky;
    top: 0; /* Haftet jetzt ganz oben */
    z-index: 100;
}

.tags-bar-container {
    display: flex;
    /* flex-wrap: wrap; */ /* Deaktiviert, um horizontales Layout zu erzwingen */
    gap: 12px; /* Zurück zum ursprünglichen Abstand */
    overflow-x: auto; /* Horizontales Scrollen aktivieren */
    padding-bottom: 8px; /* Etwas Platz für die Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-secondary);
}

/* Scrollbar-Styling wieder aktivieren */
.tags-bar-container::-webkit-scrollbar {
    height: 6px; /* Etwas dicker für bessere Sichtbarkeit */
}

.tags-bar-container::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.tags-bar-container::-webkit-scrollbar-thumb {
    background-color: var(--accent-primary);
    border-radius: 4px;
}

.tag-link {
    color: var(--text-secondary);
    font-size: 0.9em;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: var(--bg-tertiary);
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.tag-link:hover {
    background-color: var(--bg-interactive-hover);
    color: var(--text-primary);
}

.tag-link.active {
    background-color: var(--accent-primary);
    color: white;
}

.tag-count {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-left: 4px;
}

/* Server Cards - Modernisiert */
.server-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 32px 0;
}

.server-card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.server-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.server-card-banner {
    height: 90px;
    background: linear-gradient(45deg, var(--bg-tertiary), var(--accent-primary));
    position: relative;
    overflow: hidden;
}

/* Admin-Tag Ribbon Stile */
.admin-tag-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 8px;
    font-size: 0.75em;
    font-weight: 600;
    color: white;
    text-align: center;
    z-index: 1;
    border-bottom-left-radius: var(--border-radius-medium);
    background-color: var(--accent-secondary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Spezifische Farben für die Admin-Tags */
.admin-tag-partner {
    background-color: #7289da;
}

.admin-tag-intern {
    background-color: #43b581;
}

.admin-tag-premium {
    background-color: #faa61a;
}

.server-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.server-card-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.server-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 4px solid var(--bg-secondary);
    margin-top: -32px;
    background-color: var(--bg-tertiary);
    position: relative;
}

.server-card-name {
    font-size: 1.25em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.server-card-online-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 12px;
}

.online-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-success);
    border-radius: 50%;
}

.server-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.tag-badge {
    background-color: var(--bg-tertiary);
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: var(--border-radius-small);
    font-size: 0.8em;
    font-weight: 500;
}

.server-card-description {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 60px;
}

.server-card-join-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius-medium);
    font-weight: 600;
    font-size: 0.95em;
    transition: background-color 0.2s ease;
}

.server-card-join-button:hover {
    background-color: var(--accent-secondary);
    color: #fff;
    border:none;
}

.server-card-join-button svg {
    stroke: #fff; /* SVG Icon sollte zum Button-Text passen */
}

/* Footer - Modernisiert */
footer {
    /* background-color: var(--bg-secondary); */
    background-color: transparent;
    padding: 60px 0 30px;
    margin-top: 60px;
    /* border-top: 1px solid var(--border-color); */
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo-link {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h3 {
    color: var(--text-primary);
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column a {
    color: var(--text-secondary);
    display: block;
    margin-bottom: 12px;
    font-size: 0.9em;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 30px;
    /* border-top: 1px solid var(--border-color); */
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9em;
}

/* Server Listing Actions */
.server-listing-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

.server-listing-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.sort-select {
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--border-radius-medium);
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-select:hover {
    border-color: var(--text-muted);
}

.sort-select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* User Info in Nav */
#user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

#user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

#user-name {
    font-weight: 600;
    color: var(--text-primary);
    background: transparent !important; /* Entfernt den unschönen Kasten */
    padding: 0 !important;
}

/* Login Button in Nav */
#login-button-li .login-button {
    background-color: var(--accent-primary);
    color: white;
}

#login-button-li .login-button:hover {
    background-color: var(--accent-secondary);
}

/* Logout button inside user info */
#user-info .login-button {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 8px 12px;
}

#user-info .login-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

/* --- KOMPLETT NEUES RESPONSIVE DESIGN --- */
/* Media Query für Tablets und Smartphones */
@media (max-width: 768px) {
    /* --- Body & Container --- */
    body {
        /* Banner-Höhe wird nicht mehr benötigt */
        /* padding-top: 48px; */
    }
    .container {
        padding: 0 20px;
    }

    /* --- Navbar --- */
    .nav-container {
        flex-direction: row; /* Logo und Toggle in einer Reihe */
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    .nav-toggle {
        display: block; /* Auf Mobilgeräten anzeigen */
    }

    .nav-wrapper {
        display: none; /* Menü standardmäßig ausblenden */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(26, 28, 30, 0.98); /* Hintergrund für das Vollbildmenü */
        backdrop-filter: blur(5px);
        padding-top: 80px; /* Platz für Logo/Schließen-Button */
        z-index: 1050;
    }
    .nav-wrapper.is-active {
        display: block; /* Menü einblenden */
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        width: 100%;
    }
    .nav-menu a {
        font-size: 1.5em; /* Größere Schrift im Menü */
    }

    .nav-logo {
        white-space: nowrap; /* Verhindert Umbruch im Logo-Text */
    }
    
    /* Animation für Hamburger -> X */
    .nav-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* --- Hero Section --- */
    .hero-section {
        padding: 40px 0;
    }
    .hero-title-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px; /* Abstand zwischen den Elementen */
    }
    .hero-title-container h1 {
        font-size: clamp(2em, 10vw, 2.8em); /* Responsive Schriftgröße */
        line-height: 1.1;
    }
    .hero-discord-logo {
        height: clamp(28px, 8vw, 40px); /* Responsive Logo-Größe */
        margin: 0;
    }

    .hero-search-container {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        max-width: 100%; /* Volle Breite nutzen */
    }
    #hero-search-input, #hero-search-button {
        width: 100%;
    }
    #hero-search-input {
        text-align: center;
    }
    #hero-search-button {
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch; /* Buttons füllen die Breite */
        margin-top: 20px;
    }
    .hero-action-link, .hero-action-button {
        width: 100%;
        justify-content: center; /* Text in Buttons zentrieren */
    }

    /* --- Tags & Server Liste --- */
    .tags-bar-section {
        background: transparent;
        padding: 16px 0;
        position: sticky;
        top: 0; /* Haftet jetzt ganz oben */
        z-index: 100;
    }
    .server-cards-grid {
        grid-template-columns: 1fr;
    }
    .server-listing-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    /* --- Footer --- */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-description {
        max-width: 400px;
        margin: 0 auto; /* Zentrieren */
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-column {
        align-items: center;
    }
}

/* Ausgeblendete Elemente (Live-Feed, alte Suche etc.) */
#live-feed, #server-search, .filter-controls {
    display: none; /* Standardmäßig ausblenden, wie im HTML schon angedeutet */
}

/* Hilfsklassen */
.text-accent {
    color: var(--accent-primary);
}

/* Weitere Anpassungen für ein extrem modernes Gefühl könnten sein:
   - Mehr Einsatz von Icons
   - Subtile Animationen beim Laden von Elementen (z.B. Karten)
   - Verfeinerte Schatten und Tiefeneffekte
   - Eventuell ein "Glasmorphismus"-Effekt an einigen Stellen, falls passend
*/

/* Beispiel CSS */
.server-tile-header {
    background-image: url('URL_DES_BANNERS_HIER_EINSETZEN');
    background-size: cover;
    background-position: center;
    height: 100px; /* oder eine passende Höhe */
}

/* --- Theme Selector (jetzt im Footer) --- */
.footer-theme-selector-container {
    position: relative; /* Wichtig für die Positionierung des Dropdowns */
}

.theme-selector-footer {
    position: relative;
}

.theme-button {
    background-color: var(--bg-tertiary-theme);
    border: 1px solid var(--border-color);
    color: var(--text-secondary-theme);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--border-radius-medium);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
    width: 100%;
    text-align: left;
    font-size: 0.9em;
}

.theme-button:hover {
    background-color: var(--bg-interactive-hover-theme);
    color: var(--text-primary-theme);
}

.theme-options-container {
    display: none;
    position: absolute;
    bottom: 100%; /* Öffnet sich nach oben */
    left: 0;
    margin-bottom: 8px; /* Abstand zum Button */
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    padding: 8px;
    z-index: 1200;
    width: 100%; /* Nimmt die Breite des Elternelements (.footer-column) ein */
    box-shadow: var(--shadow-strong);
}

.theme-options-container.visible {
    display: block;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    cursor: pointer;
    border-radius: var(--border-radius-small);
    transition: background-color 0.2s ease;
}

.theme-option:hover {
    background-color: var(--bg-interactive-hover-theme);
}

.theme-preview {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.theme-name {
    font-size: 0.9em;
    font-weight: 500;
    color: var(--text-primary-theme);
}

/* --- NEU: Top Server Seite --- */
.top-server-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 20px 0;
}
.top-server-header h1 {
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 10px;
}
.top-server-header p {
    font-size: 1.1em;
    color: var(--text-secondary-theme);
    max-width: 600px;
    margin: 0 auto;
}

.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.podium-step {
    width: 28%;
    max-width: 260px;
    min-width: 200px;
    padding: 25px 20px;
    border-radius: var(--border-radius-large);
    text-align: center;
    background: rgba(30, 32, 37, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.podium-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.podium-rank {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: 700;
    color: #fff;
}

.podium-first { order: 2; height: 300px; }
.podium-second { order: 1; height: 260px; }
.podium-third { order: 3; height: 220px; }

.podium-first .podium-rank { background-color: #FFD700; color: #333; }
.podium-second .podium-rank { background-color: #C0C0C0; color: #333; }
.podium-third .podium-rank { background-color: #CD7F32; color: #fff; }

.podium-crown {
    position: absolute;
    top: 15px;
    font-size: 2em;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-15px);}
    60% {transform: translateY(-8px);}
}

.podium-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 15px;
}
.podium-name {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text-primary-theme);
    margin-bottom: 8px;
}
.podium-bumps {
    font-size: 0.95em;
    color: var(--text-secondary-theme);
    margin-bottom: 20px;
}
.podium-join-button {
    background-color: var(--accent-primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius-medium);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}
.podium-join-button:hover {
    background-color: var(--accent-secondary);
}

.top-server-list-container {
    margin-top: 50px;
}
.top-server-list-container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}
.top-server-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}
.top-server-list-item {
    display: flex;
    align-items: center;
    background-color: var(--bg-secondary);
    padding: 15px;
    border-radius: var(--border-radius-medium);
    margin-bottom: 10px;
    transition: background-color 0.2s ease;
}
.top-server-list-item:hover {
    background-color: var(--bg-interactive-hover-theme);
}

.list-rank {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--text-secondary-theme);
    width: 40px;
    text-align: center;
}
.list-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 15px;
}
.list-details {
    flex-grow: 1;
}
.list-name {
    font-weight: 600;
    color: var(--text-primary-theme);
    display: block;
}
.list-bumps {
    font-size: 0.9em;
    color: var(--text-secondary-theme);
}
.list-join-button {
    background-color: var(--bg-tertiary-theme);
    color: var(--text-secondary-theme);
    padding: 8px 16px;
    border-radius: var(--border-radius-medium);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}
.list-join-button:hover {
    background-color: var(--accent-primary);
    color: white;
} 