@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #2f363e;
}

.container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Time Display Layout */
.time-display {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    /* Adjusts for smaller screens */
    justify-content: center;
}

/* Circular Gauge Styles */
.circle {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle svg {
    position: relative;
    width: 150px;
    height: 150px;
    transform: rotate(270deg);
}

.circle svg circle {
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke-width: 4;
    stroke: #191919;
    transform: translate(5px, 5px);
}

.circle svg circle:nth-child(2) {
    stroke: var(--clr);
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    /* Start empty */
}

/* Digital Numbers inside the Circle */
/* Digital Numbers inside the Circle */
.circle .time-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-5px);
    /* Visual adjustment */
}

.circle .time-text div:first-child {
    font-weight: 500;
    color: #fff;
    font-size: 1.5em;
    line-height: 1;
    /* Tighten line height */
}

.circle .time-text .time-label {
    font-size: 0.75em;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
    margin-top: 5px;
}

/* Dot Indicator on the Ring */
.dots {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.dots::before {
    content: '';
    position: absolute;
    top: -3px;
    width: 15px;
    height: 15px;
    background: var(--clr);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--clr), 0 0 60px var(--clr);
}

/* Controls */
.controls {
    display: flex;
    gap: 20px;
}

.controls button {
    padding: 10px 30px;
    border: none;
    outline: none;
    color: #fff;
    background: #2f363e;
    font-size: 1.2em;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5),
        -5px -5px 15px rgba(255, 255, 255, 0.05);
    /* Neumorphism style base */
    transition: 0.3s;
}

.controls button:active {
    box-shadow: inset 5px 5px 15px rgba(0, 0, 0, 0.5),
        inset -5px -5px 15px rgba(255, 255, 255, 0.05);
}

.controls button:hover {
    color: #04fc43;
    /* Default hover glow */
}

#stopBtn:hover {
    color: #ff2972;
}

#resetBtn:hover {
    color: #00a1ff;
}