/* ============================================================
   NAVIGATION
============================================================ */
header {
    background: #111827;
    color: #f9fafb;
    padding: 16px 24px;
}

.navbar {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.navbar a.logo {
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: #f9fafb;
}

/* Desktop Links */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 16px;
    text-decoration: none;
    color: #e5e7eb;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #ffffff;
}

:root {
    --heading-font: 'Patrick Hand', sans-serif;
    --body-font: 'Inter', sans-serif;

    --bg1: linear-gradient(135deg, #f7faff, #e7ecff);
    --card-bg: #ffffffcc;
    --text: #333;

    --blue-card: #e8eaff;
    --pink-card: #ffe4ea;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--body-font);
    background: var(--bg1);
    background-attachment: fixed;
    color: var(--text);
    transition: background 0.5s ease;
}

.wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    margin-bottom: 10px;
}

.preset-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

button {
    padding: 12px 25px;
    border-radius: 15px;
    border: none;
    background: #dcdfff;
    font-family: var(--heading-font);
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.timer-card {
    margin-top: 30px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    display: inline-block;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

#timeDisplay {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.streak-box {
    margin-top: 40px;
    font-size: 1.4rem;
    font-family: var(--heading-font);
}

/* Productivity cards */
.productivity-row {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.prod-card {
    padding: 20px 30px;
    border-radius: 20px;
    font-family: var(--heading-font);
    font-size: 1.4rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.prod-card .big-num {
    font-size: 2.4rem;
    font-weight: 700;
}

.prod-card.blue {
    background: var(--blue-card);
}

.prod-card.pink {
    background: var(--pink-card);
}