* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #161311;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.stopwatch-container {
    background: #1e1e1e;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    padding: 50px 60px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.time-display {
    font-family: 'Courier New', monospace;
    font-size: 72px;
    font-weight: 700;
    color: #e0e0e0;
    letter-spacing: 4px;
    margin-bottom: 40px;
    text-shadow: 0 0 20px rgba(224, 224, 224, 0.1);
}

.controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 100px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-start {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
}

.btn-start:hover {
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.4);
}

.btn-stop {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #1a1a1a;
}

.btn-stop:hover {
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.4);
}

.btn-reset {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.btn-reset:hover {
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.4);
}

.btn-lap {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

.btn-lap:hover {
    box-shadow: 0 4px 16px rgba(23, 162, 184, 0.4);
}

.lap-times {
    margin-top: 30px;
}

.lap-title {
    font-size: 18px;
    font-weight: 600;
    color: #a0a0a0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lap-list {
    max-height: 300px;
    overflow-y: auto;
}

.lap-item {
    background: #2a2a2a;
    padding: 12px 20px;
    margin-bottom: 8px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #d0d0d0;
    font-family: 'Courier New', monospace;
}

.lap-number {
    font-weight: 600;
    color: #17a2b8;
}

.lap-time {
    font-size: 16px;
    letter-spacing: 1px;
}

.lap-list::-webkit-scrollbar {
    width: 8px;
}

.lap-list::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.lap-list::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 4px;
}

.lap-list::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}
