.servers-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.servers-title {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 2px;
}

.servers-title i {
    color: #f97316;
}

.servers-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.server-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

body.dark .server-card {
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
}

.server-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(168,85,247,0.08), transparent);
    opacity: 0;
    transition: 0.3s;
    z-index: 0;
}

.server-card:hover::before {
    opacity: 1;
}

.server-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: #a855f7;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

body.dark .server-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.server-logo,
.server-info,
.server-status {
    position: relative;
    z-index: 1;
}

.server-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.server-info h3 {
    font-size: 15px;
    margin: 0;
    font-weight: 600;
}

.server-ip {
    font-size: 12px;
    opacity: 0.6;
}

.server-discord {
    font-size: 12px;
    color: #5865f2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 2;
}

.server-discord:hover {
    opacity: 0.8;
}

.server-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    font-weight: 500;
    white-space: nowrap;
}

body.dark .server-status {
    background: #1f1f1f;
}

.server-status.online {
    background: rgba(34,197,94,0.12);
    color: #22c55e;
}

.server-status.offline {
    background: rgba(239,68,68,0.12);
    color: #ef4444;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 6px currentColor;
    animation: pulse 1.5s infinite;
    flex-shrink: 0;
}

.players {
    white-space: nowrap;
    font-weight: 600;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

@media (max-width: 768px) {
    .servers-container {
        width: 92%;
    }

    .servers-grid {
        grid-template-columns: 1fr;
    }

    .server-card {
        padding: 16px;
    }

    .server-logo {
        width: 44px;
        height: 44px;
    }

    .server-info h3 {
        font-size: 14px;
    }

    .server-ip {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .servers-container {
        width: 96%;
    }

    .server-card {
        padding: 14px;
        border-radius: 14px;
    }

    .server-status {
        font-size: 11px;
        padding: 5px 8px;
    }
}