body {
    margin: 0;
    padding: 0;
    background-color: #ff929d; 
    font-family: 'First Coffee', 'Finger Paint', cursive;
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body::before, body::after {
    content: "";
    position: absolute;
    background-color: white;
    z-index: 1;
}

body::before {
    /* Top-left slanted border */
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    transform: skewY(-2deg);
    transform-origin: top left;
}

body::after {
    /* Bottom-right slanted border */
    bottom: 0;
    right: 0;
    width: 100%;
    height: 30px;
    transform: skewY(-2deg);
    transform-origin: bottom right;
}

.gears-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gear {
    position: absolute;
    opacity: 0.3;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.timer-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(55, 25, 39, 0.5);
    text-align: center;
    z-index: 2;
    backdrop-filter: blur(5px);
    position: relative;
}

.timer-container::before,
.timer-container::after,
.timer-container .heart-top-right,
.timer-container .heart-bottom-left {
    content: "💜";
    position: absolute;
    font-size: 24px;
    z-index: 3;
}

.timer-container::before {
    top: -10px;
    left: -10px;
    transform: rotate(-25deg);
}

.timer-container::after {
    bottom: -10px;
    right: -10px;
    transform: rotate(25deg);
}

.timer-container .heart-top-right {
    top: -10px;
    right: -10px;
    transform: rotate(15deg);
}

.timer-container .heart-bottom-left {
    bottom: -10px;
    left: -10px;
    transform: rotate(-15deg);
}

h1 {
    margin-top: 0;
    color: #ea3e4f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.timer {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.time-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-section span:first-child {
    font-size: 3rem;
    background-color: #ff66a7;
    color: white;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.label {
    font-size: 0.9rem;
    color: #e53748;
}

@media (max-width: 600px) {
    .timer {
        flex-wrap: wrap;
    }
    
    .time-section span:first-child {
        font-size: 2rem;
        width: 70px;
        height: 70px;
    }
}