@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Quicksand:wght@500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    height: 100%;
    overflow: hidden;
    background: #021b2e;
    font-family: 'Quicksand', sans-serif;
    user-select: none;
}

#wrap {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #eaf6ff;
    background: radial-gradient(ellipse at 50% 30%, rgba(12, 74, 110, .55), rgba(2, 27, 46, .92));
    padding: 24px;
    gap: 18px;
}

.overlay.hidden {
    display: none;
}

h1 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(40px, 11vw, 84px);
    color: #ffd9ec;
    text-shadow: 0 3px 0 #d6488f, 0 0 28px rgba(255, 150, 210, .5);
    line-height: .95;
}

.tag {
    font-size: clamp(15px, 4vw, 20px);
    color: #9fdcff;
    max-width: 460px;
    line-height: 1.5;
}

.cup {
    font-size: 46px;
}

button {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #04263b;
    background: linear-gradient(#ffe9f4, #ffc4e2);
    border: none;
    padding: 16px 42px;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 6px 0 #d6488f, 0 10px 24px rgba(0, 0, 0, .35);
    transition: transform .08s, box-shadow .08s;
}

button:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #d6488f, 0 6px 16px rgba(0, 0, 0, .35);
}

.score-big {
    font-size: clamp(30px, 8vw, 52px);
    font-weight: 700;
    color: #ffd9ec;
}

.hint {
    font-size: 14px;
    color: #6fb6df;
}
