:root {
    --bg: #f4f6f8;
    --card-bg: #ffffff;
    --text: #333;
    --text-muted: #666;
    --shadow: rgba(0,0,0,0.1);
    --accent: #4f46e5;
}

body.dark {
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    --shadow: rgba(0,0,0,0.5);
}

        body {
            font-family: system-ui, Arial, sans-serif;
            margin: 0;
            padding: 40px 20px;
            background-color: var(--bg);
            color: var(--text);
            transition: background 0.3s, color 0.3s;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        h1 {
            text-align: center;
            margin-bottom: 30px;
        }

        .toggle {
            display: flex;
            justify-content: center;
            margin-bottom: 40px;
        }

        .toggle button {
            padding: 8px 16px;
            border: none;
            border-radius: 20px;
            background: var(--accent);
            color: white;
            cursor: pointer;
            font-size: 14px;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
            max-width: 1100px;
            margin: 0 auto;
        }

        .calendar-card {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 16px;
            text-decoration: none;
            color: inherit;
            box-shadow: 0 4px 12px var(--shadow);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .calendar-card:hover {
            transform: translateY(-6px) scale(1.02);
            box-shadow: 0 12px 30px var(--shadow);
        }

        .calendar-preview {
            width: 100%;
            height: 140px;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 12px;
            background: #ccc;
        }

        .calendar-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .calendar-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 6px;
        }

        .calendar-desc {
            font-size: 14px;
            color: var(--text-muted);
        }

.site-footer {
    margin-top: auto;
    padding: 20px 10px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background-color: transparent;
    transition: color 0.3s, border-color 0.3s;
}

body.dark .site-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.site-footer p {
    margin: 0;
    line-height: 1.5;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}