:root {
    --gold: #d4af37;
    --copper: #b87333;
    --dark: #0f0f0f;
    --light: #e0e0e0;
    --accent: #ff4500;
}

body { background: var(--dark); color: var(--light); font-family: 'Segoe UI', sans-serif; margin: 0; }
.container { max-width: 1000px; margin: auto; padding: 20px; }

/* Public Page */
.vortex-header { 
    height: 60vh; 
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/bg-vortex.png') center/cover;
    display: flex; align-items: center; justify-content: center; text-align: center;
    border-bottom: 4px solid var(--gold);
}
h1 span { color: var(--gold); font-size: 1.5em; text-shadow: 0 0 10px var(--accent); }

.info-box { background: rgba(184, 115, 51, 0.1); border: 2px solid var(--copper); padding: 30px; border-radius: 15px; margin: 40px 0; }
.btn-ticket { display: inline-block; background: var(--accent); color: white; padding: 12px 25px; text-decoration: none; border-radius: 5px; font-weight: bold; }

/* Admin UI */
.admin-page { background: #1a1a1a; }
.admin-nav { background: #000; padding: 15px 30px; display: flex; justify-content: space-between; border-bottom: 2px solid var(--gold); }
.admin-nav a { color: var(--gold); text-decoration: none; font-weight: bold; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.card { background: #2a2a2a; padding: 30px; border-radius: 10px; text-align: center; text-decoration: none; color: white; border-bottom: 4px solid var(--copper); transition: 0.3s; }
.card:hover { transform: translateY(-10px); background: #333; }
.icon { font-size: 3em; margin-bottom: 15px; }

/* Audio List */
.audio-list { list-style: none; padding: 0; }
.audio-list li { background: #222; margin: 10px 0; padding: 15px; display: flex; align-items: center; justify-content: space-between; border-radius: 5px; }
.dl-btn { text-decoration: none; font-size: 1.2em; }

.login-footer { background: #000; padding: 50px 0; text-align: center; margin-top: 50px; }
.error { color: var(--accent); font-weight: bold; }

/* --- Style du Compteur Temporel --- */
.time-machine-timer {
    background: #000;
    border: 3px solid var(--copper);
    max-width: 600px;
    margin: -60px auto 40px; /* Chevauche légèrement le header */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(184, 115, 51, 0.5), inset 0 0 15px rgba(0,0,0,0.8);
    position: relative;
    z-index: 10;
    text-align: center;
}

.timer-label {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: bold;
}

.timer-display {
    display: flex;
    justify-content: space-around;
}

.time-segment {
    display: flex;
    flex-direction: column;
}

.time-segment span {
    font-family: 'Courier New', Courier, monospace; /* Style machine à écrire/vieux cadran */
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffcc00;
    text-shadow: 0 0 10px #ff4500, 0 0 20px #ff4500;
    background: #1a1a1a;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #333;
    min-width: 60px;
}

.time-segment .label {
    font-size: 0.6rem;
    color: var(--copper);
    margin-top: 5px;
    font-weight: bold;
}