@font-face {
    font-family: "ui_font";
    src: url("/assets/fonts/CozetteVector.ttf") format("truetype");
}

:root {
    --bg: #05070a;
    --panel: rgba(10, 15, 25, 0.82);
    --panel-border: #1c2b45;
    --text: #d7e2ff;
    --green: #00ff9c;
    --red: #ff4f6d;
    --blue: #5ab7ff;
    --purple: #a46bff;
    --yellow: #ffd84d;
}

* {
    box-sizing: border-box;
    image-rendering: pixelated;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: ui_font, monospace;
    overflow-x: hidden;
}

/* BACKGROUND */
#stars {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(#ffffff22 1px, transparent 1px);
    background-size: 32px 32px;
    animation: starsMove 90s linear infinite;
    z-index: -2;
}

@keyframes starsMove {
    from { transform: translateY(0px); }
    to { transform: translateY(1000px); }
}

#bgGlow {
    position: fixed;
    width: 900px;
    height: 900px;
    left: 50%;
    top: -400px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,255,180,0.08), transparent 70%);
    z-index: -1;
}

/* LAYOUT */
.wrapper {
    width: 100%;
    max-width: 1600px;
    margin: auto;
    padding: 24px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo h1 {
    margin: 0;
    font-size: 42px;
    color: white;
    text-shadow: 0 0 10px #00ffcc55;
}

.logo span {
    color: #7ea6ff;
    font-size: 14px;
}

nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    border: 1px solid #294060;
    background: linear-gradient(to bottom, #101827, #0a1019);
    padding: 10px 16px;
    transition: 0.2s;
    text-transform: uppercase;
    font-size: 14px;
}

nav a:hover {
    border-color: var(--green);
    color: var(--green);
    box-shadow: 0 0 12px #00ff9955;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 20px;
}

@media (max-width: 1000px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* PANELS */
.panel {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(8px);
    padding: 18px;
    box-shadow: inset 0 0 30px rgba(255,255,255,0.02),
                0 0 20px rgba(0,0,0,0.4);
}

.panel h2 {
    margin-top: 0;
    color: var(--blue);
    font-size: 20px;
    border-bottom: 1px solid #1f304b;
    padding-bottom: 10px;
}

/* SERVER LIST */
.serverList {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.serverCard {
    border: 1px solid #20324d;
    padding: 14px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.02),
                rgba(255,255,255,0.01));
    transition: 0.2s;
}

.serverCard:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
}

.serverTop {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.serverName {
    color: white;
    font-size: 16px;
}

.status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.online {
    background: #003d25;
    color: var(--green);
}

.offline {
    background: #3d0015;
    color: var(--red);
}

/* HERO */
.hero {
    padding: 28px;
}

.heroTitle {
    font-size: 42px;
    margin-top: 0;
    color: white;
}

.heroText {
    color: #a8b8d8;
    line-height: 1.7;
}

.stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.stat {
    flex: 1;
    min-width: 180px;
    border: 1px solid #243755;
    padding: 16px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.02),
                rgba(255,255,255,0.01));
}

.statLabel {
    color: #86a2d6;
    font-size: 14px;
}

.statValue {
    margin-top: 8px;
    font-size: 30px;
    color: white;
}

/* COMMITS */
.commit {
    border-bottom: 1px solid #1c2c45;
    padding: 14px 0;
}

.commit:last-child {
    border-bottom: none;
}

.commitAuthor {
    color: var(--green);
    text-decoration: none;
}

.commitDate {
    color: #7790ba;
    font-size: 13px;
}

.commitMessage {
    margin-top: 8px;
    color: #d6e3ff;
    white-space: pre-wrap;
}

/* FOOTER */
footer {
    margin-top: 30px;
    text-align: center;
    color: #6f84ab;
    font-size: 13px;
}