:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-color: #10b981;
    --accent-hover: #059669;
    --danger-color: #ef4444;
    --font-family: 'Inter', sans-serif;
}

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

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: var(--text-color);
    font-family: var(--font-family);
}

.app-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 24px;
}

.logo h1 {
    font-size: 20px;
    font-weight: 600;
}

.services-container {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    backdrop-filter: blur(16px);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-icon {
    font-size: 32px;
}

.service-info h2 {
    font-size: 18px;
    margin-bottom: 4px;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-running {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-stopped {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-unknown {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.timer-info {
    font-size: 12px;
    color: #94a3b8;
    background: rgba(0,0,0,0.2);
    padding: 8px;
    border-radius: 8px;
    text-align: center;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

button, a.btn-open {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.btn-start {
    background: var(--accent-color);
    color: white;
}

.btn-start:hover {
    background: var(--accent-hover);
}

.btn-stop {
    background: transparent;
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.btn-stop:hover {
    background: rgba(239, 68, 68, 0.1);
}

.btn-open {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-open:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 600px) {
    .services-container {
        grid-template-columns: 1fr;
    }
}
