:root {
    --bg-color: #FFFFFF;
    --text-color: #000000;
}

body.dark-mode {
    --bg-color: #000000;
    --text-color: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: background-color 0s ease, color 0s ease;
}

.theme-toggle {
    position: absolute;
    top: 32px;
    right: 32px;
    background: none;
    border: 2px solid var(--text-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.toggle-icon {
    width: 20px;
    height: 20px;
    background-color: var(--text-color);
    border-radius: 50%;
    transition: all 0s ease;
}

.time-container {
    text-align: center;
}

.time-display {
    font-family: 'Poppins', sans-serif;
    font-size: 128px;
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
}

.date-display {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 16px;
}

/* <576px — Small */
@media (max-width: 575.98px) {
    .time-display {
        font-size: 96px;
    }

    .date-display {
        font-size: 10px;
    }
}

/* ≥576px — Medium */
@media (min-width: 576px) and (max-width: 767.98px) {
    .time-display {
        font-size: 128px;
    }

    .date-display {
        font-size: 10px;
    }
}

/* ≥768px — Large */
@media (min-width: 768px) and (max-width: 991.98px) {
    .time-display {
        font-size: 160px;
    }

    .date-display {
        font-size: 16px;
    }
}

/* ≥992px — Extra large */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .time-display {
        font-size: 224px;
    }

    .date-display {
        font-size: 16px;
    }
}

/* ≥1200px — Extra-extra large */
@media (min-width: 1200px) {
    .time-display {
        font-size: 256px;
    }

    .date-display {
        font-size: 16px;
    }
}