:root {
  color-scheme: dark;
  --bg: #020617;
  --card: rgba(15, 23, 42, 0.82);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #818cf8;
  --border: rgba(148, 163, 184, 0.18);
  --shadow: 0 30px 80px rgba(2, 6, 23, 0.55);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  color: var(--text);
  background: #020617;
  overflow-x: hidden;
}

/* Pushpak as a large, centered watermark behind the card */
.bg-photo {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #020617;
  background-image: url("/pushpak.jpeg");
  background-repeat: no-repeat;
  background-position: center 42%;
  /* Keep portrait readable; don't crop the face to a strip */
  background-size: min(92vw, 640px) auto;
  opacity: 0.55;
  filter: contrast(1.08) saturate(1.05);
}

/* Light darkening only — still shows the photo clearly */
.bg-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(2, 6, 23, 0.15) 0%, rgba(2, 6, 23, 0.55) 58%, rgba(2, 6, 23, 0.88) 100%);
}

.shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.card {
  width: min(100%, 640px);
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.card > .eyebrow,
.card > h1,
.card > .lede {
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: #04111f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.btn.ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(148, 163, 184, 0.06);
}

.meta {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

code {
  color: #c4b5fd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

@media (max-width: 560px) {
  .card {
    padding: 1.5rem;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .bg-photo {
    background-size: min(110vw, 520px) auto;
    background-position: center 38%;
    opacity: 0.5;
  }
}
