body {
    margin: 0;
    font-family: Arial;
    background: #0a0a0a;
    color: #FFD700;
    overflow-x: hidden;
}

/* CANVAS */
#luxCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

/* APP AU DESSUS */
.app {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: auto;
    padding: 15px;
    padding-bottom: 90px;
}

/* PAGES */
.page { display: none; }
.page.active { display: block; }

/* TEXTE */
.clock {
    text-align: center;
    opacity: 0.6;
}

#display {
    font-size: 3rem;
    text-align: center;
    margin: 20px 0;
    text-shadow: 0 0 15px gold;
}

/* PROGRESS */
.progress-bar {
    height: 6px;
    background: #222;
}
#progress {
    height: 100%;
    width: 0%;
    background: gold;
}

/* BOUTONS */
.controls {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

button {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,215,0,0.5);
    background: transparent;
    color: inherit;
}

button:active {
    transform: scale(0.9);
}

/* LAPS */
#laps {
    max-height: 120px;
    overflow-y: auto;
}

/* PARAM */
input, select {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
}

/* NAV */
.nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-around;
    background: rgba(15,15,15,0.9);
    padding: 12px;
    z-index: 2;
}

.nav button {
    font-size: 1.5rem;
    opacity: 0.5;
}

.nav button.active {
    opacity: 1;
    transform: scale(1.2);
}

/* DARK / LIGHT */
body.dark {
    background: #0a0a0a;
    color: #FFD700;
}

body.light {
    background: #f5f5f5;
    color: #111;
}