:root {
  --bg-from: #0b0f19;
  --bg-to: #0d1226;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent-from: #8b5cf6;
  --accent-to: #06b6d4;
  --gold-from: #f59e0b;
  --gold-to: #fbbf24;
  --success: #22c55e;
  --danger: #ef4444;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text);
  background: radial-gradient(1200px 60% at 50% 120%, rgba(37, 99, 235, 0.15), transparent 60%),
              linear-gradient(160deg, var(--bg-from), var(--bg-to));
  overflow-x: hidden;
}

/* Subtle grain for texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="90" height="90" viewBox="0 0 90 90"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.035"/></svg>');
  pointer-events: none;
}

.wrap { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; }
header, footer { width: 100%; }

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto; padding: 24px 20px;
}

.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; letter-spacing: .3px; font-size: 1.05rem; }
.brand .logo {
  width: 36px; height: 36px; border-radius: 12px; position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 0% 0%, var(--gold-from), var(--gold-to) 50%, transparent 55%),
              linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.02));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 10px 30px rgba(251,191,36,.25);
}
.brand .logo::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(11,15,25,.6), rgba(255,255,255,.55), rgba(11,15,25,.6));
  filter: blur(.5px);
}
.brand-name { color: var(--text); }

.main { display: grid; place-items: center; position: relative; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 24px 20px 64px; }
.card {
  width: min(860px, 100%);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: clamp(28px, 6vw, 56px);
  position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  isolation: isolate;
}
.card::before {
  content: ""; position: absolute; left: -20%; right: -20%; bottom: -55%; height: 120%;
  background: radial-gradient(60% 30% at 50% 10%, rgba(59,130,246,.65), rgba(6,182,212,.55) 40%, rgba(0,0,0,0) 70%);
  filter: blur(30px); opacity: .45; z-index: -1; animation: rise 12s ease-in-out infinite alternate;
}
@keyframes rise { from { transform: translateY(8px) scale(1.02); } to { transform: translateY(-6px) scale(1.04); } }

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 0 0 12px;
  background: linear-gradient(90deg, var(--accent-from), var(--accent-to));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); margin: 0 0 28px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--card-border); padding: 8px 12px; border-radius: 100px;
  font-size: .9rem; letter-spacing: .2px; color: #fef3c7;
  background: linear-gradient(180deg, rgba(245, 158, 11, .18), rgba(245, 158, 11, .08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
  margin-bottom: 14px;
}
.dot { width: 8px; height: 8px; border-radius: 999px; background: linear-gradient(180deg, var(--gold-from), var(--gold-to)); box-shadow: 0 0 12px rgba(251,191,36,.9); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.input {
  display: flex; gap: 10px; width: 100%; max-width: 520px;
  background: rgba(255,255,255,.06); border: 1px solid var(--card-border); border-radius: 16px; padding: 10px;
}
.input input {
  flex: 1; padding: 12px 14px; background: transparent; border: 0; outline: none; color: var(--text);
  font-size: 1rem; letter-spacing: .2px;
}
.btn {
  cursor: pointer; border: 0; padding: 12px 18px; border-radius: 12px; font-weight: 700; letter-spacing: .3px;
  background: linear-gradient(90deg, var(--gold-from), var(--gold-to)); color: #111827;
  box-shadow: 0 12px 30px rgba(251,191,36,.25), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .2s ease, filter .2s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }

.hint { font-size: .9rem; color: var(--muted); margin-top: 8px; }

.socials { display: flex; gap: 10px; margin-top: 0; }
.icon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid var(--card-border);
  transition: transform .2s ease, background .2s ease;
}
.icon:hover { transform: translateY(-2px); background: rgba(255,255,255,.08); }
.icon svg { width: 20px; height: 20px; opacity: .95; }

.footer {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 20px 28px; color: var(--muted); font-size: .9rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  opacity: .9;
}

/* Shooting stars */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.star { position: absolute; top: -10vh; width: 2px; height: 2px; background: white; border-radius: 999px; opacity: .8; filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); animation: fall linear forwards; }
.star::after { content: ""; position: absolute; right: 2px; top: 1px; width: 120px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,0)); transform: rotate(180deg); transform-origin: left center; }
@keyframes fall { to { transform: translateY(110vh) translateX(-30vw); opacity: 0; } }

@media (max-width: 520px) {
  .actions { flex-direction: column; align-items: stretch; }
  .input { max-width: unset; }
}
