/* =========================
   Estilos Globales – Mauri-Dev
   ========================= */

:root {
  --bg-main: #0f172a;
  --bg-card: #020617;
  --primary: #38bdf8;
  --secondary: #22c55e;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

/* =========================
   Header & Nav
   ========================= */

.header {
  text-align: center;
  padding: 40px 20px;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.header p {
  color: var(--text-muted);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  background: #020617;
  padding: 12px;
}

.nav a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: bold;
}

.nav a:hover {
  color: var(--primary);
}

/* =========================
   Layout
   ========================= */

.container {
  max-width: 1100px;
  margin: auto;
  padding: 30px 20px;
}

.intro {
  text-align: center;
  margin-bottom: 40px;
}

/* =========================
   Cards
   ========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary);
  color: #020617;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.btn:hover {
  background: var(--secondary);
}

/* =========================
   Notice
   ========================= */

.notice {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* =========================
   Footer
   ========================= */

.footer {
  text-align: center;
  padding: 20px;
  background: #020617;
  font-size: 0.9rem;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary);
}
#progress {
  width: 100%;
  height: 10px;
  background: #ddd;
  border-radius: 5px;
  margin-bottom: 15px;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: #4caf50;
  border-radius: 5px;
  transition: width 0.3s;
}

#score {
  margin-bottom: 15px;
  font-weight: bold;
}
