.join-section {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
    animation: fadeUp 1s ease forwards;
}

.join-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
    max-width: 860px;
    margin: 0 auto 24px;
    background: linear-gradient(180deg, #1b1b1b 0%, #151515 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.server-ip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    font-size: 1.2rem;
    margin-top: 0;
    color: var(--primary-color);
    font-weight: 700;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.join-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.join-label {
    color: #f0f0f0;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.copy-btn {
    margin-left: 0;
    padding: 7px 12px;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.25s ease;
}

.copy-btn:hover {
    background: var(--primary-color);
}

.refresh-btn {
    margin-left: 8px;
    padding: 7px 12px;
    background: var(--primary-color);
    border: none;
    color: var(--text-color);
    cursor: pointer;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.25s ease;
}

.refresh-btn:hover {
    background: var(--accent-color);
}

.server-status {
    margin-top: 0;
    font-size: 1.05rem;
    color: var(--text-color);
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    background: gray;
}

.status-online {
    background: var(--online-color);
    box-shadow: 0 0 10px var(--online-color);
}

.status-offline {
    background: var(--offline-color);
    box-shadow: 0 0 10px var(--offline-color)   ;
}

.player-count {
    margin-top: 10px;
    font-size: 1rem;
    color: var(--text-color);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeUp 1s ease forwards;
}

.stat {
    background: linear-gradient(180deg, #1b1b1b 0%, #151515 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px 18px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    animation: fadeUp 1s ease forwards;
}

.stat h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat p {
    color: var(--text-color);
    font-size: 1rem;
    letter-spacing: 0.2px;
}

.stat:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
    box-shadow: 0 0 30px var(--accent-color);
}

@media (max-width: 900px) {
    .stats {
        gap: 14px;
    }

    .stat {
        padding: 20px 16px;
    }

    .join-subtitle {
        margin: -8px auto 20px;
        font-size: 1rem;
    }

    .join-panel {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
        border-radius: 12px;
    }

    .server-ip {
        font-size: 1.05rem;
        padding: 14px;
    }

    .join-meta {
        padding: 14px;
    }

    .server-status {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        row-gap: 8px;
    }
}
