/* ============ PREMIUM REDESIGN — Sleek Design Language ============ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Bricolage+Grotesque:wght@600;700;800&display=swap');

:root {
  --gold: #8B6914;
  --gold-light: #C9A84C;
  --brown: #3D2B1F;
  --brown-light: #5C4033;
  --blue: #4A69BD;
  --blue-light: #7B9ED9;
  --bg: #F9F7F2;
  --bg-card: #FFFFFF;
  --text: #3D2B1F;
  --text-light: #8C7A6B;
  --muted: #F0EAD6;
  --border: #E8E2D2;
  --green: #27AE60;
  --orange: #E67E22;
  --red: #DC2626;
  --radius: 12px;
  --radius-xl: 16px;
  --shadow: 0 2px 12px rgba(61,43,31,0.06);
  --shadow-lg: 0 8px 30px rgba(61,43,31,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ PREMIUM SPLASH ============ */
.splash-premium {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--bg);
}

.sp-hero {
  position: relative;
  height: 50%;
  min-height: 220px;
  flex-shrink: 0;
  background: #000;
}
.sp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.sp-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 50%, rgba(0,0,0,0.15) 100%);
}
.sp-hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
}
.sp-nav-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s;
}
.sp-nav-btn:active { background: rgba(0,0,0,0.35); }
.sp-nav-btn svg { stroke: white; }

.sp-content {
  flex: 1;
  margin-top: -3rem;
  border-radius: 2rem 2rem 0 0;
  background: var(--bg);
  position: relative;
  z-index: 10;
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

/* Badges */
.sp-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.sp-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 0.625rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sp-badge-gold {
  background: rgba(139,105,20,0.1);
  color: var(--gold);
}
.sp-badge-muted {
  background: var(--muted);
  color: var(--text);
}

/* Title */
.sp-title {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}
.sp-subtitle {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Info rows */
.sp-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sp-info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sp-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.sp-info-row:hover .sp-info-icon { background: rgba(139,105,20,0.1); }
.sp-info-icon svg { stroke: var(--text); }
.sp-info-row:hover .sp-info-icon svg { stroke: var(--gold); }
.sp-info-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}
.sp-info-value {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}
.sp-price { color: var(--blue); font-size: 1.1rem; }
.sp-price-sub { font-size: 0.8rem; font-weight: 400; color: var(--text-light); }

.sp-spacer { flex: 1; }

/* CTA */
.sp-bottom { margin-top: auto; }
.sp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  height: 56px;
  background: var(--blue);
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(74,105,189,0.25);
  transition: all 0.2s;
}
.sp-cta:active { transform: scale(0.98); }
.sp-cta svg { stroke: white; }

.sp-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  opacity: 0.35;
}
.sp-brand-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.sp-brand span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}

/* ============ PREMIUM FORM STEPS ============ */
.register-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.75rem;
}
.progress-step {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  background: var(--muted); color: var(--text-light);
  transition: all 0.3s;
}
.progress-step.active {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 12px rgba(74,105,189,0.3);
  transform: scale(1.1);
}
.progress-step.done { background: var(--green); color: white; }
.progress-line { width: 40px; height: 3px; background: var(--muted); border-radius: 2px; }
.progress-line.filled { background: var(--green); }

.step-title { text-align: center; margin-bottom: 1.75rem; }
.step-title h2 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.step-sub { color: var(--text-light); font-size: 0.85rem; font-weight: 500; margin-top: 0.25rem; }

/* Form inputs — premium */
.form-step { display: flex; flex-direction: column; gap: 1.125rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="password"] {
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg-card);
  color: var(--text);
  transition: all 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,105,189,0.1);
}

/* Radio cards — premium */
.radio-row { display: flex; gap: 0.75rem; }
.radio-col { display: flex; flex-direction: column; gap: 0.625rem; }
.radio-card {
  flex: 1;
  padding: 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.radio-card input { display: none; }
.radio-card.selected, .radio-card:has(input:checked) {
  border-color: var(--blue);
  background: rgba(74,105,189,0.04);
  box-shadow: 0 0 0 3px rgba(74,105,189,0.08);
}
.radio-card.selected-green {
  border-color: var(--green);
  background: rgba(39,174,96,0.04);
}
.radio-card.big { padding: 1.25rem 0.875rem; }
.radio-card.wide {
  text-align: left;
  flex-direction: row;
  gap: 0.75rem;
  padding: 1rem;
}
.radio-emoji { font-size: 1.5rem; }
.radio-label { font-weight: 700; font-size: 0.9rem; }
.radio-sub { font-size: 0.75rem; color: var(--text-light); font-weight: 500; }

/* Buttons — premium */
.btn-next, .btn-cta {
  padding: 1rem;
  height: 52px;
  background: var(--blue);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 6px 20px rgba(74,105,189,0.25);
}
.btn-next:active, .btn-cta:active { transform: scale(0.98); }

.btn-back {
  flex: 0 0 auto;
  padding: 0.875rem 1rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  background: var(--muted);
  transition: background 0.2s;
}
.btn-back:active { background: var(--border); }

.form-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.form-buttons .btn-next,
.form-buttons .btn-cta { flex: 1; }

.hidden { display: none !important; }

/* ============ PREMIUM DONE PAGE ============ */
.done-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  text-align: center;
  position: relative;
}
.done-card {
  background: var(--bg-card);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
}
.done-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.done-card h1 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.done-name { color: var(--text-light); font-size: 1rem; margin-bottom: 1rem; font-weight: 500; }

.reg-badge {
  display: inline-flex;
  flex-direction: column;
  background: var(--text);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.reg-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-light); font-weight: 700; }
.reg-number { font-size: 1.25rem; font-weight: 800; color: white; font-family: 'JetBrains Mono', monospace; }

/* QR Ticket */
.qr-ticket { margin: 1rem 0; text-align: center; }
.qr-ticket canvas {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  background: white;
}
.qr-hint { font-size: 0.75rem; color: var(--text-light); margin-top: 0.5rem; font-weight: 500; }

.done-summary { text-align: left; margin-bottom: 1.25rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--muted);
  font-size: 0.9rem;
}

/* Action buttons */
.done-actions { display: flex; flex-direction: column; gap: 0.5rem; margin: 1.25rem 0; }
.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  transition: all 0.2s;
}
.btn-action:active { transform: scale(0.98); }
.btn-action.whatsapp { border-color: #25D366; color: #128C7E; }
.btn-action.photo { border-color: var(--blue); color: var(--blue); background: rgba(74,105,189,0.04); }

/* Group share */
.group-share-section {
  background: rgba(74,105,189,0.04);
  border: 1.5px solid rgba(74,105,189,0.15);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1rem 0;
  text-align: left;
}
.group-share-section h3 { color: var(--blue); margin-bottom: 0.5rem; font-size: 0.95rem; }
.share-link-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  word-break: break-all;
  cursor: pointer;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
}
.share-link-box.copied { border-color: var(--green); background: rgba(39,174,96,0.04); }
.group-count { font-size: 0.85rem; color: var(--text-light); margin-top: 0.5rem; }

/* Bring list */
.bring-list { text-align: left; margin-top: 1.25rem; }
.bring-list h3 { font-size: 1rem; color: var(--text); margin-bottom: 0.5rem; font-weight: 700; }
.bring-list ul { list-style: none; }
.bring-list li { padding: 0.375rem 0; font-size: 0.9rem; }

/* Confetti */
.confetti { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 999; overflow: hidden; }
.confetti-piece {
  position: absolute; top: -10px; width: 8px; height: 8px; border-radius: 2px;
  animation: confetti-fall linear forwards;
}
@keyframes confetti-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ============ INFO PAGE ============ */
.info-cards { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.info-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 3px solid var(--gold);
}
.info-icon { font-size: 1.2rem; }
.info-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); font-weight: 700; }
.info-value { font-size: 1rem; font-weight: 700; color: var(--text); }
.info-sub { font-size: 0.8rem; color: var(--text-light); }
.info-divider { color: var(--text-light); margin: 0 0.25rem; }

/* FAQ */
.faq-section { text-align: left; }
.faq-section h2 { font-size: 1.1rem; color: var(--text); margin-bottom: 0.75rem; text-align: center; font-weight: 700; }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  padding: 0.875rem 1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-content { padding: 0 1rem 1rem; color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* ============ PREMIUM LANDING GROUP INVITE ============ */
.group-invite-card {
  background: var(--bg-card);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.group-invite-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.group-invite-card h1 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.group-invite-name { font-size: 1.1rem; margin-bottom: 0.25rem; }
.group-invite-type { color: var(--text-light); margin-bottom: 0.5rem; }
.group-invite-coord { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.group-invite-count { margin: 1rem 0; }
.count-num { font-size: 2.5rem; font-weight: 800; color: var(--blue); }
.count-label { color: var(--text-light); }
.group-members-preview { text-align: left; margin-top: 1.5rem; }
.group-members-preview h3 { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.5rem; }
.member-row { padding: 0.375rem 0; font-size: 0.9rem; color: var(--green); }

/* ============ PAYMENT ============ */
.payment-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1rem;
}
.payment-amount { text-align: center; margin-bottom: 1.25rem; }
.amount-label { display: block; font-size: 0.8rem; color: var(--text-light); font-weight: 500; }
.amount-big {
  display: block;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
}
.amount-sub { display: block; font-size: 0.8rem; color: var(--text-light); font-weight: 500; }

.mope-instructions { text-align: center; margin-bottom: 1.25rem; }
.mope-title { font-weight: 700; margin-bottom: 0.5rem; }
.mope-number {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--muted);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s;
}
.mope-number.copied { background: rgba(39,174,96,0.1); color: var(--green); }
.mope-name { font-size: 0.9rem; margin-top: 0.5rem; }
.mope-ref { font-size: 0.85rem; color: var(--text-light); }

.payment-options { display: flex; flex-direction: column; gap: 0.5rem; }

.bank-instructions { text-align: center; color: var(--text-light); line-height: 1.6; }
.bank-instructions a { color: var(--blue); }

/* Disclaimer */
.disclaimer-section { margin: 0.5rem 0; }
.checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  cursor: pointer;
}
.checkbox-card input[type="checkbox"] { margin-top: 2px; width: 20px; height: 20px; accent-color: var(--blue); }
.checkbox-label { font-size: 0.85rem; line-height: 1.4; }
.checkbox-label a { color: var(--blue); }

/* Modal */
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  backdrop-filter: blur(4px);
}
.modal-content {
  background: var(--bg-card); border-radius: 1.5rem; padding: 1.5rem;
  max-width: 400px; width: 100%; max-height: 80vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-content h3 { color: var(--text); margin-bottom: 1rem; font-weight: 700; }
.modal-content ul { padding-left: 1.25rem; margin: 0.75rem 0; line-height: 1.8; font-size: 0.9rem; }
.btn-modal-close {
  display: block; width: 100%; padding: 0.75rem; margin-top: 1rem;
  background: var(--blue); color: white; border: none; border-radius: var(--radius);
  font-weight: 700; cursor: pointer;
}

/* Group badge */
.group-badge {
  background: var(--blue); color: white; padding: 0.5rem 1rem;
  border-radius: var(--radius); font-weight: 600; text-align: center;
}

/* Error box */
.error-box {
  background: rgba(220,38,38,0.06);
  border: 1.5px solid rgba(220,38,38,0.2);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  margin-bottom: 1rem;
}
.error-box p { font-size: 0.85rem; color: var(--red); margin-bottom: 0.25rem; font-weight: 500; }
.error-box p:last-child { margin-bottom: 0; }

/* Button loading */
.btn-loading { opacity: 0.7; pointer-events: none; }
.btn-loading::after {
  content: ''; display: inline-block; width: 16px; height: 16px;
  border: 2px solid white; border-top-color: transparent; border-radius: 50%;
  margin-left: 8px; animation: spin 0.6s linear infinite; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Back link */
.back-link {
  display: inline-block; color: var(--text-light); text-decoration: none;
  font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem;
}

/* Footer */
.landing-footer { margin-top: 2rem; padding: 1.5rem 0; text-align: center; }
.motto { font-weight: 700; color: var(--text); font-size: 0.9rem; }
.credits { color: var(--text-light); font-size: 0.8rem; margin-top: 0.5rem; }

/* ============ PHOTO FRAME ============ */
.photo-frame-container { text-align: center; }
.frame-preview {
  position: relative; width: 100%; max-width: 400px; margin: 0 auto 1rem;
  aspect-ratio: 1; background: var(--muted); border-radius: var(--radius-xl); overflow: hidden;
  cursor: pointer;
}
.frame-preview canvas { width: 100%; height: 100%; display: block; }
.frame-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem; color: var(--text-light);
}
.frame-placeholder-icon { font-size: 3rem; }
.frame-actions { display: flex; flex-direction: column; gap: 0.5rem; max-width: 400px; margin: 0 auto; }

/* Error page */
.register-page .error-msg, .error-page {
  text-align: center; padding-top: 4rem;
}

/* ============ RESPONSIVE ============ */
@media (min-width: 481px) {
  .register-page, .done-page { padding-left: 2rem; padding-right: 2rem; }
  .sp-content { padding-left: 2rem; padding-right: 2rem; }
}

/* ============ ADMIN ============ */
.admin-page { max-width: 900px; margin: 0 auto; padding: 1rem; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.admin-header { margin-bottom: 1.25rem; }
.admin-header h1 { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 1.5rem; color: var(--text); font-weight: 800; }
.admin-date { font-size: 0.8rem; color: var(--text-light); margin-top: 0.25rem; }
.admin-nav { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.admin-nav a {
  padding: 0.5rem 0.875rem; border-radius: 8px; text-decoration: none;
  font-size: 0.85rem; font-weight: 600; color: var(--text-light);
  background: var(--bg-card); border: 1.5px solid var(--border);
}
.admin-nav a.active { background: var(--text); color: white; border-color: var(--text); }

.stat-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
@media (min-width: 600px) { .stat-cards { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 1rem;
  text-align: center; box-shadow: var(--shadow); border-top: 3px solid var(--gold);
}
.stat-card.green { border-top-color: var(--green); }
.stat-card.orange { border-top-color: var(--orange); }
.stat-card.blue { border-top-color: var(--blue); }
.stat-num { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 2rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }

.revenue-bar {
  background: var(--bg-card); border-radius: var(--radius); padding: 0.875rem 1rem;
  box-shadow: var(--shadow); margin-bottom: 1rem; font-size: 0.9rem;
  display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; align-items: baseline;
  border-left: 3px solid var(--green);
}
.rev-sep { color: var(--text-light); }
.rev-collected { font-size: 0.8rem; color: var(--text-light); width: 100%; }

.filter-bar { display: flex; gap: 0.375rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.filter-btn {
  padding: 0.375rem 0.75rem; border-radius: 20px; text-decoration: none;
  font-size: 0.8rem; font-weight: 600; color: var(--text-light); background: var(--muted);
}
.filter-btn.active { background: var(--text); color: white; }

.admin-search { margin-bottom: 0.75rem; }
.admin-search input {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 0.9rem; background: var(--bg-card);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.admin-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(74,105,189,0.1); }

/* Registration cards */
.reg-cards { display: flex; flex-direction: column; gap: 0.625rem; }
.reg-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 1rem;
  box-shadow: var(--shadow); border-left: 3px solid var(--border);
}
.reg-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.375rem; }
.reg-card-name { display: flex; flex-direction: column; }
.reg-card-name strong { font-size: 1rem; }
.reg-card-reg { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-light); }
.reg-card-meta { display: flex; gap: 0.5rem; font-size: 0.8rem; color: var(--text-light); flex-wrap: wrap; }
.reg-card-contact { font-size: 0.8rem; margin-bottom: 0.25rem; }
.reg-card-contact a { color: var(--blue); text-decoration: none; }
.reg-card-time { font-size: 0.7rem; color: var(--text-light); margin-bottom: 0.5rem; }
.reg-card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.coord-badge { font-size: 0.6rem; background: var(--blue); color: white; padding: 0.15rem 0.4rem; border-radius: 4px; font-weight: 700; }
.pay-badge { font-size: 0.75rem; white-space: nowrap; }

.btn-sm { padding: 0.375rem 0.625rem; border: none; border-radius: 6px; cursor: pointer; font-weight: 700; font-size: 0.8rem; }
.btn-verify { background: rgba(39,174,96,0.1); color: var(--green); }
.btn-reject { background: rgba(220,38,38,0.08); color: var(--red); }
.btn-delete { background: rgba(220,38,38,0.08); color: var(--red); }

/* Admin login */
.admin-login { max-width: 360px; margin: 4rem auto; padding: 1.5rem; text-align: center; }
.admin-logo { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 1rem; }
.admin-login h2 { color: var(--text); margin-bottom: 1rem; font-weight: 700; }
.error-msg { background: rgba(220,38,38,0.06); color: var(--red); padding: 0.75rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }

/* Group admin */
.group-card-admin {
  background: var(--bg-card); border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow); margin-bottom: 1rem; border-left: 3px solid var(--blue);
}
.group-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.group-card-header h3 { font-size: 1.1rem; color: var(--text); font-weight: 700; }
.group-card-meta { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--text-light); flex-wrap: wrap; }
.group-coordinator { margin-top: 0.5rem; font-size: 0.9rem; }
.group-members-list { margin-top: 0.75rem; }
.member-item { display: flex; justify-content: space-between; padding: 0.375rem 0; font-size: 0.9rem; border-bottom: 1px solid var(--muted); }
.group-invite-link-admin { margin: 0.75rem 0; background: rgba(74,105,189,0.04); border-radius: 8px; padding: 0.625rem 0.875rem; }
.invite-label { font-size: 0.8rem; color: var(--text-light); display: block; margin-bottom: 0.25rem; }
.invite-copy { display: flex; align-items: center; justify-content: space-between; cursor: pointer; gap: 0.5rem; }
.invite-copy code { font-size: 0.8rem; color: var(--blue); word-break: break-all; }
.invite-copy.copied { background: rgba(39,174,96,0.06); border-radius: 4px; }
.cat-badge { font-size: 0.7rem; padding: 0.2rem 0.5rem; border-radius: 6px; white-space: nowrap; font-weight: 600; }

/* Check-in / print */
.checkin-table { width: 100%; border-collapse: collapse; }
.checkin-table th, .checkin-table td { border: 1px solid #ccc; padding: 0.5rem; font-size: 0.85rem; }
@media print { .admin-header button { display: none; } }

.empty-state { text-align: center; padding: 3rem; color: var(--text-light); }

/* Admin table (desktop) */
.admin-table { display: none; }
@media (min-width: 768px) {
  .reg-cards { display: none; }
  .admin-table { display: table; width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
  .admin-table th { background: var(--text); color: white; padding: 0.75rem 0.5rem; font-size: 0.75rem; text-align: left; }
  .admin-table td { padding: 0.625rem 0.5rem; border-bottom: 1px solid var(--muted); font-size: 0.8rem; vertical-align: top; }
}
.mono { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; }

/* ============ QR TICKET on done page ============ */
.qr-ticket {
  margin: 1rem 0;
  text-align: center;
}
.qr-ticket canvas {
  border: 3px solid var(--brown);
  border-radius: 8px;
  padding: 8px;
  background: white;
}
.qr-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* ============ CHECK-IN SCANNER ============ */
.checkin-scanner-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}
.checkin-header h1 { font-size: 1.3rem; color: var(--brown); }
.checkin-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0.25rem 0 0.75rem;
}
.cs-stat strong { color: var(--brown); }

/* Scanner area */
.scanner-area {
  margin: 1rem 0;
  text-align: center;
}
#qr-reader {
  display: none;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}

/* Manual lookup */
.manual-lookup {
  margin: 1rem 0;
}

/* Result card */
.checkin-result {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  text-align: center;
  margin: 1rem 0;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cr-status {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.cr-ok { color: var(--green); }
.cr-error { color: var(--red); }
.cr-warn { color: var(--orange); }
.cr-unpaid {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--red);
  background: #FDE8E8;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
}
.cr-success-flash {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  background: #D5F5E3;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  display: inline-block;
  animation: pulseGreen 0.5s ease;
}
@keyframes pulseGreen {
  0% { transform: scale(0.9); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.cr-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 0.25rem;
}
.cr-reg {
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.cr-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.pay-ok {
  color: var(--green);
  font-weight: 700;
}
.pay-warn {
  color: var(--orange);
  font-weight: 700;
}

.cr-already {
  background: #FFF3CD;
  color: #856404;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 0.75rem;
}

.checkin-result .btn-cta {
  margin-top: 1rem;
  font-size: 1.2rem;
  padding: 1.25rem;
}

/* Recent check-ins */
.recent-checkins {
  margin-top: 1.5rem;
}
.recent-checkins h3 {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.recent-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #F0E8D8;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.recent-reg {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-light);
}
.recent-time {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ============ PREMIUM REGISTRATION FORM ============ */
.reg-premium {
  min-height: 100dvh;
  background: var(--bg);
  max-width: 480px;
  margin: 0 auto;
}

.rp-hero {
  position: relative;
  height: 220px;
  width: 100%;
}
.rp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rp-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 50%, rgba(0,0,0,0.3) 100%);
}
.rp-hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rp-hero-badge {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.rp-card-wrapper {
  padding: 0 1.5rem;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
  padding-bottom: 2rem;
}
.rp-card {
  background: var(--bg-card);
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(139,105,20,0.05);
  border: 1px solid rgba(232,226,210,0.4);
}

/* Header */
.rp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.75rem;
}
.rp-phase {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.rp-heading {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.rp-header-right { text-align: right; }
.rp-step-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
}
.rp-step-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
}

/* Segmented progress */
.rp-progress {
  display: flex;
  gap: 4px;
  height: 6px;
  margin-bottom: 1.75rem;
}
.rp-progress-seg {
  flex: 1;
  background: var(--muted);
  border-radius: 3px;
  transition: background 0.5s;
}
.rp-seg-active {
  background: var(--blue);
}

/* Form fields */
.rp-form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.rp-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.rp-field label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-left: 0.25rem;
}

.rp-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.rp-input-icon {
  position: absolute;
  left: 0.875rem;
  stroke: var(--text-light);
  pointer-events: none;
  z-index: 1;
}
.rp-input-wrap input {
  width: 100%;
  height: 48px;
  padding-left: 2.75rem;
  padding-right: 1rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  transition: all 0.2s;
  -webkit-appearance: none;
}
.rp-input-wrap input::placeholder {
  color: rgba(140,122,107,0.4);
}
.rp-input-wrap input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,105,189,0.12);
}

/* Grid 2-col */
.rp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Gender buttons */
.rp-gender-row {
  display: flex;
  gap: 0.5rem;
  height: 48px;
}
.rp-gender-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.2s;
}
.rp-gender-btn input { display: none; }
.rp-gender-btn.selected,
.rp-gender-btn:has(input:checked) {
  border-color: var(--blue);
  background: rgba(74,105,189,0.06);
  color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,105,189,0.08);
}

/* Phone prefix */
.rp-phone-row {
  display: flex;
  gap: 0.5rem;
}
.rp-phone-prefix {
  width: 72px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240,234,214,0.4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(61,43,31,0.7);
  flex-shrink: 0;
}
.rp-input-flex {
  flex: 1;
}

/* Submit area */
.rp-submit {
  padding-top: 0.75rem;
}
.rp-powered {
  text-align: center;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 1rem;
}

/* ============ PREMIUM CONFIRMATION / TICKET ============ */
.conf-page {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  min-height: 100dvh;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Header */
.conf-header {
  position: relative;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  overflow: hidden;
}
.conf-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
}
.cc { position: absolute; font-size: 2.5rem; }
.cc1 { top: 1.5rem; left: 1.5rem; transform: rotate(-15deg); }
.cc2 { top: 3rem; right: 1.5rem; transform: rotate(15deg); }
.cc3 { bottom: 0.5rem; left: 25%; font-size: 1.5rem; transform: rotate(45deg); }

.conf-hero { position: relative; z-index: 10; }
.conf-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(74,105,189,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 0 8px rgba(74,105,189,0.04);
}
.conf-title {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.conf-sub {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto;
}
.conf-sub strong { color: var(--gold); font-weight: 700; }

/* Ticket card */
.conf-ticket-wrap {
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}
.conf-ticket {
  background: var(--bg-card);
  border-radius: 2.5rem;
  overflow: visible;
  box-shadow: 0 20px 50px rgba(139,105,20,0.06);
  border: 1px solid rgba(232,226,210,0.4);
  position: relative;
}

.conf-ticket-top {
  padding: 2rem 2rem 1rem;
}

/* Ticket header */
.conf-ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.conf-ticket-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ctb-icon { font-size: 1.25rem; }
.ctb-text {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
}
.conf-pass-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  background: rgba(74,105,189,0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

/* Ticket info */
.conf-ticket-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cti-row { display: flex; flex-direction: column; gap: 0.125rem; }
.cti-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
}
.cti-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.cti-name {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}
.cti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cti-full { width: 100%; }

/* Tear line effect */
.conf-tear {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.conf-tear-line {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 0;
  border-top: 2px dashed rgba(232,226,210,0.6);
}
.conf-tear-circle {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--bg);
  border-radius: 50%;
}
.conf-tear-left { left: -12px; }
.conf-tear-right { right: -12px; }

/* QR bottom */
.conf-ticket-bottom {
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(244,241,234,0.3);
  border-radius: 0 0 2.5rem 2.5rem;
}
.conf-qr-box {
  background: white;
  padding: 1rem;
  border-radius: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.conf-qr-box canvas {
  display: block;
  width: 180px;
  height: 180px;
}
.conf-reg-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.25rem;
}
.conf-qr-hint {
  font-size: 0.6rem;
  color: var(--text-light);
  text-align: center;
  font-weight: 500;
}

/* Group share section (coordinator) */
.conf-group-share {
  margin: 0 1.5rem 1.5rem;
  background: rgba(74,105,189,0.04);
  border: 1.5px solid rgba(74,105,189,0.12);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
}
.conf-group-share h3 { color: var(--blue); margin-bottom: 0.25rem; font-size: 0.95rem; font-weight: 700; }
.conf-group-share p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.5rem; }

/* Action buttons */
.conf-actions {
  padding: 0 2rem 3rem;
}
.conf-actions-label {
  text-align: center;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.conf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  height: 56px;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  margin-bottom: 0.75rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.conf-btn:active { transform: scale(0.98); }

.conf-btn-wa {
  background: #25D366;
  color: white;
  box-shadow: 0 8px 24px rgba(37,211,102,0.2);
}
.conf-btn-save {
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--border);
}
.conf-btn-frame {
  background: rgba(74,105,189,0.06);
  color: var(--blue);
  border: 2px solid rgba(74,105,189,0.15);
}

.conf-home-link {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-decoration: none;
}
.conf-home-link:hover { opacity: 0.7; }

/* ============ PREMIUM ADMIN DASHBOARD ============ */
.adm {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  min-height: 100dvh;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  padding-bottom: 100px;
}

/* Sticky header */
.adm-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.5rem 0.75rem;
}
.adm-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.adm-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.adm-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(74,105,189,0.2);
  object-fit: cover;
}
.adm-title {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.adm-edition {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
}
.adm-header-actions {
  display: flex;
  gap: 0.5rem;
}
.adm-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(240,234,214,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s;
}
.adm-icon-btn:active { background: var(--muted); }

/* Horizontal scrolling stat cards */
.adm-stats-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.adm-stats-scroll::-webkit-scrollbar { display: none; }

.adm-stat {
  flex-shrink: 0;
  width: 148px;
  padding: 1rem;
  border-radius: 1rem;
}
.adm-stat-blue {
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 20px rgba(74,105,189,0.2);
}
.adm-stat-gold {
  background: var(--gold);
  color: white;
  box-shadow: 0 8px 20px rgba(139,105,20,0.2);
}
.adm-stat-card {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.adm-stat-top {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.625rem;
}
.adm-stat-top span {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}
.adm-stat-card .adm-stat-top span { color: var(--text-light); }
.adm-stat-card .adm-stat-top svg { stroke: var(--gold); }

.adm-stat-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.adm-stat-num {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}
.adm-stat-badge {
  font-size: 0.6rem;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  margin-bottom: 2px;
}
.adm-stat-card .adm-stat-badge {
  background: rgba(74,105,189,0.1);
  color: var(--blue);
}

.adm-ratio-bars {
  display: flex;
  gap: 3px;
  margin-bottom: 4px;
}
.adm-ratio-m {
  height: 6px;
  background: var(--blue);
  border-radius: 3px;
}
.adm-ratio-v {
  height: 6px;
  background: var(--gold);
  border-radius: 3px;
}

/* Content area */
.adm-content {
  padding: 1.5rem;
}

.adm-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.adm-section-header h2 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
}
.adm-see-all {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Search */
.adm-search {
  position: relative;
  margin-bottom: 0.75rem;
}
.adm-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  stroke: var(--text-light);
  pointer-events: none;
}
.adm-search input {
  width: 100%;
  height: 48px;
  padding-left: 2.75rem;
  padding-right: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  transition: all 0.2s;
}
.adm-search input::placeholder { color: rgba(140,122,107,0.4); }
.adm-search input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,105,189,0.1);
}

/* Filter pills */
.adm-filters {
  display: flex;
  gap: 0.375rem;
  margin-bottom: 1rem;
  overflow-x: auto;
}
.adm-filter {
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.adm-filter.active {
  background: var(--text);
  color: white;
}

/* Registration cards */
.adm-reg-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.adm-reg-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(232,226,210,0.6);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  cursor: pointer;
  transition: transform 0.15s;
}
.adm-reg-card:active { transform: scale(0.98); }

.adm-reg-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--muted);
}
.adm-reg-avatar span {
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

.adm-reg-info {
  flex: 1;
  min-width: 0;
}
.adm-reg-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.adm-reg-top-row h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-pay-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.adm-pay-paid {
  background: rgba(107,142,35,0.1);
  color: #6B8E23;
}
.adm-pay-pending {
  background: rgba(139,105,20,0.1);
  color: var(--gold);
}
.adm-pay-failed {
  background: rgba(220,38,38,0.1);
  color: var(--red);
}

.adm-reg-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.adm-reg-email {
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.adm-reg-time {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}

/* Expandable actions */
.adm-reg-actions {
  background: var(--bg-card);
  margin-top: -0.5rem;
  margin-bottom: 0.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0 0 1.5rem 1.5rem;
  border: 1px solid rgba(232,226,210,0.6);
  border-top: 1px dashed var(--border);
}
.adm-reg-detail {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}
.adm-reg-detail a { color: var(--blue); text-decoration: none; }
.adm-reg-btns {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}
.adm-checked {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
}

.adm-empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Bottom nav */
.adm-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0.5rem));
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 30;
}
.adm-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--text-light);
  transition: color 0.2s;
}
.adm-nav-item span {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.adm-nav-active {
  color: var(--blue);
}
.adm-nav-active svg { fill: var(--blue); }

/* ============ PREMIUM STEP 2 & 3 ============ */

/* Progress done state */
.rp-seg-done { background: var(--green); }

/* Choice cards (radio) */
.rp-choice-row {
  display: flex;
  gap: 0.75rem;
}
.rp-choice-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.25rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}
.rp-choice-card input { display: none; }
.rp-choice-card.selected {
  border-color: var(--blue);
  background: rgba(74,105,189,0.04);
  box-shadow: 0 0 0 3px rgba(74,105,189,0.08);
}
.rp-choice-emoji { font-size: 1.75rem; margin-bottom: 0.125rem; }
.rp-choice-label { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.rp-choice-sub { font-size: 0.7rem; color: var(--text-light); font-weight: 500; }

/* Vertical choice list */
.rp-choice-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rp-choice-wide {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.2s;
}
.rp-choice-wide input { display: none; }
.rp-choice-wide.selected {
  border-color: var(--blue);
  background: rgba(74,105,189,0.04);
  box-shadow: 0 0 0 3px rgba(74,105,189,0.08);
}
.rp-choice-wide.rp-choice-green.selected,
.rp-choice-wide.rp-choice-green {
  border-color: var(--green);
  background: rgba(39,174,96,0.04);
}

/* Buttons row */
.rp-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding-top: 0.5rem;
}
.rp-buttons .sp-cta { flex: 1; }

/* Payment amount */
.rp-pay-amount {
  text-align: center;
  margin-bottom: 1.25rem;
}
.rp-pay-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 0.125rem;
}
.rp-pay-big {
  display: block;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.rp-pay-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Mope box */
.rp-mope-box {
  text-align: center;
  margin-bottom: 1.25rem;
}
.rp-mope-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.rp-mope-num {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--muted);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.rp-mope-num svg { stroke: var(--text-light); }
.rp-mope-num.copied {
  background: rgba(39,174,96,0.1);
  color: var(--green);
}
.rp-mope-num.copied svg { stroke: var(--green); }
.rp-mope-name {
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 0.5rem;
}
.rp-mope-ref {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.125rem;
}

.rp-pay-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Bank info */
.rp-bank-info {
  text-align: center;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.rp-bank-info a { color: var(--blue); }

/* Disclaimer */
.rp-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text);
}
.rp-disclaimer input[type="checkbox"] {
  margin-top: 2px;
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.rp-disclaimer a { color: var(--blue); }
