
:root{
  --text: rgba(255,255,255,0.96);
  --muted: rgba(255,255,255,0.78);
  --btn-bg: rgba(255,255,255,0.18);
  --btn-bg-hover: rgba(255,255,255,0.28);
  --btn-border: rgba(255,255,255,0.38);
  --shadow: 0 24px 60px rgba(0,0,0,0.28);
}
*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial;
  color: var(--text);
  overflow-x: hidden;
}
.bg{
  position: fixed;
  inset: -6%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.02) contrast(1.02);
  transform: translate3d(0,0,0);
  will-change: transform, opacity;
}
.bg-a{
  background-image: image-set(
    url("assets/bg-640.jpg") 1x,
    url("assets/bg-1280.jpg") 2x
  );
  animation: driftA 26s ease-in-out infinite;
  opacity: 1;
}
.bg-b{
  background-image: image-set(
    url("assets/bg-640.jpg") 1x,
    url("assets/bg-1920.jpg") 2x
  );
  animation: driftB 30s ease-in-out infinite;
  opacity: 0.72;
  mix-blend-mode: soft-light;
}
@keyframes driftA{
  0%{ transform: scale(1.05) translate3d(0,0,0); }
  50%{ transform: scale(1.10) translate3d(-1.2%, -1.2%, 0); }
  100%{ transform: scale(1.05) translate3d(0,0,0); }
}
@keyframes driftB{
  0%{ transform: scale(1.08) translate3d(0,0,0); }
  50%{ transform: scale(1.13) translate3d(1.1%, 1.0%, 0); }
  100%{ transform: scale(1.08) translate3d(0,0,0); }
}
.overlay{
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 50% 30%, rgba(0,0,0,0.22), rgba(0,0,0,0.62)),
    linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.62));
}
.card{
  position: relative;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  text-align: center;
}
.card > *{ width: min(520px, 92vw); }
h1{
  margin: 0 0 18px 0;
  font-size: clamp(34px, 5.2vw, 54px);
  letter-spacing: -0.02em;
  font-weight: 650;
  text-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.buttons{
  display: grid;
  gap: 12px;
  margin: 0 auto 18px auto;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 16px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: var(--btn-bg-hover);
  border-color: rgba(255,255,255,0.55);
}
.btn:active{ transform: translateY(0px) scale(0.99); }
.small{
  margin: 10px 0 0 0;
  font-size: 13px;
  color: var(--muted);
  text-shadow: 0 8px 18px rgba(0,0,0,0.28);
}
@media (prefers-reduced-motion: reduce){
  .bg-a, .bg-b{ animation: none; }
  .btn{ transition: none; }
}
