@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
    --bg: #ebebeb;
    --card-bg: #f5f5f5;
    --text: #1a1a1a;
    --text-dim: #7a7a7a;
    --hover: #f0f0f0;
    --border: #d8d8d8;
    --border-hover: #aaaaaa;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.5px;
}

#clock {
    font-size: 1.5rem;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
    font-weight: 400;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    border-color: var(--border-hover);
}

.icon {
    margin-bottom: 12px;
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

h2 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2a2a2a;
    letter-spacing: -0.1px;
}

p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    h1 {
        font-size: 2rem;
    }
}
