:root {
  color-scheme: dark;
  --bg: #061019;
  --panel: rgba(10, 18, 30, 0.68);
  --panel-strong: rgba(12, 22, 36, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --text: #eef5ff;
  --muted: rgba(238, 245, 255, 0.72);
  --primary: #66f2c2;
  --primary-strong: #33d5a2;
  --accent: #7da7ff;
  --accent-2: #ffb86b;
  --danger: #ff6a7a;
  --success: #45d483;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(125, 167, 255, 0.1), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(102, 242, 194, 0.14), transparent 26%),
    radial-gradient(circle at 48% 92%, rgba(255, 184, 107, 0.08), transparent 28%),
    linear-gradient(180deg, #09131c 0%, #071018 40%, #061019 100%);
  color: var(--text);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

.shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  isolation: isolate;
}

.veg-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.veg {
  position: absolute;
  display: block;
  opacity: 0.9;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.22));
  animation: floatVeg 12s ease-in-out infinite;
}

.veg::before,
.veg::after {
  content: "";
  position: absolute;
}

.veg-carrot {
  left: 6%;
  bottom: 12%;
  width: 90px;
  height: 160px;
  background: linear-gradient(180deg, #ffb54d 0%, #e36d17 100%);
  clip-path: polygon(50% 0%, 82% 12%, 100% 52%, 68% 100%, 32% 100%, 0% 52%, 18% 12%);
  transform: rotate(-14deg);
}

.veg-carrot::before {
  width: 66px;
  height: 28px;
  top: -22px;
  left: 12px;
  background:
    radial-gradient(circle at 30% 50%, #58b86d 0 24%, transparent 25%),
    radial-gradient(circle at 50% 50%, #63c977 0 24%, transparent 25%),
    radial-gradient(circle at 70% 50%, #47a95b 0 24%, transparent 25%);
}

.veg-lettuce {
  right: 8%;
  top: 18%;
  width: 150px;
  height: 150px;
  border-radius: 50% 42% 50% 54%;
  background:
    radial-gradient(circle at 38% 34%, #7bff9b 0 16%, transparent 17%),
    radial-gradient(circle at 66% 30%, #41cd74 0 16%, transparent 17%),
    radial-gradient(circle at 52% 62%, #2eaa59 0 22%, transparent 23%),
    radial-gradient(circle at 50% 50%, #89ffad 0 38%, #2d7f42 72%, transparent 73%);
}

.veg-tomato {
  left: 16%;
  top: 18%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff9f9f 0 18%, #ff5a5a 42%, #c82323 100%);
}

.veg-tomato::before {
  width: 44px;
  height: 20px;
  top: -10px;
  left: 24px;
  background: #4ea75e;
  clip-path: polygon(50% 0%, 62% 28%, 100% 30%, 70% 50%, 82% 100%, 50% 70%, 18% 100%, 30% 50%, 0% 30%, 38% 28%);
}

.veg-broccoli {
  left: 76%;
  bottom: 14%;
  width: 122px;
  height: 170px;
  animation-delay: 1.4s;
}

.veg-broccoli::before {
  width: 78px;
  height: 92px;
  left: 22px;
  top: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 38%, #9cffb2 0 18%, transparent 19%),
    radial-gradient(circle at 68% 34%, #63d67d 0 18%, transparent 19%),
    radial-gradient(circle at 50% 62%, #2f8f46 0 42%, #1e6c34 86%, transparent 87%);
  box-shadow:
    -28px 18px 0 -14px #2f8f46,
    28px 18px 0 -14px #2f8f46,
    0 28px 0 -8px #47b85f;
}

.veg-broccoli::after {
  width: 20px;
  height: 96px;
  left: 51px;
  top: 72px;
  background: linear-gradient(180deg, #c4a166, #8d6d3f);
  border-radius: 12px;
}

.veg-cucumber {
  right: 18%;
  bottom: 8%;
  width: 170px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #74d66d, #2d7f45);
  transform: rotate(-22deg);
}

.veg-cucumber::before {
  width: 18px;
  height: 18px;
  left: 20px;
  top: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 34px 0 0 rgba(255, 255, 255, 0.16), 68px 0 0 rgba(255, 255, 255, 0.16), 102px 0 0 rgba(255, 255, 255, 0.16);
}

.veg-pepper {
  left: 42%;
  top: 10%;
  width: 88px;
  height: 120px;
  border-radius: 46% 46% 38% 38%;
  background: linear-gradient(180deg, #ffd86e 0%, #ff9d2d 100%);
  animation-delay: 2.1s;
}

.veg-pepper::before {
  width: 24px;
  height: 28px;
  top: -16px;
  left: 32px;
  border-radius: 50% 50% 20% 20%;
  background: #3c7f43;
}

.app-card {
  position: relative;
  width: min(1120px, 100%);
  min-height: min(760px, calc(100vh - 48px));
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(9, 16, 28, 0.74), rgba(7, 12, 22, 0.92));
  box-shadow: var(--shadow);
  border-radius: 32px;
  backdrop-filter: blur(18px);
  padding: 28px;
  overflow: hidden;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(125, 167, 255, 0.08), transparent 25%),
    linear-gradient(300deg, rgba(102, 242, 194, 0.08), transparent 25%);
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

h1,
h2,
.role-card strong {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
}

h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.04;
}

.eyebrow,
.hero-kicker {
  margin: 0;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.status-pill,
.dot-live,
.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.status-pill::before,
.dot-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 18px rgba(69, 212, 131, 0.8);
}

.screen {
  position: relative;
  z-index: 1;
}

.screen-panel {
  animation: fadeUp 360ms ease-out;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  min-height: 620px;
}

.hero-copy {
  max-width: 560px;
}

.hero-text {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.start-button,
.primary-button,
.ghost-button,
.role-card {
  border: 0;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.start-button,
.primary-button {
  margin-top: 28px;
  border-radius: 18px;
  padding: 16px 22px;
  font-weight: 800;
  color: #041015;
  background: linear-gradient(135deg, var(--primary), #d2fff0);
  box-shadow: 0 16px 40px rgba(102, 242, 194, 0.26);
}

.start-button:hover,
.primary-button:hover,
.ghost-button:hover,
.role-card:hover {
  transform: translateY(-2px);
}

.ghost-button {
  border-radius: 16px;
  padding: 14px 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.market-card {
  position: relative;
  width: min(380px, 100%);
  border-radius: 28px;
  padding: 24px;
  text-align: center;
  z-index: 2;
}

.glass,
.role-card,
.verification-card,
.payment-card,
.payment-actions {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.market-card-top,
.payment-header,
.summary-row,
.mini-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dot-live,
.dot-green {
  color: var(--text);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.dot-green {
  background: var(--success);
  box-shadow: 0 0 16px rgba(69, 212, 131, 0.7);
}

.veg-orbit {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 22px auto 18px;
  border-radius: 50%;
  border: 1px solid rgba(102, 242, 194, 0.18);
  box-shadow:
    0 0 0 18px rgba(102, 242, 194, 0.04),
    0 0 0 44px rgba(125, 167, 255, 0.04);
  animation: pulseGlow 4s ease-in-out infinite;
}

.orbit-item {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  animation: orbitMove 9s linear infinite;
}

.item-carrot {
  left: 0;
  top: 50%;
  margin-top: -27px;
  background: linear-gradient(180deg, #ffb54d, #e36d17);
  clip-path: polygon(50% 0%, 80% 14%, 100% 50%, 80% 86%, 50% 100%, 20% 86%, 0% 50%, 20% 14%);
}

.item-tomato {
  right: 0;
  top: 50%;
  margin-top: -27px;
  background: radial-gradient(circle at 30% 30%, #ff9f9f 0 18%, #ff5a5a 42%, #c82323 100%);
  animation-delay: 1.6s;
}

.item-leaf {
  top: 0;
  left: 50%;
  margin-left: -27px;
  background: radial-gradient(circle at 50% 50%, #93ffaf 0 42%, #3f9b5a 70%, #1c6135 100%);
  animation-delay: 3.2s;
}

.item-broccoli {
  bottom: 0;
  left: 50%;
  margin-left: -27px;
  background:
    radial-gradient(circle at 50% 42%, #9cffb2 0 22%, #49bb64 44%, #1f6e37 100%);
  animation-delay: 4.8s;
}

.market-chip {
  display: inline-flex;
  margin: 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(238, 245, 255, 0.88);
  background: rgba(102, 242, 194, 0.08);
  border: 1px solid rgba(102, 242, 194, 0.18);
}

.bridge-panel {
  margin-top: 22px;
  border-radius: 26px;
  padding: 22px;
  display: grid;
  gap: 14px;
}

.bridge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bridge-row:last-of-type {
  border-bottom: 0;
}

.bridge-row span {
  color: var(--muted);
}

.bridge-row strong {
  font-weight: 800;
}

.bridge-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
}

.bridge-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(102, 242, 194, 1), rgba(210, 255, 240, 1));
  box-shadow: 0 0 18px rgba(102, 242, 194, 0.3);
  animation: bridgePulse 1.1s ease-in-out infinite;
}

.bridge-dot:nth-child(2) {
  animation-delay: 160ms;
}

.bridge-dot:nth-child(3) {
  animation-delay: 320ms;
}

.bridge-strip {
  margin: 16px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bridge-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(238, 245, 255, 0.78);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.bridge-chip.is-live {
  color: #061019;
  border-color: rgba(102, 242, 194, 0.35);
  background: linear-gradient(135deg, rgba(102, 242, 194, 1), rgba(210, 255, 240, 1));
}

.grid-overlay,
.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 24%, transparent 72%);
  opacity: 0.45;
}

.aurora {
  background: radial-gradient(circle at 20% 20%, rgba(102, 242, 194, 0.12), transparent 30%);
  animation: shimmer 18s linear infinite;
}

.aurora-two {
  background: radial-gradient(circle at 80% 80%, rgba(125, 167, 255, 0.14), transparent 30%);
  animation-direction: reverse;
}

.section-head {
  max-width: 720px;
}

.flow-rail {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toggle-row {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.toggle-pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
}

.toggle-pill.is-active {
  color: #061019;
  border-color: rgba(102, 242, 194, 0.42);
  background: linear-gradient(135deg, rgba(102, 242, 194, 1), rgba(210, 255, 240, 1));
}

.flow-step {
  position: relative;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(238, 245, 255, 0.58);
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.flow-step.is-active {
  color: #061019;
  background: linear-gradient(135deg, rgba(102, 242, 194, 1), rgba(210, 255, 240, 1));
  border-color: rgba(102, 242, 194, 0.4);
  box-shadow: 0 12px 28px rgba(102, 242, 194, 0.18);
}

.role-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.role-card {
  text-align: left;
  border-radius: 24px;
  padding: 22px;
  color: var(--text);
  min-height: 170px;
  display: grid;
  align-content: space-between;
}

.role-card.active {
  border-color: rgba(102, 242, 194, 0.4);
  box-shadow: 0 18px 48px rgba(102, 242, 194, 0.12);
}

.role-card strong {
  font-size: 1.28rem;
}

.role-card span {
  color: var(--muted);
  line-height: 1.5;
}

.role-index {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.84rem;
  letter-spacing: 0.2em;
}

.actions-row {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-grid,
.verification-card,
.payment-card,
.payment-actions,
.success-screen {
  margin-top: 26px;
}

.form-grid {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.field {
  display: grid;
  gap: 10px;
}

.field span {
  color: var(--muted);
  font-size: 0.94rem;
}

.field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 16px 18px;
  outline: none;
}

.field input:focus {
  border-color: rgba(102, 242, 194, 0.5);
  box-shadow: 0 0 0 4px rgba(102, 242, 194, 0.08);
}

.verification-card,
.payment-card,
.payment-actions {
  border-radius: 26px;
  padding: 22px;
  max-width: 760px;
}

.auth-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.auth-field {
  max-width: 100%;
}

.auth-field input {
  min-height: 56px;
}

.auth-validate {
  margin-top: 0;
  min-height: 56px;
  white-space: nowrap;
}

.payment-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}

.qr-frame {
  margin-top: 18px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 14px;
  place-items: center;
  min-height: 320px;
  position: relative;
}

.qr-frame.has-preview .qr-cells {
  display: none;
}

.qr-frame.is-loading .qr-loading {
  opacity: 1;
}

.qr-frame.is-loading .qr-caption {
  opacity: 0.7;
}

.payment-preview {
  width: min(100%, 260px);
  height: auto;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.qr-cells {
  width: 220px;
  height: 220px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(102, 242, 194, 0.12));
  background-size: 18px 18px, 18px 18px, cover;
  position: relative;
  overflow: hidden;
}

.qr-loading {
  position: absolute;
  inset: 16px;
  display: grid;
  place-items: center;
  gap: 14px;
  text-align: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 45%, rgba(102, 242, 194, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(7, 12, 22, 0.35), rgba(7, 12, 22, 0.1));
  border: 1px solid rgba(102, 242, 194, 0.14);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.qr-loading-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--primary);
  border-right-color: var(--accent);
  animation: spin 1s linear infinite;
}

.qr-loading-line {
  position: absolute;
  width: 160px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(102, 242, 194, 0.95), transparent);
  animation: scanLine 1.4s ease-in-out infinite;
}

.qr-loading-copy {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.qr-cells::before,
.qr-cells::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 12px solid rgba(255, 255, 255, 0.9);
  border-right-color: rgba(102, 242, 194, 0.9);
  border-bottom-color: rgba(125, 167, 255, 0.9);
  opacity: 0.22;
}

.qr-caption {
  color: var(--muted);
  font-weight: 600;
}

.payment-note,
.small-muted {
  color: var(--muted);
  line-height: 1.6;
}

.club-qr-shell,
.club-token-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
}

.club-qr-placeholder {
  min-height: 220px;
  border-radius: 22px;
  border: 1px dashed rgba(102, 242, 194, 0.24);
  background:
    radial-gradient(circle at center, rgba(102, 242, 194, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 10px;
  padding: 24px;
}

.club-qr-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(102, 242, 194, 0.95), rgba(125, 167, 255, 0.95));
  box-shadow: 0 0 0 14px rgba(102, 242, 194, 0.08);
}

.club-qr-placeholder strong {
  font-size: 1.1rem;
}

.club-qr-placeholder span {
  color: var(--muted);
}

.attendance-qr-image {
  display: block;
  width: min(100%, 340px);
  max-height: min(56vh, 420px);
  margin: 0 auto;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.payment-note {
  margin: 0;
  text-align: center;
}

.summary-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-row:last-child {
  border-bottom: 0;
}

.countdown {
  font-variant-numeric: tabular-nums;
  color: var(--accent-2);
  font-weight: 800;
}

.success-screen {
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.club-success-screen {
  gap: 16px;
  padding: 26px 22px;
  background:
    radial-gradient(circle at 18% 16%, rgba(102, 242, 194, 0.14), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(125, 167, 255, 0.16), transparent 18%),
    radial-gradient(circle at 50% 78%, rgba(255, 184, 107, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(9, 16, 28, 0.96), rgba(7, 12, 22, 0.98));
}

.club-success-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.club-success-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.8;
  animation: clubOrbFloat 6.5s ease-in-out infinite;
}

.club-success-orb-one {
  width: 180px;
  height: 180px;
  left: -50px;
  top: -40px;
  background: radial-gradient(circle, rgba(102, 242, 194, 0.22), rgba(102, 242, 194, 0.02) 70%);
}

.club-success-orb-two {
  width: 240px;
  height: 240px;
  right: -80px;
  top: 20px;
  background: radial-gradient(circle, rgba(125, 167, 255, 0.22), rgba(125, 167, 255, 0.02) 68%);
  animation-delay: -2s;
}

.club-success-orb-three {
  width: 210px;
  height: 210px;
  left: 20%;
  bottom: -90px;
  background: radial-gradient(circle, rgba(255, 184, 107, 0.16), rgba(255, 184, 107, 0.02) 68%);
  animation-delay: -4s;
}

.club-success-grid {
  position: absolute;
  inset: -10%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
  opacity: 0.8;
}

.club-success-badge {
  position: relative;
  z-index: 2;
  margin-bottom: -2px;
}

.club-success-launch {
  position: relative;
  z-index: 2;
  margin-top: 2px;
  margin-bottom: -4px;
  transform: scale(1.05);
}

.club-success-card {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  padding: 24px 22px 22px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 12px;
  justify-items: center;
}

.club-success-card .hero-kicker {
  letter-spacing: 0.16em;
}

.club-success-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.04;
  max-width: 12ch;
  text-shadow: 0 0 30px rgba(102, 242, 194, 0.18);
}

.club-success-card .hero-text {
  max-width: 620px;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  color: rgba(238, 245, 255, 0.95);
}

.club-success-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.club-success-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(102, 242, 194, 0.1);
  border: 1px solid rgba(102, 242, 194, 0.18);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 0 0 1px rgba(125, 167, 255, 0.06) inset;
}

.club-success-spark {
  position: relative;
  z-index: 2;
  margin-top: 4px;
  width: 150px;
  height: 150px;
  filter: saturate(1.05);
}

.club-success-muted {
  position: relative;
  z-index: 2;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
}

.club-success-screen.is-celebrating .club-success-badge {
  animation: badgePop 1.05s ease-in-out infinite alternate;
}

.club-success-screen.is-celebrating .club-success-card {
  animation: clubCardGlow 1.8s ease-in-out infinite alternate;
}

.club-success-screen.is-celebrating .club-success-chip {
  animation: chipPulse 2.4s ease-in-out infinite;
}

.club-success-screen.is-celebrating .club-success-orb-one,
.club-success-screen.is-celebrating .club-success-orb-two,
.club-success-screen.is-celebrating .club-success-orb-three {
  animation-duration: 5.2s;
}

.post-success-screen.is-celebrating {
  background:
    radial-gradient(circle at 50% 18%, rgba(102, 242, 194, 0.24), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(125, 167, 255, 0.2), transparent 36%),
    radial-gradient(circle at 50% 82%, rgba(255, 184, 107, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(9, 16, 28, 0.92), rgba(7, 12, 22, 0.98));
}

.failure-screen {
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 14px;
}

.success-spark {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(69, 212, 131, 0.26), transparent 64%),
    radial-gradient(circle at 30% 30%, rgba(102, 242, 194, 0.9), transparent 22%);
  animation: spark 1.8s ease-in-out infinite alternate;
}

.success-spark-large {
  width: 180px;
  height: 180px;
  opacity: 0.95;
  animation-duration: 1.35s;
}

.celebration-lights,
.celebration-ring,
.celebration-check {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.celebration-lights {
  overflow: hidden;
  z-index: 0;
}

.celebration-light {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.85;
  mix-blend-mode: screen;
  animation: celebrationFloat 4.8s ease-in-out infinite;
}

.light-one {
  left: -2%;
  top: 4%;
  background: radial-gradient(circle, rgba(102, 242, 194, 0.28), transparent 62%);
}

.light-two {
  right: -4%;
  top: 10%;
  background: radial-gradient(circle, rgba(125, 167, 255, 0.24), transparent 62%);
  animation-delay: 0.6s;
}

.light-three {
  left: 12%;
  bottom: -8%;
  background: radial-gradient(circle, rgba(255, 184, 107, 0.18), transparent 62%);
  animation-delay: 1.2s;
}

.light-four {
  right: 14%;
  bottom: 6%;
  background: radial-gradient(circle, rgba(102, 242, 194, 0.16), transparent 62%);
  animation-delay: 1.8s;
}

.celebration-ring {
  z-index: 1;
}

.celebration-ring::before,
.celebration-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  border-radius: 50%;
  border: 1px solid rgba(102, 242, 194, 0.28);
  transform: translate(-50%, -50%) scale(0.6);
  animation: ringExpand 1.8s ease-out infinite;
}

.celebration-ring::before {
  width: min(72vw, 760px);
  height: min(72vw, 760px);
}

.celebration-ring::after {
  width: min(48vw, 500px);
  height: min(48vw, 500px);
  border-color: rgba(125, 167, 255, 0.24);
  animation-delay: 0.45s;
}

.celebration-check {
  z-index: 2;
}

.celebration-check::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(102, 242, 194, 0.3);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 18px rgba(102, 242, 194, 0.08),
    0 0 70px rgba(102, 242, 194, 0.14);
}

.celebration-check::after {
  content: "✓";
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.98);
  text-shadow:
    0 0 24px rgba(102, 242, 194, 0.36),
    0 0 48px rgba(125, 167, 255, 0.22);
  animation: checkPop 1.2s ease-in-out infinite alternate;
}

.success-launch {
  position: relative;
  width: 140px;
  height: 86px;
  margin-top: 2px;
  filter: drop-shadow(0 18px 28px rgba(102, 242, 194, 0.18));
}

.launch-rocket {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 58px;
  transform: translate(-50%, -50%) rotate(-12deg);
  border-radius: 18px 18px 12px 12px;
  background:
    linear-gradient(180deg, #fefefe 0%, #c8d4ff 42%, #7da7ff 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.28),
    0 8px 24px rgba(125, 167, 255, 0.22);
  animation: rocketPulse 1.2s ease-in-out infinite alternate;
}

.launch-rocket::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0 20%, #65d8ff 42%, #1762c8 100%);
  box-shadow: 0 0 18px rgba(102, 242, 194, 0.28);
}

.launch-rocket::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -13px;
  width: 14px;
  height: 18px;
  border-radius: 0 0 50% 50%;
  background: linear-gradient(180deg, #ffd36b, #ff8b2f);
  transform-origin: center top;
  animation: flameFlicker 0.22s ease-in-out infinite alternate;
}

.launch-trail {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(102, 242, 194, 0.05), rgba(102, 242, 194, 0.9));
  animation: trailSweep 1.2s ease-in-out infinite;
}

.launch-trail-one {
  width: 62px;
  --trail-x: -56px;
  --trail-y: -10px;
  --trail-rotate: -18deg;
}

.launch-trail-two {
  width: 84px;
  --trail-x: -70px;
  --trail-y: 8px;
  --trail-rotate: 16deg;
  animation-delay: 0.08s;
}

.success-launch-reverse {
  transform: scaleX(-1);
}

.post-success-screen {
  justify-items: center;
}

.post-success-screen.is-old-user-success > * {
  position: relative;
  z-index: 3;
}

.post-success-screen.is-old-user-success {
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.post-success-screen.is-token-entry .success-spark,
.post-success-screen.is-token-entry .success-spark-large,
.post-success-screen.is-token-entry .success-launch,
.post-success-screen.is-token-entry .celebration-lights,
.post-success-screen.is-token-entry .celebration-ring,
.post-success-screen.is-token-entry .celebration-check,
.post-success-screen.is-old-user-token .success-spark,
.post-success-screen.is-old-user-token .success-spark-large,
.post-success-screen.is-old-user-token .success-launch,
.post-success-screen.is-old-user-token .celebration-lights,
.post-success-screen.is-old-user-token .celebration-ring,
.post-success-screen.is-old-user-token .celebration-check {
  opacity: 0;
  visibility: hidden;
}

.post-success-screen.is-old-user-success #referenceTitle {
  margin-top: 8px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.06;
  max-width: 12ch;
  text-shadow: 0 0 28px rgba(102, 242, 194, 0.18);
}

.post-success-screen.is-old-user-success #referencePrompt {
  max-width: 560px;
  color: rgba(238, 245, 255, 0.96);
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
}

.post-success-screen.is-old-user-success #bookingBanner {
  display: none;
}

.post-success-screen.is-old-user-success #referenceStatus {
  width: min(100%, 680px);
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 22px 24px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.5;
  background: linear-gradient(135deg, rgba(102, 242, 194, 0.14), rgba(125, 167, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 20px 64px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.post-success-screen.is-celebrating .success-badge {
  background: linear-gradient(135deg, rgba(102, 242, 194, 0.95), rgba(125, 167, 255, 0.92));
  color: #041018;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 44px rgba(102, 242, 194, 0.18);
  animation: badgePop 1.1s ease-in-out infinite alternate;
}

.post-success-screen.is-celebrating .launch-rocket {
  animation-duration: 0.9s;
}

.post-success-screen.is-celebrating .reference-status {
  animation: successGlow 1.4s ease-in-out infinite alternate;
}

.post-success-screen.is-celebrating .reference-footer,
.post-success-screen.is-celebrating #referenceFooter {
  color: var(--primary);
}

@keyframes clubOrbFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, 0) scale(1.04);
  }
}

@keyframes clubCardGlow {
  from {
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(102, 242, 194, 0.08),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
  to {
    box-shadow:
      0 30px 96px rgba(0, 0, 0, 0.36),
      0 0 28px rgba(102, 242, 194, 0.08),
      inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  }
}

@keyframes chipPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(102, 242, 194, 0);
  }
  50% {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 24px rgba(102, 242, 194, 0.12);
  }
}

.post-success-screen.is-old-user-success .success-launch,
.post-success-screen.is-old-user-success .success-spark,
.post-success-screen.is-old-user-success .success-spark-large {
  display: none;
}

.post-success-screen.is-old-user-success .hero-text,
.post-success-screen.is-old-user-success .small-muted {
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.28);
}

.post-success-screen.is-old-user-success .celebration-lights {
  transform: scale(0.9);
  transform-origin: center top;
}

.post-success-screen.is-old-user-success .celebration-ring::before,
.post-success-screen.is-old-user-success .celebration-ring::after {
  top: 32%;
}

.post-success-screen.is-old-user-success .celebration-ring::before {
  width: min(56vw, 560px);
  height: min(56vw, 560px);
}

.post-success-screen.is-old-user-success .celebration-ring::after {
  width: min(36vw, 360px);
  height: min(36vw, 360px);
}

.post-success-screen.is-old-user-success .celebration-check::before {
  top: 31%;
  width: 96px;
  height: 96px;
}

.post-success-screen.is-old-user-success .celebration-check::after {
  top: 31%;
  font-size: clamp(3.1rem, 5.4vw, 5rem);
}

.guest-reference-form {
  width: min(100%, 560px);
  margin-top: 14px;
}

.guest-reference-form .field input {
  background: rgba(255, 255, 255, 0.06);
}

.reference-status {
  width: min(100%, 560px);
  border-radius: 18px;
  padding: 14px 18px;
  text-align: center;
  color: var(--muted);
}

.failure-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff3f3;
  background: linear-gradient(135deg, rgba(255, 90, 90, 0.95), rgba(173, 28, 28, 0.95));
  box-shadow: 0 16px 36px rgba(255, 90, 90, 0.2);
}

.failure-spark {
  background:
    radial-gradient(circle, rgba(255, 90, 90, 0.22), transparent 64%),
    radial-gradient(circle at 30% 30%, rgba(255, 198, 198, 0.95), transparent 22%);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(20px, -14px, 0) scale(1.1);
  }
}

@keyframes floatVeg {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg));
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(calc(var(--rot, 0deg) + 4deg));
  }
}

@keyframes shimmer {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
}

@keyframes rocketPulse {
  from {
    transform: translate(-50%, -50%) rotate(-14deg) translateY(0);
  }
  to {
    transform: translate(-50%, -50%) rotate(-10deg) translateY(-5px);
  }
}

@keyframes flameFlicker {
  from {
    transform: scaleY(0.88);
    filter: saturate(1);
  }
  to {
    transform: scaleY(1.08);
    filter: saturate(1.2);
  }
}

@keyframes trailSweep {
  from {
    opacity: 0.55;
    transform: translate(var(--trail-x, -56px), var(--trail-y, -10px)) rotate(var(--trail-rotate, -18deg)) scaleX(0.82);
  }
  to {
    opacity: 1;
    transform: translate(var(--trail-x, -56px), var(--trail-y, -10px)) rotate(var(--trail-rotate, -18deg)) scaleX(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scanLine {
  0%,
  100% {
    transform: translateY(-18px);
    opacity: 0.4;
  }
  50% {
    transform: translateY(18px);
    opacity: 1;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(0.98);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes orbitMove {
  from {
    transform: rotate(0deg) translateX(94px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(94px) rotate(-360deg);
  }
}

@keyframes bridgePulse {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes spark {
  from {
    transform: scale(0.92);
    filter: blur(1px);
  }
  to {
    transform: scale(1.08);
    filter: blur(0);
  }
}

@keyframes badgePop {
  from {
    transform: translateY(0) scale(0.98);
  }
  to {
    transform: translateY(-2px) scale(1.03);
  }
}

@keyframes successGlow {
  from {
    transform: translateY(0);
    box-shadow: 0 16px 36px rgba(102, 242, 194, 0.08);
  }
  to {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(125, 167, 255, 0.16);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes celebrationFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.96);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.04);
    opacity: 0.9;
  }
}

@keyframes ringExpand {
  0% {
    opacity: 0.05;
    transform: translate(-50%, -50%) scale(0.62);
  }
  55% {
    opacity: 0.24;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes checkPop {
  from {
    transform: translate(-50%, -50%) scale(0.92) rotate(-4deg);
  }
  to {
    transform: translate(-50%, -50%) scale(1.06) rotate(2deg);
  }
}

@media (max-width: 920px) {
  .hero,
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .app-card {
    padding: 18px;
    border-radius: 22px;
  }

  .role-grid {
    grid-template-columns: 1fr;
  }

  .actions-row {
    flex-direction: column;
  }

  .actions-row.stacked-mobile > * {
    width: 100%;
  }

  .auth-row {
    grid-template-columns: 1fr;
  }

  .start-button,
  .primary-button,
  .ghost-button {
    width: 100%;
    justify-content: center;
  }

  h2 {
    font-size: 1.9rem;
  }
}

.bill-counter-screen {
  min-height: min(82vh, 920px);
}

.bill-counter-frame {
  display: block;
  width: 100%;
  min-height: min(68vh, 760px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}
