:root{
  --page-bg: #fbfbfc;
  --bg: #ffffff;
  --surface: #f7f7f8;
  --card: #ffffff;
  --text: #0b0b0b;
  --muted: #6b6b6b;
  --accent: #ff5b3c; /* naranja-corál del logo */
}

@media (prefers-color-scheme: dark){
  :root{
    --bg: #0b0b0c;
    --surface: #0f1113;
    --text: #f3f4f6;
    --muted: #9aa0a6;
    --accent: #ff6b35;
  }
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: linear-gradient(180deg,var(--page-bg),var(--surface));
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.container{min-height:100vh;display:flex;flex-direction:column}
.hero{flex:1;display:flex;align-items:center;justify-content:center;padding:40px}
.brand{flex:0 0 360px;display:flex;align-items:center;justify-content:center;margin-right:32px}
.brand{background:var(--card);padding:18px;border-radius:14px;box-shadow:0 10px 30px rgba(18,18,18,0.06)}
.logo{max-width:360px;height:auto;display:block}

.content{max-width:720px}
h1{font-size:2.2rem;margin:0 0 10px}
.lead{margin:0 0 18px;color:var(--muted);font-weight:600}

.countdown{display:flex;align-items:center;font-weight:700;margin-bottom:18px}
.time{display:flex;flex-direction:column;align-items:center;padding:12px 18px;background:rgba(255,255,255,0.03);border-radius:10px;min-width:96px}
.time span{font-size:2rem;letter-spacing:0.02em}
.time small{font-weight:600;color:var(--muted);font-size:0.85rem}
.sep{font-size:2rem;margin:0 10px;color:var(--muted)}

.controls{margin-bottom:18px}
.btn{background:transparent;color:var(--text);border:2px solid rgba(11,11,11,0.06);padding:8px 14px;border-radius:10px;cursor:pointer;font-weight:600}
.btn:hover{border-color:var(--accent);transform:translateY(-2px)}
.btn{transition:all .18s ease}

/* usar el color de acento en elementos clave */
.time{border:1px solid rgba(0,0,0,0.04)}
.time span{color:var(--accent)}

.note{color:var(--muted);margin-top:6px}

.footer{padding:18px;text-align:center;color:var(--muted);font-size:0.9rem}

/* Tema forzado cuando el usuario togglea */
body.dark{
  --page-bg:#070708;
  --bg:#0b0b0c;
  --surface:#0f1113;
  --card:#0f1113;
  --text:#f3f4f6;
  --muted:#9aa0a6;
}
body.light{
  --page-bg:#fbfbfc;
  --bg:#ffffff;
  --surface:#f7f7f8;
  --card:#ffffff;
  --text:#0b0b0b;
  --muted:#6b6b6b;
}

/* Responsive */
@media (max-width:820px){
  .hero{flex-direction:column;text-align:center}
  .brand{margin-right:0;margin-bottom:20px}
}
