body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Raleway', sans-serif;
    margin: 0;
    overflow: hidden;
}

.stopwatch {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

#display {
    font-size: 3em;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.buttons button {
    margin: 10px;
    padding: 15px 25px;
    font-size: 1em;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    outline: none;
}

#start {
    background: #28a745;
}

#stop {
    background: #dc3545;
}

#reset {
    background: #ffc107;
}

#lap {
    background: #17a2b8;
}

.buttons button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#laps {
    margin-top: 20px;
    padding: 0;
    list-style: none;
    text-align: left;
}

#laps li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.2em;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

#laps li span {
    font-weight: 300;
    opacity: 0.7;
}