* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal: #3d9b9b;
    --teal-dark: #2d7a7a;
    --teal-light: #5bbdbd;
    --coral: #e87d5e;
    --coral-dark: #d66a4a;
    --sunset: #f4a261;
    --sunset-light: #f6b679;
    --forest: #2d5a3d;
    --forest-light: #3d7a4d;
    --stone: #6b7280;
    --stone-dark: #4b5563;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    color: white;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/backgroung.jpeg') center/cover no-repeat;
    filter: blur(3px);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: -1;
}

/* Minecraft Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    image-rendering: pixelated;
    animation: float-up 15s infinite linear;
    opacity: 0;
}

.particle:nth-child(1) { left: 5%; animation-delay: 0s; background: rgba(61, 155, 155, 0.7); width: 6px; height: 6px; }
.particle:nth-child(2) { left: 15%; animation-delay: 1s; background: rgba(232, 125, 94, 0.7); width: 10px; height: 10px; }
.particle:nth-child(3) { left: 25%; animation-delay: 2s; background: rgba(244, 162, 97, 0.6); width: 8px; height: 8px; }
.particle:nth-child(4) { left: 35%; animation-delay: 3s; background: rgba(45, 90, 61, 0.7); width: 12px; height: 12px; }
.particle:nth-child(5) { left: 45%; animation-delay: 4s; background: rgba(91, 189, 189, 0.6); width: 6px; height: 6px; }
.particle:nth-child(6) { left: 55%; animation-delay: 5s; background: rgba(255, 255, 255, 0.5); width: 8px; height: 8px; }
.particle:nth-child(7) { left: 65%; animation-delay: 6s; background: rgba(232, 125, 94, 0.6); width: 10px; height: 10px; }
.particle:nth-child(8) { left: 75%; animation-delay: 7s; background: rgba(61, 155, 155, 0.6); width: 8px; height: 8px; }
.particle:nth-child(9) { left: 85%; animation-delay: 8s; background: rgba(244, 162, 97, 0.7); width: 6px; height: 6px; }
.particle:nth-child(10) { left: 95%; animation-delay: 9s; background: rgba(45, 90, 61, 0.6); width: 10px; height: 10px; }
.particle:nth-child(11) { left: 10%; animation-delay: 10s; background: rgba(91, 189, 189, 0.5); width: 8px; height: 8px; }
.particle:nth-child(12) { left: 30%; animation-delay: 11s; background: rgba(255, 255, 255, 0.6); width: 6px; height: 6px; }
.particle:nth-child(13) { left: 50%; animation-delay: 12s; background: rgba(232, 125, 94, 0.7); width: 12px; height: 12px; }
.particle:nth-child(14) { left: 70%; animation-delay: 13s; background: rgba(61, 155, 155, 0.5); width: 8px; height: 8px; }
.particle:nth-child(15) { left: 90%; animation-delay: 14s; background: rgba(244, 162, 97, 0.6); width: 10px; height: 10px; }

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: transparent;
    padding: 20px 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.nav-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Page Content */
.page-content {
    text-align: center;
    padding: 60px 40px;
    background: rgba(61, 155, 155, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(61, 155, 155, 0.3);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-content h2 {
    font-size: 2.5em;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Rules Page */
.rules-page {
    max-width: 900px;
    margin: 0 auto;
}

.rules-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    background: rgba(61, 155, 155, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(61, 155, 155, 0.3);
}

.rules-header h2 {
    font-size: 2.2em;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.rules-intro {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 15px;
}

.rules-notice {
    font-size: 0.95em;
    color: var(--sunset);
    font-weight: 500;
    background: rgba(244, 162, 97, 0.15);
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
}

.rules-section {
    margin-bottom: 30px;
    padding: 30px;
    background: rgba(45, 90, 61, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(61, 155, 155, 0.3);
}

.rules-section h3 {
    font-size: 1.5em;
    color: var(--teal-light);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(61, 155, 155, 0.3);
}

.rule-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: background 0.3s ease;
}

.rule-item:last-child {
    margin-bottom: 0;
}

.rule-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.rule-icon {
    font-size: 1.5em;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rule-content h4 {
    font-size: 1.1em;
    color: white;
    margin-bottom: 8px;
}

.rule-content p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.rule-content strong {
    color: var(--coral);
}

.rules-footer {
    text-align: center;
    padding: 30px;
    background: rgba(61, 155, 155, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(61, 155, 155, 0.3);
}

.rules-footer p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.coming-soon {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-brand:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.logo-image {
    width: 50px;
    height: 50px;
}

.text-image {
    height: 40px;
    width: auto;
}

/* Glitch Effect */
.header-brand:hover .logo-image,
.header-brand:hover .text-image {
    animation: glitch-logo 0.3s infinite;
}

@keyframes glitch-logo {
    0%, 100% { transform: translate(0); filter: none; }
    25% { transform: translate(-2px, 1px); filter: hue-rotate(90deg); }
    50% { transform: translate(2px, -1px); filter: hue-rotate(180deg); }
    75% { transform: translate(-1px, -2px); filter: hue-rotate(270deg); }
}

main {
    flex: 1;
    padding: 60px 50px;
    padding-top: 120px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.welcome {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(61, 155, 155, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(61, 155, 155, 0.3);
}

.welcome h2 {
    font-size: 2.2em;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.intro {
    font-size: 1.2em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.intro strong {
    color: var(--sunset-light);
    font-weight: 600;
}

.highlight {
    background: rgba(232, 125, 94, 0.2);
    border-left: 4px solid var(--coral);
    padding: 20px 25px;
    margin: 25px auto;
    border-radius: 10px;
    max-width: 600px;
}

.highlight p {
    font-size: 1.15em;
    color: white;
}

.highlight strong {
    color: var(--sunset);
}

.servers {
    margin: 60px 0;
}

.servers h3 {
    text-align: center;
    font-size: 2em;
    color: white;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.server-card {
    background: rgba(45, 90, 61, 0.3);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.1s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(61, 155, 155, 0.3);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.server-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    background: rgba(61, 155, 155, 0.25);
    cursor: pointer;
}

.server-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.server-card h4 {
    font-size: 1.5em;
    color: white;
    margin-bottom: 10px;
}

.server-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
}

.server-status {
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.95em !important;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: inline-block;
}

.server-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.btn-copy,
.btn-modpack {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-family: inherit;
    white-space: nowrap;
    width: 100%;
}

.btn-copy {
    background: var(--teal);
    color: white;
}

.btn-copy:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

.btn-copy.copied {
    background: #43b581;
}

.btn-modpack {
    background: var(--coral);
    color: white;
}

.btn-modpack:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
}

.btn-copy svg,
.btn-modpack svg {
    flex-shrink: 0;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 40px 30px;
    background: rgba(45, 90, 61, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-top: 40px;
    border: 1px solid rgba(61, 155, 155, 0.3);
}

.cta h3 {
    font-size: 1.6em;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Discord Section */
.whitelist-warning {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin: 0 0 25px 0;
    background: rgba(244, 162, 97, 0.15);
    padding: 12px 20px;
    border-radius: 10px;
    border-left: 3px solid var(--sunset);
    display: inline-block;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(61, 155, 155, 0.3);
    border: 1px solid rgba(61, 155, 155, 0.5);
    color: white;
    padding: 14px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.discord-button:hover {
    background: rgba(61, 155, 155, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(61, 155, 155, 0.3);
}

.discord-button svg {
    width: 24px;
    height: 24px;
}

.discord-stats {
    margin-top: 20px;
    margin-bottom: 20px;
}

.members-count {
    font-size: 1.2em;
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
}

.online-dot {
    width: 10px;
    height: 10px;
    background: var(--teal-light);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.whitelist-info {
    font-size: 1em;
    color: var(--sunset);
    font-weight: 600;
    margin: 15px 0 20px 0;
    background: rgba(244, 162, 97, 0.2);
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--sunset);
}

.cta p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.discord-btn {
    display: inline-block;
    background: var(--coral);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(232, 125, 94, 0.4);
}

.discord-btn:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(232, 125, 94, 0.5);
}

.note {
    margin-top: 20px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
}

code {
    background: rgba(61, 155, 155, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--teal-light);
    font-weight: 600;
}

footer {
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.8) 0%, rgba(61, 155, 155, 0.6) 100%);
    backdrop-filter: blur(10px);
    padding: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
    border-top: 1px solid rgba(61, 155, 155, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.95) 0%, rgba(61, 155, 155, 0.9) 100%);
    padding: 35px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(91, 189, 189, 0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: white;
}

#modal-title {
    font-size: 1.5em;
    color: white;
    margin-bottom: 25px;
    padding-right: 30px;
}

.player-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: background 0.3s;
}

.player-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.player-skin {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    image-rendering: pixelated;
}

.player-name {
    font-size: 1.1em;
    font-weight: 600;
    color: white;
}

.no-players {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1em;
    padding: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .server-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 0.85em;
    }

    .logo {
        flex-direction: column;
        gap: 10px;
    }

    .logo-text {
        text-align: center;
    }

    .logo-image {
        width: 60px;
        height: 60px;
    }

    .logo h1 {
        font-size: 1.6em;
    }

    main {
        padding: 30px 20px;
    }

    .welcome {
        padding: 25px 20px;
    }

    .welcome h2 {
        font-size: 1.6em;
    }

    .servers h3,
    .quick-links h3,
    .cta h3 {
        font-size: 1.5em;
    }

    .server-grid,
    .links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .server-card,
    .link-card {
        padding: 30px 25px;
    }

    .cta {
        padding: 30px 20px;
    }

    .discord-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .modal-content {
        padding: 25px;
        max-width: 95%;
    }

    #modal-title {
        font-size: 1.3em;
    }
}

/* Leaderboards Page */
.leaderboards-page {
    max-width: 1200px;
    margin: 0 auto;
}

.leaderboards-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    background: rgba(61, 155, 155, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(61, 155, 155, 0.3);
}

.leaderboards-header h2 {
    font-size: 2.2em;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.leaderboards-intro {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* Server Filter Buttons */
.server-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid rgba(61, 155, 155, 0.5);
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.filter-btn:hover {
    background: rgba(61, 155, 155, 0.3);
    border-color: var(--teal);
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-color: var(--teal-light);
    color: white;
    box-shadow: 0 4px 15px rgba(61, 155, 155, 0.4);
}

.filter-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 155, 155, 0.5);
}

.leaderboards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.leaderboard-card {
    background: rgba(45, 90, 61, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(61, 155, 155, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leaderboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.leaderboard-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 25px;
    background: rgba(61, 155, 155, 0.2);
    border-bottom: 1px solid rgba(61, 155, 155, 0.3);
}

.leaderboard-icon {
    font-size: 1.5em;
}

.leaderboard-title h3 {
    font-size: 1.3em;
    color: white;
    margin: 0;
}

.leaderboard-list {
    padding: 15px;
}

.leaderboard-entry {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 8px;
    transition: background 0.3s ease;
}

.leaderboard-entry:last-child {
    margin-bottom: 0;
}

.leaderboard-entry:hover {
    background: rgba(255, 255, 255, 0.1);
}

.leaderboard-entry .rank {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.leaderboard-entry.rank-1 .rank {
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: #1a1a1a;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.leaderboard-entry.rank-2 .rank {
    background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
    color: #1a1a1a;
    box-shadow: 0 3px 10px rgba(192, 192, 192, 0.3);
}

.leaderboard-entry.rank-3 .rank {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    color: #1a1a1a;
    box-shadow: 0 3px 10px rgba(205, 127, 50, 0.3);
}

.leaderboard-entry .player-name {
    flex: 1;
    font-weight: 600;
    color: white;
    font-size: 0.95em;
}

.leaderboard-entry.rank-1 .player-name {
    color: #ffd700;
}

.leaderboard-entry.rank-2 .player-name {
    color: #e0e0e0;
}

.leaderboard-entry.rank-3 .player-name {
    color: #dda15e;
}

.leaderboard-entry .player-stat {
    font-weight: 600;
    color: var(--teal-light);
    font-size: 0.9em;
    background: rgba(61, 155, 155, 0.2);
    padding: 5px 12px;
    border-radius: 6px;
}

.leaderboards-footer {
    text-align: center;
    padding: 25px;
    background: rgba(61, 155, 155, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(61, 155, 155, 0.3);
}

.leaderboards-footer p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Responsive Leaderboards */
@media (max-width: 900px) {
    .leaderboards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .leaderboards-header {
        padding: 25px 20px;
    }

    .leaderboards-header h2 {
        font-size: 1.7em;
    }

    .leaderboard-title {
        padding: 15px 20px;
    }

    .leaderboard-title h3 {
        font-size: 1.1em;
    }

    .leaderboard-list {
        padding: 10px;
    }

    .leaderboard-entry {
        padding: 10px 12px;
        gap: 10px;
    }

    .leaderboard-entry .player-name {
        font-size: 0.85em;
    }

    .leaderboard-entry .player-stat {
        font-size: 0.8em;
        padding: 4px 8px;
    }
}
