:root{
  --bg: #0b0b0c;
  --panel: #121214;
  --text: #f3f3f5;
  --muted: #b9b9c2;
  --gold: #d4af37;
  --gold-2: #b9931a;
  --danger: #e05252;
  --danger-2:#c63e3e;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  background: radial-gradient(1200px 800px at 70% -10%, rgba(212,175,55,.08), transparent 60%), var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Topbar */
.topbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0));
  backdrop-filter: blur(6px);
  z-index: 100; /* above glow */
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo{
  width: 36px; height: 36px;
  filter: drop-shadow(0 4px 10px rgba(212,175,55,.35));
}

.brand-name{
  font-weight: 800;
  letter-spacing: .3px;
  color: var(--text);
  position: relative;
}
.brand-name::after{
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  opacity: .6;
}

/* Center stage */
.stage{
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 96px 20px 40px;
  position: relative;
  z-index: 101; /* above glow */
}

.card{
  width: min(560px, 92vw);
  background: linear-gradient(180deg, rgba(212,175,55,.04), transparent 30%), var(--panel);
  border: 1px solid rgba(212,175,55,.22);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 220px at 20% -60%, rgba(212,175,55,.12), transparent 70%);
  pointer-events: none;
}

.title{
  font-size: clamp(22px, 2.1vw, 28px);
  margin: 8px 0 6px;
  line-height: 1.25;
  letter-spacing: .2px;
}

.subtitle{
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14.5px;
}

.actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 8px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  user-select: none;
  will-change: transform;
}

.btn:active{ transform: translateY(1px); }

.btn-danger{
  background: linear-gradient(180deg, var(--danger), var(--danger-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(198,62,62,.35);
  border-color: rgba(255,255,255,.04);
}
.btn-danger:hover{
  box-shadow: 0 12px 28px rgba(198,62,62,.45);
}

.btn-ghost{
  background: rgba(255,255,255,.02);
  color: var(--text);
  border-color: rgba(212,175,55,.28);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.04);
  border-color: rgba(212,175,55,.45);
}

.hint{
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 12.5px;
}

kbd{
  background: #222226;
  border: 1px solid rgba(255,255,255,.08);
  border-bottom-color: rgba(255,255,255,.15);
  border-radius: 6px;
  padding: 2px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  color: #e9e9ee;
}

/* Ambient glows */
.glow{
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  pointer-events: none;    /* ensure they never catch clicks */
  z-index: 1;
}
.glow-1{
  width: 520px; height: 520px;
  left: -120px; top: -140px;
  background: radial-gradient(closest-side, rgba(212,175,55,.55), transparent 70%);
}
.glow-2{
  width: 460px; height: 460px;
  right: -140px; bottom: -160px;
  background: radial-gradient(closest-side, rgba(212,175,55,.35), transparent 70%);
}

/* Small screens */
@media (max-width: 480px){
  .actions{ flex-direction: column; }
  .btn{ width: 100%; }
  .brand-name{ display:none; }
}
