@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Press+Start+2P&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background:  #ffb7d5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: "Press Start 2P", system-ui;
}
.container-wrapper {
    max-width: 90%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.title {
    text-align: center;
}
.decoration {
    background: #ffffff;
    color: #d4537e;
    font-size: 8px;
    padding: 8px 10px;
    margin-bottom: 10px;
    border: 2px solid #d4537e;
    border-radius: 50px;
    display: inline-block;
}
h1 {
    font-family: "Nunito", sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: #4b1528;
    letter-spacing: 4px;
}
.sub-title {
    font-family: "Nunito", sans-serif;
    color: #993556;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.date-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.date-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
label {
    font-family: "Nunito", sans-serif;
    font-weight: 900;
    font-size: 12px;
    color: #4b1528;
    white-space: nowrap;
}
input {
    border: 2px solid #4b1528;
    border-radius: 10px;
    padding: 8px;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    outline: none;
}
.timer-container {
    display: grid;
    grid-template-columns: repeat(4, auto);
    text-align: center;
    gap: 12px;
}
.unit-time {
    position: relative;
    padding: 16px 40px 10px;
    background: #ffffff;
    color: #4b1528;
    font-size: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #4b1528;
    border-radius: 12px;
    overflow: hidden;
}
.unit-time::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #ffb7d5;
}
.label {
    font-size: 8px;
    color: #993556;
    font-family: "Nunito", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 10px;
}
.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
button {
    font-family: "Press Start 2P", system-ui;
    font-size: 8px;
    color: #ffb7d5;
    background: #4b1528;
    padding: 8px 20px;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 0 #2a0c17;
    transition: transform 0.3s, box-shadow 0.3s ease;
}
button:hover {
    background: #d4537e;
    transform: scale(1.05);
    box-shadow: 0 2px 0 #2a0c17;
}
button:active {
    transform: translateY(4px);
    box-shadow: none;
}
button span {
    display: inline-flex;
    align-items: center;
}
button span:last-child {
    padding-top: 2px;
}
.start-btn{
    background: #d4537e;
}
.box-msg {
    background: #ffffff;
    font-family: "Nunito", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #4b1528;
    border: 2px solid #d4537e;
    border-radius: 12px;
    padding: 10px 20px;
    width: 100%;
    text-align: center;
}
.flower {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #d4537e;
    background: #ffffff;
    animation: bounce 1.2s ease-in-out infinite;
}
.visual-deco {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 6px;
}
.flower:nth-child(1) { 
    animation-delay: 0s;
}
.flower:nth-child(2) { 
    background: #ffb7d5;
    animation-delay: 0.2s;
}
.flower:nth-child(3) {  
    animation-delay: 0.4s;
}
.flower:nth-child(4) { 
    background: #ffb7d5;
    animation-delay: 0.6s;
}
.flower:nth-child(5) { 
    animation-delay: 0.8s; 
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%     { transform:  translateY(-6px); }
}
