:root {
  --bg: #0b0c10;
  --card: #12141a;
  --muted: #b9b1a3;
  --text: #f3efe7;
  --accent: #f40000;
  --accent-2: #c01c15;
  --accent-3: #8c382b;
  --accent-4: #585441;
  --danger: #ef4444;
  --border: #2a2a24;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  background: linear-gradient(160deg, var(--accent-4) 0%, var(--accent-3) 35%, var(--accent-2) 70%, var(--accent) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: var(--text);
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  gap: 20px;
}

h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
}

p {
  font-size: 18px;
  color: var(--muted);
}

.loader {
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 16, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-title img {
  height: 40px;
  width: 40px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.4px;
  font-size: 20px;
}

* { box-sizing: border-box; }

footer {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px 40px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
