/* Beaujolais Reflection — minimal landing page */
:root {
  --accent: #00A4FF;
  --bg: #061018;
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --card: rgba(9, 16, 24, 0.55);
  --stroke: rgba(255,255,255,0.18);
  --shadow: 0 22px 55px rgba(0,0,0,0.40);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  overflow-x: hidden;
}

/* Full-bleed background image */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 65% 20%, rgba(0,164,255,0.18), transparent 55%),
    radial-gradient(900px 450px at 20% 80%, rgba(0,164,255,0.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.55)),
    url("bg.jpg");
  background-size: auto, auto, auto, cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
  transform: translateZ(0);
  z-index: -2;
}

/* Soft vignette */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px 800px at 50% 10%, rgba(0,0,0,0.10), rgba(0,0,0,0.55));
  z-index: -1;
  pointer-events: none;
}

.topbar {
  position: fixed;
  top: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 10;
}

.logo {
  width: min(256px, 36.8vw);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45));
}

.wrap {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 96px 18px 66px; /* leaves room for logo topbar + footer */
}

.card {
  width: min(420px, 92vw);
  padding: 22px 20px 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.2px;
}

.sub {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.form {
  display: grid;
  gap: 12px;
}

label span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.80);
  margin: 0 0 6px;
}

input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(0,0,0,0.28);
  color: var(--text);
  outline: none;
}

input::placeholder {
  color: rgba(255,255,255,0.45);
}

input:focus {
  border-color: rgba(0,164,255,0.65);
  box-shadow: 0 0 0 4px rgba(0,164,255,0.20);
}

.btn {
  margin-top: 10px;
  width: 100%;
  /* Keep the label visually centered and make the button feel "premium" */
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(0,164,255,0.85);
  background: linear-gradient(180deg, rgba(0,164,255,0.95), rgba(0,132,215,0.95));
  color: #001018;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 120ms ease, filter 120ms ease;
}

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

.btn:active {
  transform: translateY(0px);
}

.meta {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
}

.link {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,164,255,0.35);
}

.link:hover {
  color: #fff;
  border-bottom-color: rgba(0,164,255,0.65);
}

.dot {
  opacity: 0.6;
}

.footer {
  position: fixed;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.footer span {
  font-size: 12px;
  color: rgba(255,255,255,0.70);
  text-shadow: 0 8px 20px rgba(0,0,0,0.55);
}

@media (max-width: 420px) {
  .logo { width: min(260px, 60vw); }
  .card h1 { font-size: 20px; }
}
