/* Root kleuren */
:root {
  --bg: #0b0f12;
  --card: #0f1417;
  --muted: #9aa6af;
  --accent: #d14a4a;
  --glass: rgba(255, 255, 255, 0.03);
}

/* Reset */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background-color: var(--bg);
  color: #e7eef6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  background-color: #0f1417d9;
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  z-index: 20;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 44px;
  cursor: pointer;
}

.brand h1 {
  font-size: 20px;
  margin: 0;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: 0.2s;
}

nav a:hover {
  color: #fff;
}

/* Main */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.error-box {
  max-width: 600px;
  background-color: var(--glass);
  padding: 50px 30px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
}

.error-code {
  font-size: 120px;
  font-weight: 800;
  color: var(--accent);
  margin: 0;
}

.error-message {
  font-size: 20px;
  color: var(--muted);
  margin: 10px 0 30px;
}

.error-buttons .btn {
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.btn.primary {
  background: linear-gradient(180deg, var(--accent), #f18a8a);
  color: #2a0202;
}

.btn.secondary {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  color: #fff;
  margin-left: 10px;
}

/* Footer */
footer {
  background-color: #0f1417d9;
  padding: 40px 20px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

footer h4 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #fff;
}

footer a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin: 6px 0;
  font-size: 14px;
  transition: 0.2s;
}

footer a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
  text-align: center;
  color: var(--muted);
}

footer img {
  height: 40px;
}
