:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #3b82f6;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 1000px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.last-update {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

/* VPS Info Header */
.vps-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

.vps-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.os-icon {
    width: 32px;
    height: 32px;
    filter: grayscale(100%);
    opacity: 0.7;
}

.vps-details {
    display: flex;
    flex-direction: column;
}

.vps-details span {
    font-weight: 700;
}

.vps-details small,
.vps-ip small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.vps-ip {
    text-align: right;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

/* System Grid */
.grid-system {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.system-card h3 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.fill {
    height: 100%;
    background: var(--accent);
    transition: width 0.5s ease;
}

.value {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Services Grid */
.services-dashboard h2 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s, background 0.2s;
    text-decoration: none;
    color: var(--text-primary);
}

.link-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-secondary);
}

.status-online .status-indicator {
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
}

.status-offline .status-indicator {
    background-color: var(--error);
}

.service-info h3 {
    font-size: 1rem;
    font-weight: 500;
}

.service-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.icon {
    margin-left: auto;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .grid-system {
        grid-template-columns: 1fr;
    }
}