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

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

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1e1b4b, #4c1d95 40%, #7c3aed);
}

/* Stopwatch Card */

.stopwatch {
    width: 92%;
    max-width: 420px;
    padding: 50px 30px;
    border-radius: 22px;
    text-align: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    transition: 0.3s ease;
}

/* Timer Display */

.stopwatch h1 {
    font-size: 64px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #e9d5ff, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons Layout */

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

/* Button Style */

.buttons .icons {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.buttons .icons:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.45);
}

/* Icons */

.buttons i {
    font-size: 22px;
    color: #fff;
}

/* Play button highlight */

.buttons .icons:nth-child(2) {
    background: linear-gradient(135deg, #c084fc, #7c3aed);
    border: none;
}

/* Mobile Responsiveness */

@media (max-width: 480px) {

    .stopwatch {
        padding: 40px 20px;
    }

    .stopwatch h1 {
        font-size: 48px;
        margin-bottom: 30px;
    }

    .buttons .icons {
        height: 52px;
        width: 52px;
    }

    .buttons i {
        font-size: 18px;
    }
}