:root {
    --bg-color: #F6F6FD;
    --text-color: #262429;
    --btn-color: #262429;
    --btn-text: #F6F6FD;
}

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

.container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.image-container {
    width: 300px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.coffee-cup {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

h1 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
}

.subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.7;
    margin-top: -10px;
}

.counter-display {
    font-size: 6rem;
    font-weight: 900;
    color: var(--text-color);
    /* font-variant-numeric: tabular-nums; */
    margin: 20px 0;
}

.action-btn {
    background: var(--btn-color);
    color: var(--btn-text);
    border: none;
    padding: 18px 70px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.1s ease;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
}

.action-btn:hover {
    transform: scale(1.02);
}

.action-btn:active {
    transform: scale(0.98);
}

.reset-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    top: auto;
    background: none;
    border: none;
    color: var(--text-color);
    opacity: 0.3;
    font-family: 'Onest', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: opacity 0.2s;
    z-index: 100;
}

.reset-btn:hover {
    opacity: 1;
    color: #ff4444;
}

@media (max-width: 600px) {
    body {
        align-items: flex-start;
        padding-top: 40px;
    }

    .container {
        padding: 15px;
    }

    .image-container {
        width: 240px;
    }

    h1 {
        font-size: 1.2rem;
    }

    .counter-display {
        font-size: 4rem;
        margin: 10px 0;
    }

    .action-btn {
        padding: 15px 50px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        margin-bottom: 80px;
        /* Space for the reset button */
    }

    .reset-btn {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
        width: 100%;
        text-align: center;
    }
}