/* ===== GodaSmartCard – Public Card ===== */
:root {
  --brand: #e91e8c;
  --brand-2: #8b5cf6;
  --brand-grad: linear-gradient(135deg, #e91e8c 0%, #8b5cf6 100%);
  --zalo: #0068ff;
  --bg: #0a0a0f;
  --surface: #14141c;
  --surface-2: #1c1c26;
  --surface-3: #252532;
  --border: rgba(255,255,255,0.08);
  --border-2: rgba(255,255,255,0.14);
  --text: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b7b;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --gold: #fbbf24;
  --radius: 18px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background: #000;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}

.app {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

/* Owner card picker (My Cards) */
.pc-picker {
  position: sticky;
  top: 0;
  z-index: 40;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(20, 20, 28, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.pc-picker.is-visible { display: flex; }
.pc-picker-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.pc-picker-select {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  outline: none;
}
.pc-picker-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.15);
}
.pc-picker-open {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  color: var(--text);
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 13px;
}
.pc-picker-open:hover {
  border-color: var(--brand);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.hero-cover { width: 100%; height: 100%; object-fit: cover; }
.hero.has-fallback .hero-cover { display: none; }
.hero-fallback {
  display: none;
  width: 100%; height: 100%;
  background: var(--brand-grad);
}
.hero.has-fallback .hero-fallback { display: block; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 30%, rgba(10,10,15,0.95) 100%);
}
.hero-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  z-index: 2;
}
.hero-logo {
  display: flex; align-items: center; gap: 6px;
  font-weight: 800; font-size: 15px; color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero-logo-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--brand-grad);
  display: grid; place-items: center;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(233,30,140,0.4);
}
.hero-actions-top { display: flex; gap: 8px; }
.hero-icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.hero-icon-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}
.verified-badge-hero {
  position: absolute;
  top: 70px; right: 20px;
  padding: 6px 12px;
  background: rgba(29, 161, 242, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; gap: 5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

/* Profile */
.profile {
  padding: 0 20px;
  margin-top: -70px;
  position: relative;
  z-index: 3;
}
.profile-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--brand-grad);
  border: 4px solid var(--bg);
  display: grid; place-items: center;
  font-size: 32px; font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 12px 32px rgba(233,30,140,0.35);
  overflow: hidden;
  position: relative;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-status {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--success);
  border: 3px solid var(--bg);
  animation: pcPulse 2s infinite;
}
@keyframes pcPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.profile-name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.profile-verified {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #1da1f2;
  display: grid; place-items: center;
  color: #fff; font-size: 10px;
  flex-shrink: 0;
}
.profile-role {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 4px;
}
.profile-role strong { color: var(--text); font-weight: 700; }
.profile-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.profile-meta span { display: flex; align-items: center; gap: 5px; }
.profile-meta i { font-size: 11px; }

/* Primary CTA */
.primary-cta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.cta-btn {
  padding: 13px 10px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
  position: relative;
  overflow: hidden;
  letter-spacing: -0.005em;
  color: var(--text);
}
.cta-btn i { font-size: 15px; }
.cta-btn:hover { transform: translateY(-2px); }
.cta-save {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(233,30,140,0.35);
}
.cta-exchange,
.cta-share {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-2);
}
.cta-exchange:hover,
.cta-share:hover { background: var(--surface-3); }

.booking-pill {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(34,197,94,0.35);
  background: linear-gradient(135deg, rgba(34,197,94,0.16), rgba(34,197,94,0.05));
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}
.booking-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(34,197,94,0.6);
}

/* Sections */
.section {
  padding: 0 20px;
  margin-top: 24px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 8px;
}
.section-title::before {
  content: '';
  width: 3px; height: 14px;
  background: var(--brand-grad);
  border-radius: 2px;
}
.section-count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--surface-2);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* Scan to connect / QR (Public Card) */
.pc-qr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pc-qr-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
  width: 100%;
}
.pc-qr-tab {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.pc-qr-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.pc-qr-tab.active {
  background: var(--brand-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(233, 30, 140, 0.28);
}
.pc-qr-box {
  min-width: 188px;
  min-height: 188px;
  padding: 14px;
  background: #fafafa;
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  display: grid;
  place-items: center;
  outline: 1px solid var(--border);
}
.pc-qr-box canvas,
.pc-qr-box img {
  display: block;
  border-radius: 8px;
}
.pc-qr-custom-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.pc-qr-empty {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #64748b;
  text-align: center;
  padding: 12px;
  cursor: pointer;
}
.pc-qr-empty i { font-size: 28px; color: #cbd5e1; }
.pc-qr-empty span { font-size: 11.5px; font-weight: 600; line-height: 1.35; }
.pc-qr-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
  font-weight: 500;
}
.pc-qr-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.pc-qr-btn {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
}
.pc-qr-btn:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}
.pc-qr-btn.primary {
  background: var(--brand-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(233, 30, 140, 0.3);
}
.pc-qr-btn.danger {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}
.pc-qr-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* About */
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.about-card strong { color: var(--text); font-weight: 700; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.about-stat {
  text-align: center;
  padding: 12px 8px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 108px;
  justify-content: center;
}
.about-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  background: linear-gradient(135deg, rgba(233,30,140,0.18), rgba(139,92,246,0.18));
  color: #f472b6;
  margin-bottom: 2px;
}
.about-stat-icon.rating {
  background: linear-gradient(135deg, rgba(251,191,36,0.22), rgba(245,158,11,0.18));
  color: #fbbf24;
}
.about-stat-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.about-stat-rating .about-stat-value {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 2px 0 1px;
  line-height: 1;
}
.about-stars i {
  font-size: 11px;
  color: rgba(251, 191, 36, 0.28);
}
.about-stars i.is-full,
.about-stars i.is-half {
  color: #fbbf24;
}
.about-stars i.is-half {
  position: relative;
  background: linear-gradient(90deg, #fbbf24 50%, rgba(251,191,36,0.28) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-stat-label {
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-top: 2px;
}
@media (max-width: 380px) {
  .about-stats { gap: 6px; }
  .about-stat { padding: 10px 4px; min-height: 100px; }
  .about-stat-value { font-size: 17px; }
  .about-stars i { font-size: 10px; }
}

/* Contact hub tweaks for public card */
#contactList {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#contactList .contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}
#contactList .contact-item:hover {
  background: var(--surface-2);
  border-color: var(--border-2);
  transform: translateX(3px);
}

/* Featured → grid on public card */
.app .featured-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.app .featured-card {
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-sm);
}
.app .featured-arrow { display: none; }
.app .featured-body { width: 100%; min-width: 0; }
.app .featured-desc { -webkit-line-clamp: 2; }

/* Social */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.social-btn {
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text);
  font-size: 18px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s;
}
.social-btn i { position: relative; z-index: 1; transition: all 0.25s; }
.social-btn:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}
.social-btn:hover::before { opacity: 1; }
.social-btn:hover i { color: #fff; transform: scale(1.1); }
.social-zalo::before { background: linear-gradient(135deg, #0068ff, #00a8ff); }
.social-facebook::before { background: linear-gradient(135deg, #1877f2, #0d5bc4); }
.social-instagram::before { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-linkedin::before { background: linear-gradient(135deg, #0077b5, #005582); }
.social-whatsapp::before { background: linear-gradient(135deg, #25d366, #128c7e); }
.social-telegram::before { background: linear-gradient(135deg, #0088cc, #005f8c); }
.social-youtube::before { background: linear-gradient(135deg, #ff0000, #cc0000); }
.social-twitter::before { background: linear-gradient(135deg, #000, #333); }

/* Partners */
.incentive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.card-partner-btn {
  padding: 10px 6px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.card-partner-btn.active,
.card-partner-btn:hover {
  background: var(--brand-grad);
  color: #fff;
  border-color: transparent;
}

/* Offers scroll */
.offers-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}
.offers-scroll::-webkit-scrollbar { display: none; }
.offer-card {
  flex-shrink: 0;
  width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  transition: all 0.25s;
  text-align: left;
  font-family: inherit;
  color: inherit;
  padding: 0;
}
.offer-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-2);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.5);
}
.offer-header {
  padding: 18px;
  position: relative;
  min-height: 90px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.offer-logo {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.offer-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 3px 8px;
  background: rgba(239,68,68,0.9);
  border-radius: 6px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.offer-title {
  font-size: 16px;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.offer-body { padding: 14px 16px; }
.offer-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.offer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.offer-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  background: rgba(233,30,140,0.1);
  padding: 4px 8px;
  border-radius: 6px;
}
.offer-expiry { font-size: 10.5px; color: var(--text-muted); }
.offers-hint {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
}

/* Media / videos */
[data-videos-root] .videos-grid,
.app .videos-grid {
  display: flex !important;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 -20px;
  padding: 0 20px 8px;
}
[data-videos-root] .videos-grid::-webkit-scrollbar { display: none; }
[data-videos-root] .video-card,
.app .video-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px 20px 40px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

/* Modals */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.modal-backdrop.open { display: flex; }
.modal-sheet {
  width: 100%;
  max-width: 430px;
  background: var(--surface);
  border-radius: 24px 24px 0 0;
  padding: 12px 20px calc(28px + env(safe-area-inset-bottom));
  max-height: 92vh;
  overflow-y: auto;
  animation: pcSlideUp 0.35s cubic-bezier(.2,.8,.2,1);
  border-top: 1px solid var(--border-2);
}
@keyframes pcSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.modal-handle {
  width: 40px; height: 4px;
  background: var(--surface-3);
  border-radius: 2px;
  margin: 0 auto 20px;
}
.modal-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.modal-sub {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 18px;
}
.share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.share-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.share-item i { font-size: 18px; }
.share-item:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.modal-close-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}
.qr-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.qr-box-large {
  padding: 16px;
  background: #fff;
  border-radius: 16px;
}
.color-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.color-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
}
.color-dot.active {
  border-color: #fff;
  box-shadow: 0 0 0 2px var(--brand);
}
.exchange-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.exchange-form input {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.exchange-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(233,30,140,0.12);
}

/* Toast + FAB */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  z-index: 300;
  max-width: calc(100% - 40px);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast i { color: var(--success); }
.theme-fab {
  position: fixed;
  right: max(16px, calc(50% - 199px));
  bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--brand-grad);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(233,30,140,0.4);
  z-index: 50;
}

@media (max-width: 380px) {
  .primary-cta { gap: 6px; }
  .cta-btn { font-size: 11.5px; padding: 12px 6px; }
  .app .featured-list { grid-template-columns: 1fr; }
}
