body {}

.body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}


.servers {
    width: 100%;
    max-width: 1500px;
    padding: 2rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.server-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .3s ease;
}

.server-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}

.banner {
    height: 100px;
    position: relative;
    overflow: hidden;
}

.banner img,
.banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edit-link {
    color: var(--muted);
    font-size: 1.2rem;
    text-decoration: none;
    transition: color .2s;
}

.edit-link:hover {
    color: var(--accent);
}

.banner-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: var(--accent);
    color: #fff;
    font-size: .8rem;
    padding: 3px 8px;
    border-radius: var(--radius);
}

.card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.meta {
    color: var(--muted);
    font-size: .9rem;
}

.description {
    font-size: .9rem;
    color: var(--muted);
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge {
    background: var(--accent-ghost);
    color: var(--text);
    border-radius: 8px;
    padding: 3px 8px;
    font-size: .8rem;
}

.card-actions {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: .8rem 1rem;
}



.server-card {
    background: var(--card);
    color: var(--fg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    height: 18rem;
}

.server-card .card-body {
    padding: 1rem;
}

.server-card .card-actions {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    border-top: 1px solid var(--border);
}

.server-card.add-new {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 2rem;
    font-weight: bold;
    height: 18rem;
}

.server-card.add-new .plus-icon {
    display: inline-block;
}

.btn {
    background: var(--accent);
    border: none;
    padding: .5rem 1rem;
    border-radius: var(--radius);
    color: #fff;
    cursor: pointer;
    transition: background .2s;
    text-decoration: none;
}



.cta i {
    margin-right: 4px;
    font-size: 1.1rem;
}

.online {
    color: #25ff73;
}

.offline {
    color: var(--muted);
}

.logout {
    text-align: center;
    color: var(--muted);
}

.no-servers {
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 420px) {
    .servers {

        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}