/* Public pages: registration, find pass, pass page. Card styles are in pass.css. */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page-bg); color: var(--ink);
  font-family: "Inter", system-ui, sans-serif; line-height: 1.5;
  min-height: 100vh; overflow-x: hidden;
}
a { color: var(--gold-light); }

/* Soft coloured light blobs behind everything (brochure "bokeh" look) */
.bokeh { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bokeh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; }
.bokeh i:nth-child(1) { width: 380px; height: 380px; background: #6a3de0; top: -120px; left: -100px; }
.bokeh i:nth-child(2) { width: 320px; height: 320px; background: #e2269c; top: 30%; right: -140px; opacity: .3; }
.bokeh i:nth-child(3) { width: 300px; height: 300px; background: #1ba1e2; bottom: -120px; left: 10%; opacity: .25; }
.bokeh i:nth-child(4) { width: 220px; height: 220px; background: #d9a63f; bottom: 20%; right: 20%; opacity: .18; }

.wrap { max-width: 460px; margin: 0 auto; padding: 20px 16px 48px; }

.site-head { text-align: center; padding-top: 6px; }
.site-head .logo {
  display: inline-block; background: #fff; border-radius: 14px; padding: 6px 14px 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.site-head .logo img { height: 52px; display: block; }

.hero { text-align: center; margin: 22px 0 18px; }
.eyebrow {
  display: inline-block; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; font-weight: 700;
  color: #2a1a05; background: var(--foil); padding: 5px 12px 5px 14px; border-radius: 99px;
}
.hero h1 {
  font-family: "Playfair Display", Georgia, serif; font-weight: 900; font-size: 34px; line-height: 1.1;
  margin: 14px 0 6px;
}
.hero h1 .gold {
  background: var(--foil); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: vp-gold 4s linear infinite;
}
.hero p { color: var(--muted); margin: 0; font-size: 15px; }

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(240, 205, 107, .28); border-radius: 22px; padding: 22px 18px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #e7dcff; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: rgba(10, 8, 22, .6); border: 1px solid rgba(185, 173, 219, .3);
  border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 166, 63, .25); }
.field.bad input { border-color: #ff6b8a; }
.field .err { color: #ff8fa6; font-size: 13px; margin-top: 5px; }
.phone-wrap { display: flex; }
.phone-wrap span {
  display: flex; align-items: center; padding: 0 12px; border-radius: 12px 0 0 12px;
  background: rgba(240, 205, 107, .14); border: 1px solid rgba(185, 173, 219, .3); border-right: 0;
  font-weight: 600; color: var(--gold-light);
}
.phone-wrap input { border-radius: 0 12px 12px 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  font: inherit; font-weight: 800; font-size: 16px; letter-spacing: .04em; text-decoration: none;
  border: 0; border-radius: 14px; padding: 15px 18px; cursor: pointer; position: relative; overflow: hidden;
}
.btn-gold { background: var(--foil); background-size: 200% 100%; color: #241503;
  box-shadow: 0 10px 30px -8px rgba(217, 166, 63, .6); }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 40% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }
.btn-violet { background: linear-gradient(135deg, #8b3dea, #6a2bc4); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .07); color: var(--ink); border: 1px solid rgba(185, 173, 219, .3); }
.btn-wa { background: #25d366; color: #06351a; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stack > * + * { margin-top: 10px; }

.small { font-size: 13px; color: var(--muted); }
.center { text-align: center; }
.consent { font-size: 12px; color: var(--muted); margin: 12px 0 0; text-align: center; }

.notice {
  border-radius: 16px; padding: 14px 16px; margin-bottom: 18px; font-size: 14.5px;
  border: 1px solid; display: flex; gap: 12px; align-items: flex-start;
}
.notice b { display: block; font-size: 16px; margin-bottom: 2px; }
.notice .ico { font-size: 22px; line-height: 1; }
.notice.gold { background: rgba(217, 166, 63, .12); border-color: rgba(240, 205, 107, .45); }
.notice.violet { background: rgba(139, 61, 234, .15); border-color: rgba(139, 61, 234, .5); }
.notice.red { background: rgba(255, 77, 109, .12); border-color: rgba(255, 77, 109, .5); }

.card-stage { display: flex; justify-content: center; margin: 6px 0 22px; perspective: 1200px; }
.card-stage .vpass { transition: transform .25s ease-out; will-change: transform; }

.foot { text-align: center; margin-top: 28px; font-size: 12px; color: var(--muted); }

/* Confetti pieces (created by JS on a new registration) */
.confetti { position: fixed; top: -12px; width: 9px; height: 14px; z-index: 50; pointer-events: none;
  animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

@media (prefers-reduced-motion: reduce) {
  .vp-foil, .vp-vvip, .hero h1 .gold, .btn-gold::after { animation: none !important; }
}

/* "I'm not a robot" checkbox */
.robot {
  display: flex; align-items: center; gap: 12px; cursor: pointer; user-select: none;
  background: rgba(10, 8, 22, .6); border: 1px solid rgba(185, 173, 219, .3); border-radius: 12px;
  padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.robot:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 166, 63, .25); }
.robot-box {
  width: 26px; height: 26px; flex: none; border-radius: 7px; border: 2px solid rgba(240, 205, 107, .7);
  display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .04);
}
.robot-box svg { width: 20px; height: 20px; fill: #0f2a17; opacity: 0; }
.robot-text { flex: 1; font-weight: 600; font-size: 15px; }
.robot-shield { opacity: .6; }
.robot[data-state=working] .robot-box { border-color: var(--gold); border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.robot[data-state=done] { border-color: rgba(34, 197, 94, .6); cursor: default; }
.robot[data-state=done] .robot-box { background: #22c55e; border-color: #22c55e; }
.robot[data-state=done] .robot-box svg { opacity: 1; }
.robot[data-state=done] .robot-text { color: #86efac; }
.robot[data-state=error] .robot-text { color: #ff8fa6; }
.robot.need { animation: shake .4s; border-color: #ff6b8a; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
