/* THEME VARIABLES */
:root {
    --bg1: #e2e8f0;
    --bg2: #cbd5e1;
    --text: #0f172a;
    --card: rgba(255,255,255,0.6);
    --border: rgba(255,255,255,0.8);
    --shadow: rgba(0,0,0,0.15);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg1: #0f172a;
        --bg2: #1e293b;
        --text: #ffffff;
        --card: rgba(255,255,255,0.08);
        --border: rgba(255,255,255,0.12);
        --shadow: rgba(0,0,0,0.55);
    }
}

/* GLOBAL */
body {
    margin: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, var(--bg1), var(--bg2), var(--bg1));
    background-size: 400% 400%;
    animation: bgMove 18s ease infinite;
    min-height: 100vh;
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: auto;
    padding: 40px 0 60px;
}

h1 { text-align: center; font-size: 36px; margin-bottom: 50px; }

/* SERVICES GRID */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    backdrop-filter: blur(16px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 45px 25px;
    text-decoration: none;
    color: var(--text);
    text-align: center;
    transition: 0.25s ease, transform 0.3s ease;
    box-shadow: 0 10px 40px var(--shadow);
}

.card:hover { transform: translateY(-10px) scale(1.03); }

/* WIDGETS */
.widgets {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.widget {
    backdrop-filter: blur(16px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 25px;
    box-shadow: 0 10px 40px var(--shadow);
}

iframe { width: 100%; height: 450px; border: none; border-radius: 14px; }

footer { text-align: center; margin-top: 60px; opacity: 0.5; font-size: 13px; }

/* Status */
.status-item { display: flex; align-items: center; margin-bottom: 8px; }
.status-dot { font-size: 18px; width: 24px; }
.status-name { flex: 1; font-weight: 600; margin-left: 6px; }
.status-info { font-size: 13px; opacity: 0.8; margin-left: 10px; }

.status-online { color: #22c55e; }
.status-offline { color: #ef4444; }
.status-checking { color: #eab308; }

@media (max-width: 900px) { .widgets { grid-template-columns: 1fr; } }