:root {
    --bg: #f1f5f9;
    --card: #ffffff;
    --hover: #e2e8f0;
    --text: #0f172a;
    --muted: #475569;
}

[data-theme="dark"] {
    --bg: #0f172a;
    --card: #1e293b;
    --hover: #334155;
    --text: #e2e8f0;
    --muted: #94a3b8;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.card {
    background: var(--card);
    border-radius: 18px;
    padding: 20px 10px;
    text-decoration: none;
    color: var(--text);
    transition: 0.2s;
}

.card:hover {
    background: var(--hover);
    transform: translateY(-4px);
}

.icon {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--muted);
}

.theme-switch {
    position: absolute;
    top: 20px;
    right: 20px;
}
