/* ------------------------------------------------------
 * BANNER
 * ------------------------------------------------------ */
.server-banner {
    height: 170px;
    border-radius: 24px;
    background-image: url('<?= $banner ?>');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}



.server-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.85));
    z-index: 2;
}

.server-banner-title {
    position: absolute;
    bottom: 22px;
    left: 26px;
    z-index: 3;
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 10px 32px rgba(0,0,0,0.75);
}

.server-banner-badge {
    position: absolute;
    top: 14px;
    left: 18px;
    z-index: 3;
    padding: 6px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.15);
    font-weight: 700;
    color: #fff;
}

.server-banner-socials {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.server-banner-website {
    position: absolute;
    bottom: 14px;
    right: 18px;
    z-index: 3;
}

.server-banner-website a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.server-banner-website a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* ------------------------------------------------------
 * LAYOUT
 * ------------------------------------------------------ */
.server-wrapper {
    padding: 26px 0;
}

.row-modern {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
}

.col-main {
    flex: 1 1 720px;
    min-width: 320px;
}

.col-side {
    width: 360px;
    min-width: 280px;
}

/* ------------------------------------------------------
 * CARDS
 * ------------------------------------------------------ */
.card-modern {
    padding: 24px;
    border-radius: 18px;

    background: var(--panel);
    border: 1px solid var(--glass-border);

    backdrop-filter: blur(12px) saturate(130%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);

    transition: transform var(--trans), box-shadow var(--trans);
}

.card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
}

/* ------------------------------------------------------
 * SERVER INFO GRID
 * ------------------------------------------------------ */
.info-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-item {
    padding: 14px;
    border-radius: 12px;

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.015),
        rgba(255, 255, 255, 0.01)
    );

    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all var(--trans);
}

.info-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

.info-key {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 6px;

    font-size: 13px;
    color: var(--muted);
}

.info-value {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

/* ------------------------------------------------------
 * BUTTONS
 * ------------------------------------------------------ */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 12px;
    border-radius: 12px;

    font-weight: 700;
    cursor: pointer;
}

.btn-primary-modern {
    background: linear-gradient(90deg, #7b5bff, #5bb8ff);
    border: none;
    color: #fff;
}

.btn-outline-modern {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ------------------------------------------------------
 * COMMENTS
 * ------------------------------------------------------ */
.comment {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 12px;
    margin-bottom: 10px;

    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.comment .meta {
    font-weight: 800;
    color: #fff;
}

.comment .time {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
}

/* ------------------------------------------------------
 * RESPONSIVE
 * ------------------------------------------------------ */
@media (max-width: 980px) {
    .col-side {
        width: 100%;
        order: 2;
    }

    .col-main {
        width: 100%;
        order: 1;
    }

    .server-banner-title {
        font-size: 28px;
        left: 20px;
        bottom: 18px;
    }
}

.verify-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 12px;
}

.verify-box span {
    font-weight: 800;
    user-select: all;
}

/* Game info layout */
.game-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ------------------------------------------------------
 * MODES NAVIGATION
 * ------------------------------------------------------ */
.modes-navigation {
    margin: 12px 0 24px 0;
    padding: 0;
    border-radius: 18px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
}

.modes-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
}

.mode-link {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mode-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mode-link.active {
    background: linear-gradient(90deg, #7b5bff, #5bb8ff);
    border-color: transparent;
    color: #fff;
}
