* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    height: 100vh;
    background: linear-gradient(135deg, #3a0ca3, #4361ee);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.container {
    background: rgba(0, 0, 0, 0.25);
    padding: 30px 40px;
    border-radius: 15px;
    width: 350px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.container h1 {
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.display {
    font-size: 3rem;
    margin: 20px 0;
    font-weight: bold;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.btn {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.start {
    background: #06d6a0;
    color: #000;
}

.lap {
    background: #ffd166;
    color: #000;
}

.reset {
    background: #ef476f;
    color: #fff;
}

.btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.laps {
    margin-top: 20px;
    max-height: 150px;
    overflow-y: auto;
}

.laps h3 {
    margin-bottom: 10px;
    text-decoration: underline;
}

.laps ul {
    list-style: none;
}

.laps li {
    background: rgba(255,255,255,0.15);
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 0.9rem;
}
