:root {
    --cat-yellow: #f7c600;
    --cat-dark: #111111;
    --bg: #121212;
    --panel: #1f1f1f;
    --muted: #bdbdbd;
    --accent: #ffd54a;
}

/* RESET */
* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
    margin: 0;
}

/* BODY */
body {
    font-family: "Roboto Mono", monospace;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.6)),
        radial-gradient(
            1200px 600px at 10% 10%,
            rgba(247, 198, 0, 0.06),
            transparent 10%
        ),
        var(--bg);
    color: #fff;
    display: flex;
    flex-direction: column;
}

/* WARNING STRIPE */
.stripe {
    height: 18px;
    background: repeating-linear-gradient(
        45deg,
        var(--cat-yellow),
        var(--cat-yellow) 18px,
        var(--cat-dark) 18px,
        var(--cat-dark) 36px
    );
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 4px solid rgba(0, 0, 0, 0.4);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--cat-yellow);
}

.logo {
    width: 44px;
    height: 44px;
    background: var(--cat-yellow);
    color: var(--cat-dark);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-family: "Roboto Condensed", sans-serif;
    border-radius: 6px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
}

.title {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* NAV */
nav ul {
    list-style: none;
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--cat-yellow);
    text-decoration: none;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.15s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* LAYOUT */
main {
    flex: 1;
    display: flex;
    gap: 28px;
    padding: 28px;
}

.panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.left {
    width: 720px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.right {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* STATUS PANEL */
.status {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: var(--panel);
    border-left: 6px solid var(--cat-yellow);
    border-radius: 8px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cat-yellow);
    box-shadow: 0 0 12px rgba(247, 198, 0, 0.6);
    animation: blink 1.6s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.meta .label {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta .value {
    font-weight: 700;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.05rem;
}

.meta-right {
    margin-left: auto;
    text-align: right;
}

/* MENU */
.menu {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.menu a {
    padding: 12px 14px;
    background: var(--cat-yellow);
    color: var(--cat-dark);
    text-decoration: none;
    font-weight: 800;
    border-radius: 8px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
    transition: 0.12s;
    font-family: "Roboto Condensed", sans-serif;
    text-transform: uppercase;
}

.menu a.secondary {
    background: transparent;
    color: var(--cat-yellow);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

/* PROJECTS */
.section-title {
    font-family: "Roboto Condensed", sans-serif;
    letter-spacing: 0.6px;
    margin-top: 18px;
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.project {
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge {
    width: 44px;
    height: 44px;
    background: var(--cat-yellow);
    color: var(--cat-dark);
    display: grid;
    place-items: center;
    font-weight: 900;
    border-radius: 6px;
    font-family: "Roboto Condensed", sans-serif;
}

/* SERVER CARD */
.server-card {
    padding: 14px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border-left: 6px solid var(--cat-yellow);
}

.server-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.server-name {
    font-weight: 800;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.05rem;
}

.loadbar-wrap {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.loadbar-bg {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    overflow: hidden;
}

.loadbar {
    height: 100%;
    width: 36%;
    background: linear-gradient(90deg, var(--accent), var(--cat-yellow));
}

.loadbar-value {
    width: 48px;
    text-align: right;
    color: var(--muted);
}

/* QUICK ACTIONS */
.quick-btn {
    padding: 8px 10px;
    background: var(--cat-yellow);
    color: var(--cat-dark);
    text-decoration: none;
    font-weight: 800;
    border-radius: 6px;
    font-family: "Roboto Condensed", sans-serif;
}

.quick-actions,
.quick-links {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* FOOTER */
footer {
    padding: 14px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

footer .footer-icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

footer svg {
    vertical-align: middle;
}

.monitor-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.monitor-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Roboto Mono", monospace;
}

.monitor-badge {
    background: var(--cat-yellow);
    color: var(--cat-dark);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    font-family: "Roboto Condensed", sans-serif;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
}

.monitor-latency {
    color: var(--muted);
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    main {
        flex-direction: column;
    }
    .left,
    .right {
        width: 100%;
    }
    .projects {
        grid-template-columns: 1fr;
    }
}
