
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #080d17;
    --panel: #101a2a;
    --panel2: #142238;
    --blue: #36aaff;
    --blue2: #087bea;
    --text: #eef6ff;
    --muted: #8498b3;
    --border: #233650;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    min-height: 100vh;
}

.sidebar {
    width: 255px;
    height: 100vh;
    position: fixed;
    background: #0b1321;
    border-right: 1px solid var(--border);
    padding: 27px 18px;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.sidebar h2 {
    color: white;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
}

.sidebar h2 span {
    color: var(--blue);
}

.subtitle {
    color: #6d87a5;
    font-size: 9px;
    letter-spacing: 3px;
    margin-top: 7px;
}

.menu {
    display: grid;
    gap: 9px;
    margin-top: 48px;
}

.menu a {
    padding: 14px;
    color: #8fa2bb;
    text-decoration: none;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    transition: .2s;
}

.menu a:hover,
.menu a.active {
    background: linear-gradient(90deg, #12365a, #10243c);
    color: #55bdff;
    box-shadow: inset 3px 0 #36aaff;
}

.sidebar-bottom {
    margin-top: auto;
    color: #667c98;
    font-size: 10px;
    line-height: 2;
}

main {
    margin-left: 255px;
    padding: 35px;
    max-width: 1700px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 25px;
    font-weight: 800;
}

header p,
.section-header p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 8px;
}

.profile {
    background: linear-gradient(135deg, #1478c9, #42b9ff);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
    box-shadow: 0 0 22px #1689e655;
}

.welcome {
    margin-top: 35px;
    min-height: 220px;
    padding: 35px;
    background:
        radial-gradient(circle at 85% 40%, #1264a655, transparent 30%),
        linear-gradient(120deg, #10233b, #101b2d);
    border: 1px solid #254d70;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.tag {
    color: #4cbcff;
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 800;
}

.welcome h2 {
    font-size: clamp(25px, 4vw, 36px);
    margin-top: 17px;
    font-weight: 900;
}

.welcome p {
    color: #a0b8d1;
    font-size: 13px;
    margin-top: 13px;
}

.cube {
    font-size: 100px;
    color: #42baff;
    text-shadow: 0 0 35px #1689ff;
}

h3 {
    font-size: 16px;
    margin: 35px 0 18px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.stat {
    padding: 23px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 13px;
    transition: .2s;
}

.stat:hover {
    border-color: #328fd2;
    transform: translateY(-3px);
}

.stat span,
.stat small {
    color: var(--muted);
    font-size: 11px;
}

.stat h2 {
    font-size: 30px;
    margin: 17px 0 8px;
}

.servers {
    margin-top: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-header h3 {
    margin: 0;
}

button {
    background: linear-gradient(135deg, #1689ed, #36b5ff);
    color: white;
    border: 0;
    padding: 13px 19px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 11px;
    cursor: pointer;
    transition: .2s;
}

button:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 20px #1689ed55;
    transform: translateY(-2px);
}

.empty {
    background: var(--panel);
    border: 1px dashed #314760;
    border-radius: 14px;
    padding: 55px 20px;
    text-align: center;
    margin-top: 20px;
}

.empty-icon {
    font-size: 45px;
    color: var(--blue);
}

.empty h2 {
    font-size: 18px;
    margin-top: 20px;
}

.empty p {
    color: var(--muted);
    margin: 12px 0 23px;
    font-size: 12px;
}

footer {
    text-align: center;
    margin-top: 60px;
    color: #5f718a;
    font-size: 10px;
}

@media(max-width: 900px) {
    .sidebar {
        width: 210px;
    }
    main {
        margin-left: 210px;
        padding: 22px;
    }
    .stats {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 600px) {
    .sidebar {
        display: none;
    }
    main {
        margin-left: 0;
        padding: 17px;
    }
    .welcome {
        padding: 23px;
    }
    .cube {
        display: none;
    }
    .section-header {
        gap: 15px;
        flex-wrap: wrap;
    }
}

.modal {
    position: fixed;
    inset: 0;
    background: #000b;
    display: grid;
    place-items: center;
    padding: 20px;
    z-index: 100;
}

.hidden {
    display: none !important;
}

.modal-content {
    background: #101a2a;
    border: 1px solid #315578;
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 0 50px #1689ed22;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    margin-top: 12px;
    font-size: 20px;
}

.close-button {
    padding: 9px 12px;
    background: #1b2b40;
}

.modal-content label {
    display: block;
    margin: 16px 0 8px;
    color: #a7bad0;
    font-size: 12px;
}

.modal-content input,
.modal-content select {
    width: 100%;
    padding: 13px;
    background: #091321;
    border: 1px solid #29435f;
    border-radius: 8px;
    color: white;
    outline: none;
}

.modal-content input:focus,
.modal-content select:focus {
    border-color: #36aaff;
}

.create-submit {
    width: 100%;
    margin-top: 25px;
}

.modal-note {
    color: #8095ad;
    font-size: 10px;
    line-height: 1.6;
    margin-top: 15px;
}

.server-card {
    background: #101a2a;
    border: 1px solid #233650;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.server-card p {
    color: #8498b3;
    font-size: 11px;
    margin-top: 8px;
}

.server-status {
    color: #40d99a;
    font-size: 10px;
    font-weight: bold;
}