:root {
  --grad-1: #2b1f45;
  --grad-2: #1c3f5a;
  --ink: #e6edf3;
  --muted: #9fb0c0;
  --accent: #55c2b6;
  --accent-2: #f4d06f;
  --card: rgba(10, 20, 30, 0.68);
  --border: rgba(255, 255, 255, 0.08);
  --panel-bg: rgba(7, 16, 24, 0.55);
  --panel-border: rgba(255, 255, 255, 0.06);
  --life-color: rgba(85, 194, 182, 0.85);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 20% 15%, var(--grad-1) 0%, transparent 60%),
    radial-gradient(900px 700px at 80% 20%, var(--grad-2) 0%, transparent 60%),
    linear-gradient(155deg, var(--grad-1), var(--grad-2));
  overflow: hidden;
  transition: background 1.5s ease;
}

.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.28;
  mix-blend-mode: screen;
}

.veil {
  position: fixed;
  inset: 0;
  background: radial-gradient(700px 400px at 50% 45%, rgba(8, 20, 28, 0.5), transparent 70%),
    linear-gradient(180deg, rgba(5, 10, 14, 0.65), rgba(5, 10, 14, 0.2));
  z-index: 1;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: 1;
}

.wrap {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.panel {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 20px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  box-shadow: 0 18px 40px rgba(5, 12, 18, 0.45);
  backdrop-filter: blur(16px) saturate(130%);
}

.content {
  text-align: center;
  display: grid;
  gap: 22px;
}

.title {
  font-family: "Merriweather", "Georgia", serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: clamp(32px, 4vw, 48px);
  margin: 0;
}

.actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 28, 40, 0.7);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.4px;
}

.btn:hover {
  border-color: rgba(85, 194, 182, 0.8);
  background: rgba(22, 40, 55, 0.85);
}
