:root {
  --bg: #070f1b;
  --panel: rgba(255, 255, 255, 0.06);
  --text: #edf2ff;
  --muted: #a7b2cb;
  --line: rgba(255, 255, 255, 0.16);
  --primary: #ff7b34;
  --accent: #1ed4c9;
  --ring: #ff4d64;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 20% -10%, #18324e, transparent 40%),
              radial-gradient(circle at 85% 20%, #2a1940, transparent 30%),
              var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}
.aurora {
  position: fixed;
  inset: -20vmax;
  background:
    radial-gradient(circle at 20% 30%, rgba(30, 212, 201, 0.22), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 82, 120, 0.24), transparent 45%);
  filter: blur(0.2rem);
  z-index: -1;
}
.topbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  background: rgba(7, 15, 27, 0.55);
  z-index: 20;
}
.brand { font-size: 1.1rem; letter-spacing: 0.08em; font-weight: 700; text-transform: lowercase; }
.badge { font-size: 0.78rem; color: #c8f8f1; border: 1px solid rgba(255, 255, 255, 0.25); padding: 0.25rem 0.6rem; border-radius: 999px; }

main { width: min(980px, 92vw); margin: 0 auto; padding: 2rem 0 6rem; display: grid; gap: 1.1rem; }
.hero {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  border: 1px solid var(--line);
  padding: 2.2rem;
  border-radius: 1.2rem;
  background: var(--panel);
}
.hero-copy h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.05; margin: 0.3rem 0 1rem; }
.eyebrow { margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; }
.actions { margin-top: 1.3rem; display: flex; gap: 0.8rem; }
.actions a {
  text-decoration: none;
  color: var(--bg);
  background: linear-gradient(135deg, var(--primary), var(--ring));
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}
.actions a:last-child { background: transparent; color: var(--text); border: 1px solid var(--line); }

.hero-avatar { display: grid; place-items: center; justify-self: center; }
.avatar-ring {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.5);
  animation: spin 18s linear infinite;
  margin-bottom: -280px;
}
.avatar-card {
  width: 260px;
  padding: .8rem;
  border-radius: 24px;
  background: rgba(15, 32, 55, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.avatar-svg { width: 100%; border-radius: 18px; display: block; }
.avatar-card p { margin: .55rem 0 0; text-align: center; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.panel, .cards article { background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; }
.panel p, .cards article p { color: var(--muted); }
.panel h2, .cards article h2 { margin-top: 0; }

.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  background: #0f223b;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(150%);
  opacity: 0;
  transition: all .45s ease;
}
.consent-banner.show { transform: translateY(0); opacity: 1; }
.consent-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
button {
  border: 0;
  border-radius: .8rem;
  padding: .58rem .9rem;
  font-weight: 600;
  cursor: pointer;
}
#consent-accept { background: var(--accent); color: #062022; }
#consent-decline { background: transparent; color: var(--text); border: 1px solid var(--line); }
footer { text-align: center; color: var(--muted); padding-bottom: 5rem; }

.reveal {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

@media (max-width: 900px) {
  .hero, .cards { grid-template-columns: 1fr; }
  .hero { padding: 1.4rem; }
  .actions { flex-direction: column; }
  .consent-banner { flex-direction: column; align-items: flex-start; }
}

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