* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at top,
            #20243a 0%,
            #0d0f17 45%,
            #08090d 100%
        );

    color: #ffffff;
    min-height: 100vh;
}

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 430px;

    padding: 45px 40px;

    text-align: center;

    background: rgba(20, 23, 35, 0.92);

    border: 1px solid rgba(
        255,
        255,
        255,
        0.08
    );

    border-radius: 24px;

    box-shadow:
        0 25px 80px
        rgba(0, 0, 0, 0.45);
}

.logo {
    width: 74px;
    height: 74px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    background: linear-gradient(
        135deg,
        #5865f2,
        #8b5cf6
    );

    font-size: 36px;
    font-weight: 800;

    box-shadow:
        0 15px 40px
        rgba(88, 101, 242, 0.35);
}

h1 {
    font-size: 28px;
    font-weight: 800;
}

h2 {
    margin-top: 4px;

    font-size: 20px;
    font-weight: 500;

    color: #aeb4c5;
}

p {
    margin: 20px 0 30px;

    color: #9ca3b4;

    line-height: 1.6;
}

.discord-button {
    display: block;

    padding: 14px 20px;

    border-radius: 12px;

    background: #5865f2;

    color: white;

    text-decoration: none;

    font-weight: 700;

    transition:
        transform 0.2s,
        background 0.2s;
}

.discord-button:hover {
    background: #4752c4;

    transform: translateY(-2px);
}

.dashboard {
    min-height: 100vh;
    display: flex;
}

.sidebar {
    width: 250px;
    min-height: 100vh;
    background: rgba(12, 14, 22, 0.96);
    border-right: 1px solid rgba(255,255,255,.07);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 10px 30px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg,#5865f2,#8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.brand strong {
    display: block;
    font-size: 14px;
}

.brand span {
    display: block;
    color: #858ba0;
    font-size: 11px;
    margin-top: 3px;
}

.nav-title {
    color: #555b6d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 22px 12px 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin: 3px 0;
    border-radius: 10px;
    color: #9da3b6;
    text-decoration: none;
    font-size: 14px;
    transition: .2s;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(88,101,242,.15);
    color: white;
}

.sidebar-bottom {
    margin-top: auto;
}

.main {
    flex: 1;
    padding: 32px 42px;
    overflow-x: hidden;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.topbar h1 {
    font-size: 28px;
}

.topbar p {
    margin: 5px 0 0;
    color: #858ba0;
}

.user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #5865f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.user strong {
    display: block;
    font-size: 13px;
}

.user span {
    display: block;
    color: #777d90;
    font-size: 11px;
}

.welcome {
    padding: 30px;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(88,101,242,.22),
        rgba(139,92,246,.10)
    );
    border: 1px solid rgba(255,255,255,.06);
}

.eyebrow {
    color: #8790ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.welcome h2 {
    margin: 8px 0;
    font-size: 25px;
}

.welcome p {
    margin: 0;
    color: #a0a6b8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin: 24px 0 35px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    background: rgba(20,23,35,.9);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
}

.stat-card > span {
    font-size: 25px;
}

.stat-card small {
    display: block;
    color: #777d90;
    font-size: 12px;
}

.stat-card strong {
    display: block;
    margin-top: 5px;
    font-size: 20px;
}

.online {
    color: #55d68a;
    font-size: 15px !important;
}

.section-header {
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: 19px;
}

.section-header p {
    margin-top: 5px;
    color: #777d90;
    font-size: 13px;
}

.server-grid {
    display: grid;
    gap: 12px;
}

.server-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px;
    background: rgba(20,23,35,.9);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    transition: .2s;
}

.server-card:hover {
    border-color: rgba(88,101,242,.4);
    transform: translateY(-1px);
}

.server-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg,#5865f2,#8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.server-info {
    flex: 1;
}

.server-info h3 {
    font-size: 14px;
}

.server-info span {
    color: #666c7d;
    font-size: 11px;
}

.manage-button {
    padding: 9px 14px;
    border-radius: 9px;
    background: #5865f2;
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.empty {
    text-align: center;
    padding: 60px 20px;
    background: rgba(20,23,35,.8);
    border-radius: 16px;
}

.empty > div {
    font-size: 35px;
    margin-bottom: 15px;
}

.empty h3 {
    margin-bottom: 8px;
}

.empty p {
    color: #777d90;
    font-size: 13px;
}

@media (max-width: 800px) {

    .sidebar {
        width: 70px;
        padding: 15px 10px;
    }

    .brand div:not(.brand-icon),
    .nav-item span,
    .nav-title {
        display: none;
    }

    .nav-item {
        justify-content: center;
    }

    .main {
        padding: 24px 18px;
    }

    .topbar {
        align-items: flex-start;
    }

    .user > div:not(.user-avatar) {
        display: none;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .server-card {
        flex-wrap: wrap;
    }
}