:root {
    --bg: #0b0b0b;
    --col-bg: #111111;
    --text-main: #eeeeee;
    --text-muted: #555555;
    --accent: #ff3300;
    --border: #222222;
}

* { box-sizing: border-box; }

body, html {
    margin: 0; padding: 0; width: 100%; height: 100%;
    background-color: var(--border);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    display: flex; flex-direction: column;
    overflow: hidden; 
}

/* HEADER */
.app-header {
    background: var(--bg);
    padding: 0 40px;
    height: 70px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.header-left { display: flex; align-items: baseline; gap: 10px; }
.header-left h1 { font-size: 14px; font-weight: 900; letter-spacing: 0.5px; margin: 0; }
.header-left h2 { font-size: 14px; font-weight: 400; color: var(--text-muted); margin: 0; }
.slash { color: var(--accent); font-weight: 700; }

.header-center {
    font-size: 12px; color: var(--text-muted);
    position: absolute; left: 50%; transform: translateX(-50%);
    white-space: nowrap;
}

.portfolio-link {
    font-size: 12px; font-weight: 600; color: var(--text-main);
    text-decoration: none; border-bottom: 1px solid transparent;
    transition: 0.2s;
}
.portfolio-link:hover { color: var(--accent); border-color: var(--accent); }

/* GRID */
.grid-container {
    flex: 1; display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--border); overflow: hidden; min-height: 0;
}

.server-column {
    background: var(--col-bg); 
    padding: 35px 40px;
    display: flex; flex-direction: column; 
    height: 100%; 
    overflow-y: hidden;
    position: relative; /* Anchor for absolute watermark */
}

/* SERVER INFO */
.header-block { margin-bottom: 30px; }
.code-header { 
    font-size: 56px; font-weight: 900; letter-spacing: -3px; 
    margin: 0; line-height: 0.9; color: var(--text-main);
}
.coords-sub { 
    font-family: 'JetBrains Mono', monospace; font-size: 11px; 
    color: var(--accent); margin-top: 8px; display: block;
}

/* METRICS */
.metrics-row { display: flex; gap: 40px; margin-bottom: 35px; }
.metric-group { display: flex; flex-direction: column; }
.m-label { font-size: 9px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; font-weight: 700; }
.m-value { font-size: 20px; font-family: 'JetBrains Mono', monospace; }

/* CHARTS */
.charts-container { 
    display: flex; flex-direction: column; 
    gap: 80px; 
}

.graph-block { 
    width: 100%; height: 110px; 
    display: flex; flex-direction: column; 
    flex-shrink: 0; 
}

.net-block { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; 
    height: 90px; width: 100%; 
    flex-shrink: 0;
}

.mini-chart { position: relative; height: 100%; width: 100%; min-width: 0; }
.g-label { font-size: 9px; color: var(--text-muted); margin-top: 12px; text-align: center; display: block; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.canvas-wrap { flex: 1; position: relative; width: 100%; }

/* FOOTER AREA IN CARD */
.card-footer {
    margin-top: 100px;
    display: flex; flex-direction: column;
    z-index: 2; /* Sits above watermark */
    position: relative;
}

.desc-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px; 
    font-weight: 300;
    line-height: 1.4; 
    letter-spacing: -0.01em;
    color: #999;
    max-width: 90%;
}

/* BIG COLORED LOGOS - Anchored to Column */
.os-watermark {
    width: 160px; height: 160px;
    position: absolute;
    bottom: -30px; 
    right: -30px;
    z-index: 1;
    opacity: 0.12; 
    pointer-events: none;
}

/* SKILLS BAR */
.skills-footer {
    background: var(--bg); height: 50px; border-top: 1px solid var(--border);
    display: flex; align-items: center; gap: 10px; padding: 0 40px;
    flex-shrink: 0;
}
.skill-label { font-size: 10px; color: var(--accent); font-weight: 700; margin-right: 10px; }
.skill-card {
    font-size: 10px; color: var(--text-muted); border: 1px solid var(--border);
    padding: 4px 10px; border-radius: 2px;
}

@media (max-width: 900px) {
    .header-center { display: none; }
    .grid-container { display: flex; flex-direction: column; overflow-y: auto; }
    .server-column { height: auto; min-height: 900px; border-bottom: 1px solid var(--border); }
}
