/* ═══════════════════════════════════════════════════════════
   MARCIANUS RESPONSIVE · Mobile-First · PWA-Ready
   Breakpoints: 320 / 480 / 768 / 1024 / 1280 / 1600+
   Strategy: layout-driven breaks, not device-driven
═══════════════════════════════════════════════════════════ */

/* ── 1. MOBILE-MENU BUTTON VISIBILITY ────────────────────── */
/* Desktop (>= 1080px): hide the hamburger, show full nav */
.mobile-menu-btn { display: none !important; }

@media (max-width: 1079px) {
  .mobile-menu-btn { display: inline-flex !important; }
  .nav-mid { display: none !important; }
  .nav-right .btn-primary,
  .nav-right .btn-ghost:not(:last-child) { display: none !important; }
}

/* ── 2. BOTTOM NAVIGATION (mobile touch context) ─────────── */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 10, 18, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid var(--border-1);
  height: 60px;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  justify-content: space-around;
  align-items: center;
}

@media (max-width: 767px) {
  .bottom-nav { display: flex; }
  .page { padding-bottom: 72px; }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 150ms ease-out, background 150ms ease-out;
  min-width: 52px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.bottom-nav-item:active { transform: scale(0.93); }
.bottom-nav-item.active {
  color: var(--purple-soft);
  background: rgba(123, 97, 255, 0.10);
}
.bottom-nav-item .bn-icon { flex-shrink: 0; }
.bottom-nav-item.cta-item {
  background: var(--gold);
  color: #0B0F1A;
  border-radius: 14px;
  padding: 8px 14px;
  font-weight: 900;
}
.bottom-nav-item.cta-item:active { transform: scale(0.93); }

/* ── 3. CONTAINER RESPONSIVE PADDING ────────────────────── */
@media (max-width: 479px)  { .container { padding: 0 16px; } }
@media (max-width: 767px)  { .container { padding: 0 20px; } }
@media (max-width: 1023px) { .container { padding: 0 24px; } }

/* ── 4. TYPOGRAPHY SCALE ────────────────────────────────── */
@media (max-width: 479px) {
  h2 { font-size: clamp(1.6rem, 7vw, 2.2rem) !important; }
  .hero-h1-tight { font-size: clamp(2rem, 9vw, 3rem) !important; }
  .section-lead { font-size: 15px !important; }
}

/* ── 5. HERO ─────────────────────────────────────────────── */
@media (max-width: 1079px) {
  .hero-fold { padding: 80px 0 40px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .hero-visual-clean { min-height: 320px; }
  .hero-h1-tight { font-size: clamp(2.2rem, 7vw, 3.5rem) !important; }
}
@media (max-width: 767px) {
  .hero-fold { padding: 64px 0 32px; }
  .hero-visual-clean { min-height: 260px; }
  .hero-actions { gap: 8px; flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 calc(50% - 4px); min-width: 140px; }
  .hexis-hint { display: none; }
  .metrics-section .container > div { grid-template-columns: 1fr !important; gap: 12px !important; }
}
@media (max-width: 479px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ── 6. SECTION GRIDS ────────────────────────────────────── */
/* How-it-works 3-col → 1-col */
@media (max-width: 767px) {
  .page-section > .container > div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .page-section > .container > div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }
}

/* ── 7. EVENTS PAGE ──────────────────────────────────────── */
.events-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.events-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  padding: 0 16px;
  height: 44px;
  transition: border-color 200ms;
}
.events-search:focus-within { border-color: var(--border-purple); }
.events-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-0);
  font-size: 14px;
  font-family: var(--font-body);
}
.events-search input::placeholder { color: var(--text-3); }
.filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-bar .lab {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-right: 4px;
  white-space: nowrap;
}
.filter-chip {
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border-1);
  color: var(--text-2);
  cursor: pointer;
  transition: all 150ms ease-out;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.filter-chip:hover { border-color: var(--border-2); color: #fff; }
.filter-chip.on {
  background: rgba(123, 97, 255, 0.14);
  color: var(--purple-soft);
  border-color: var(--border-purple);
}
.filter-chip.live-chip.on {
  background: rgba(0, 196, 140, 0.14);
  color: var(--success);
  border-color: rgba(0, 196, 140, 0.40);
}

/* Event row responsive */
.event-row {
  display: grid;
  grid-template-columns: 48px 52px 1fr auto auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 200ms, transform 150ms;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.event-row:hover { border-color: var(--border-2); transform: translateX(2px); }
.event-row.expanded {
  border-color: var(--border-purple);
  grid-template-rows: auto auto;
  grid-template-columns: 48px 52px 1fr auto auto auto auto;
}
.event-logo {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  flex-shrink: 0;
}
.event-logo.banca { background: linear-gradient(135deg, #1a3a6b, #2563eb); }
.event-logo.tech { background: linear-gradient(135deg, #1e1b4b, #7B61FF); }
.event-logo.saude { background: linear-gradient(135deg, #064e3b, #00C48C); }
.event-logo.energia { background: linear-gradient(135deg, #78350f, #f59e0b); }
.event-logo.real { background: linear-gradient(135deg, #1c1917, #a8a29e); }

.event-date { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.event-date .d { font-family: var(--font-mono); font-size: 22px; font-weight: 900; color: #fff; line-height: 1; }
.event-date .m { font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }

.event-info h4 { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.event-info .loc { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 4px; }

.event-cell { text-align: center; min-width: 80px; }
.event-cell .k { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); font-weight: 700; }
.event-cell .v { font-family: var(--font-mono); font-size: 14px; font-weight: 900; color: #fff; margin-top: 3px; }
.event-cell .v.gold { color: var(--gold); }

.event-detail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 16px;
  padding: 20px;
  margin-top: 8px;
  background: rgba(123, 97, 255, 0.04);
  border-radius: 10px;
  border: 1px solid var(--border-purple);
}
.event-detail .blk h6 {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-3); font-weight: 700; margin-bottom: 6px;
}
.event-detail .blk p { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.event-detail .actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; justify-content: flex-start; align-items: center; grid-column: 1 / -1; }

@media (max-width: 1079px) {
  .event-row { grid-template-columns: 44px 48px 1fr auto auto; }
  .event-cell:nth-child(5),
  .event-cell:nth-child(6) { display: none; }
  .event-detail { grid-template-columns: 1fr 1fr; }
  .event-detail .actions { flex-direction: row; align-items: center; grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .event-row { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 14px 14px; }
  .event-date { display: none; }
  .event-cell { display: none; }
  .event-detail { grid-template-columns: 1fr; }
  .event-detail .actions { flex-direction: row; flex-wrap: wrap; grid-column: 1; }
}

/* ── 8. AFFILIATE PANEL ──────────────────────────────────── */
.affiliate-panel {
  background: var(--surface-3);
  border: 1px solid var(--border-purple);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 12px;
  grid-column: 1 / -1;
}
.affiliate-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.affiliate-link-input {
  flex: 1;
  min-width: 0;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  outline: none;
}

/* ── 9. TICKET PURCHASE / RESELL ─────────────────────────── */
.ticket-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 200ms ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.ticket-modal {
  background: var(--surface-2);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ticket-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
@media (max-width: 479px) { .ticket-tiers { grid-template-columns: 1fr; } }
.ticket-tier {
  border: 1px solid var(--border-1);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  transition: all 150ms;
  text-align: center;
}
.ticket-tier:hover { border-color: var(--border-purple); }
.ticket-tier.selected { border-color: var(--gold); background: rgba(255, 215, 0, 0.06); }
.ticket-tier .tier-name { font-weight: 800; font-size: 13px; margin-bottom: 4px; }
.ticket-tier .tier-price { font-family: var(--font-mono); font-weight: 900; font-size: 18px; color: var(--gold); }
.ticket-tier .tier-desc { font-size: 11px; color: var(--text-3); margin-top: 4px; }

/* ── 10. CONTENT PAGE ────────────────────────────────────── */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 1023px) { .content-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .content-grid { grid-template-columns: 1fr; } }

.content-card {
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: 250ms ease-out;
  display: flex;
  flex-direction: column;
}
.content-card:hover { border-color: var(--border-purple); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.content-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.content-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms; }
.content-card:hover .content-card-img img { transform: scale(1.04); }
.content-price {
  position: absolute; bottom: 10px; right: 10px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 800;
  backdrop-filter: blur(8px);
}
.content-price.free { background: rgba(0,196,140,0.20); color: var(--success); border: 1px solid rgba(0,196,140,0.35); }
.content-price.paid { background: rgba(255,215,0,0.15); color: var(--gold); border: 1px solid rgba(255,215,0,0.35); }
.content-card-body { padding: 18px 18px 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.content-card-body h4 { font-size: 15px; font-weight: 800; line-height: 1.3; }
.content-card-body p { font-size: 13px; color: var(--text-2); line-height: 1.5; flex: 1; }
.content-meta-row { display: flex; gap: 14px; font-family: var(--font-mono); font-size: 10px; color: var(--text-3); font-weight: 700; letter-spacing: 0.08em; }
.content-meta-row span { display: flex; align-items: center; gap: 4px; }
.reaction {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--text-3); font-size: 11px;
  background: none; border: none; cursor: pointer;
  padding: 4px 6px; border-radius: 6px; transition: all 150ms;
}
.reaction:hover { color: var(--purple-soft); background: rgba(123,97,255,0.08); }
.reaction.on { color: var(--danger); }
.reaction-save { margin-left: auto; }

.content-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-1);
  padding-bottom: 0;
}
.content-tab {
  padding: 8px 16px;
  border-radius: 8px 8px 0 0;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--text-2); cursor: pointer; transition: 150ms;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.content-tab:hover { color: #fff; }
.content-tab.active { color: var(--purple-soft); border-color: var(--purple); }
.content-tab .num { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 16px; padding: 0 5px; border-radius: 8px; background: rgba(123,97,255,0.12); font-size: 9px; margin-left: 6px; }

.content-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, rgba(123,97,255,0.08), rgba(0,209,255,0.04));
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .content-hero { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .content-hero-img { display: none; }
}
.content-hero h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; margin: 12px 0 16px; }
.content-hero .meta { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 10px; color: var(--text-3); font-weight: 700; letter-spacing: 0.12em; }
.content-hero .meta span { display: flex; align-items: center; gap: 4px; }
.content-hero-img { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(123,97,255,0.80); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; color: #fff;
  cursor: pointer; z-index: 2; transition: transform 200ms;
}
.play-btn:hover { transform: translate(-50%,-50%) scale(1.1); }
.hl-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,215,0,0.10); border: 1px solid rgba(255,215,0,0.30);
  color: var(--gold); font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
}

.carousel-wrap { position: relative; }
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card { flex: 0 0 280px; scroll-snap-align: start; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(10,10,18,0.90);
  border: 1px solid var(--border-2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: 200ms;
}
.carousel-arrow:hover { border-color: var(--border-purple); background: rgba(123,97,255,0.12); }
.carousel-arrow.l { left: -18px; }
.carousel-arrow.r { right: -18px; }
@media (max-width: 767px) {
  .carousel-arrow { display: none; }
  .carousel-card { flex: 0 0 240px; }
}

/* ── 11. EVENTS LIST ─────────────────────────────────────── */
.events-list-wrap { display: flex; flex-direction: column; gap: 4px; }

/* ── 12. FOOTER ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .footer-top { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 479px) {
  .footer-top { grid-template-columns: 1fr !important; }
  .footer { padding: 48px 0 80px; }
}

/* ── 13. DASHBOARD SIDEBAR ───────────────────────────────── */
@media (max-width: 1023px) {
  .dash {
    grid-template-columns: 200px 1fr !important;
    padding-inline: 20px !important;
  }
}
@media (max-width: 767px) {
  .dash {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
  }
  .dash-side {
    position: relative !important;
    top: auto !important;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px 12px !important;
  }
  .dash-side h6 { display: none; }
  .dash-nav-item { padding: 7px 10px; font-size: 11px; flex: 0 0 auto; }
}
/* Ensure sticky dashboard sidebar is always visible on scroll */
.dash-side {
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.dash-side::-webkit-scrollbar { width: 3px; }
.dash-side::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }

/* ── 14. MARKETPLACE GRID ───────────────────────────────── */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1023px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .offer-grid { grid-template-columns: 1fr; } }
.offer-card {
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 250ms ease-out;
}
.offer-card:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.offer-card.featured {
  border-color: rgba(255,215,0,0.35);
  box-shadow: 0 0 0 1px rgba(255,215,0,0.15);
}
.offer-tag {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--gold); color: #0B0F1A;
  font-family: var(--font-mono); font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
}
.offer-price {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 28px;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 8px 0;
}
.offer-per { font-size: 13px; color: var(--text-3); font-weight: 600; margin-left: 4px; }
.offer-features { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; flex: 1; }
.offer-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text-2); line-height: 1.4;
}
.offer-features li::before {
  content: '✓'; color: var(--success); font-weight: 900; font-size: 11px; flex-shrink: 0; margin-top: 1px;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── 15. WALLET PANEL ───────────────────────────────────── */
.wallet-panel {
  background: linear-gradient(135deg, rgba(123,97,255,0.10) 0%, rgba(0,209,255,0.06) 100%);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  padding: 32px;
  margin: 40px 0;
}
.wallet-card {
  background: linear-gradient(135deg, #1a1440, #0f0f1a);
  border: 1px solid var(--border-purple);
  border-radius: 16px;
  padding: 24px;
  min-height: 160px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px rgba(123,97,255,0.15);
}
.wallet-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,97,255,0.25), transparent 70%);
  pointer-events: none;
}
.wallet-balance {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 36px;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 8px 0 4px;
}
.wallet-balance-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-3);
}
.wallet-card-number {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
}
.wallet-chip-icon {
  position: absolute;
  bottom: 20px;
  right: 24px;
  width: 36px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold-warm), var(--gold));
  opacity: 0.85;
}
.wallet-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}
@media (max-width: 639px) { .wallet-actions { grid-template-columns: repeat(2, 1fr); } }
.wallet-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 200ms;
  color: var(--text-1);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}
.wallet-action-btn:hover { border-color: var(--border-purple); background: rgba(123,97,255,0.06); color: #fff; }
.wallet-action-btn:active { transform: scale(0.95); }
.wallet-action-btn .wa-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(123,97,255,0.12);
  border: 1px solid var(--border-purple);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-soft);
}
.wallet-transactions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wallet-tx {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  transition: border-color 150ms;
}
.wallet-tx:hover { border-color: var(--border-2); }
.wallet-tx-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wallet-tx-icon.in { background: rgba(0,196,140,0.12); color: var(--success); }
.wallet-tx-icon.out { background: rgba(255,59,92,0.10); color: var(--danger); }
.wallet-tx-icon.pending { background: rgba(255,176,32,0.10); color: var(--warning); }
.wallet-tx-info { flex: 1; min-width: 0; }
.wallet-tx-info .desc { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wallet-tx-info .date { font-family: var(--font-mono); font-size: 10px; color: var(--text-3); margin-top: 2px; }
.wallet-tx-amount { font-family: var(--font-mono); font-weight: 900; font-size: 14px; white-space: nowrap; }
.wallet-tx-amount.in { color: var(--success); }
.wallet-tx-amount.out { color: var(--danger); }

/* ── 16. ABOUT PAGE ──────────────────────────────────────── */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border-1);
}
@media (max-width: 1023px) { .about-stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .about-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.about-stat { padding: 28px 20px; background: var(--surface-1); text-align: center; }
.about-stat-v {
  font-family: var(--font-mono); font-weight: 900; font-size: 28px;
  color: #fff; letter-spacing: -0.02em;
}
.about-stat-l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; font-weight: 700; }

.about-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.about-timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--border-1); }
.timeline-step { display: flex; gap: 20px; padding: 0 0 28px 0; position: relative; }
.ts-dot {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; margin-top: 4px;
  background: var(--surface-1);
  border: 2px solid var(--border-purple);
  position: relative; z-index: 1;
  box-shadow: 0 0 10px rgba(123,97,255,0.30);
}
.ts-body { flex: 1; }
.ts-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ts-year { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--text-3); }
.ts-event { font-size: 14px; color: var(--text-2); line-height: 1.55; }

.team-av {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 14px; color: #fff; flex-shrink: 0;
}
.score-pill {
  padding: 3px 8px; border-radius: 999px;
  background: rgba(0,196,140,0.10); color: var(--success);
  border: 1px solid rgba(0,196,140,0.30);
  font-family: var(--font-mono); font-size: 10px; font-weight: 900;
}

/* Founder section */
.founder-section {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0;
}
@media (max-width: 1023px) { .founder-section { grid-template-columns: 320px 1fr; gap: 40px; } }
@media (max-width: 767px) {
  .founder-section { grid-template-columns: 1fr; gap: 32px; }
  .founder-img-wrap { max-width: 280px; margin: 0 auto; }
}
.founder-img-wrap {
  position: relative;
}
.founder-img-wrap img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 3/4;
  border: 1px solid var(--border-purple);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 40px rgba(123,97,255,0.15);
}
.founder-img-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-2);
  border: 1px solid var(--border-purple);
  border-radius: 12px;
  padding: 10px 18px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-soft);
  letter-spacing: 0.10em;
  backdrop-filter: blur(8px);
}
.founder-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-0);
  font-style: italic;
  margin: 24px 0;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}
.founder-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.founder-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-1);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  transition: all 200ms;
  text-decoration: none;
}
.founder-social-link:hover {
  border-color: var(--border-purple);
  color: #fff;
  background: rgba(123,97,255,0.06);
}

/* ── 17. PROOF SECTION ──────────────────────────────────── */
.proof { text-align: center; }
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-1);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 639px) { .proof-row { grid-template-columns: 1fr; } }
.proof-cell { padding: 28px 20px; background: var(--surface-2); text-align: center; }
.proof-cell .big {
  font-family: var(--font-mono); font-weight: 900; font-size: 32px;
  color: #fff; letter-spacing: -0.02em; margin-bottom: 8px;
}
.proof-cell .big.purple { color: var(--purple-soft); }
.proof-cell .big.gold { color: var(--gold); }
.proof-cell .caption { font-size: 12px; color: var(--text-2); line-height: 1.5; }
.proof-cell .tag { margin-top: 8px; display: inline-block; font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }

/* ── 18. MARKETPLACE HERO ───────────────────────────────── */
.page-hero { padding: 80px 0 40px; }
.mk-hero { background: linear-gradient(160deg, rgba(93,63,211,0.10) 0%, transparent 60%); border-bottom: 1px solid var(--border-1); }
.mk-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.mk-hero .lead { color: var(--text-2); max-width: 580px; font-size: 17px; line-height: 1.65; margin-top: 16px; }
.mp-tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 12px; border: 1px solid var(--border-1); }
.mp-tab {
  padding: 8px 20px; border-radius: 9px; font-size: 13px; font-weight: 700;
  color: var(--text-2); transition: 200ms; cursor: pointer;
}
.mp-tab.active { background: var(--purple); color: #fff; }
.mp-tab:hover:not(.active) { color: #fff; }

/* ── 19. CART BAR ───────────────────────────────────────── */
.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(10,10,18,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-purple);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0));
}
.cart-items { flex: 1; font-size: 13px; color: var(--text-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-total { font-family: var(--font-mono); font-weight: 900; font-size: 18px; color: var(--gold); white-space: nowrap; }
.cart-actions { display: flex; gap: 8px; }
@media (max-width: 639px) {
  .cart-bar { padding: 12px 16px; }
  .cart-items { display: none; }
}

/* ── 20. FINAL CTA ──────────────────────────────────────── */
.final-cta { text-align: center; padding: 80px 0; background: linear-gradient(135deg, rgba(93,63,211,0.08), transparent); border-top: 1px solid var(--border-1); }
.final-cta h2 { max-width: 640px; margin: 0 auto 20px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.final-cta p { color: var(--text-2); max-width: 480px; margin: 0 auto 32px; font-size: 16px; line-height: 1.65; }

/* ── 21. CREAR EXPERIENCIA ──────────────────────────────── */
.onb-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 88px 20px 60px;
  background: transparent;
}
.onb-card {
  background: var(--surface-2);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
}
@media (max-width: 639px) { .onb-card { padding: 24px; } }
.ce-card {
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: 20px;
  padding: 36px;
  margin-bottom: 16px;
}
@media (max-width: 639px) { .ce-card { padding: 20px; } }
.ce-opts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 639px) { .ce-opts { grid-template-columns: 1fr; } }
.ce-opt {
  padding: 16px;
  border: 1px solid var(--border-1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 150ms ease-out;
}
.ce-opt:hover { border-color: var(--border-purple); background: rgba(123,97,255,0.04); }
.ce-opt.sel { border-color: var(--gold); background: rgba(255,215,0,0.04); }
.ce-opt h5 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.ce-opt p { font-size: 12px; color: var(--text-3); line-height: 1.4; }
.ce-progress { height: 3px; background: var(--surface-3); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.ce-progress-fill { height: 100%; background: linear-gradient(90deg, var(--purple), var(--purple-soft)); border-radius: 2px; transition: width 400ms cubic-bezier(0.16,1,0.3,1); }
.ce-hexis { background: rgba(123,97,255,0.06); border: 1px solid var(--border-purple); border-radius: 14px; padding: 16px 20px; }
.ce-hexis-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ce-hexis-msg { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.brief-summary { background: var(--surface-3); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.brief-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-2); padding: 4px 0; border-bottom: 1px solid var(--border-1); }
.brief-row:last-child { border-bottom: none; }
.brief-row strong { color: #fff; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.form-input {
  background: var(--surface-3);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-0);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 200ms;
  width: 100%;
}
.form-input:focus { border-color: var(--border-purple); }
.form-input::placeholder { color: var(--text-3); }

/* ── 22. TRUSTED BY SECTION ─────────────────────────────── */
.trusted-by-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1023px) { .trusted-by-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .trusted-by-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.trusted-by-card {
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  transition: 200ms;
  cursor: pointer;
}
.trusted-by-card:hover { border-color: var(--border-gold, rgba(255,215,0,0.30)); transform: translateY(-2px); }
.trusted-by-logo {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 900; color: #fff;
  margin: 0 auto 10px;
}
.trusted-by-name { font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.trusted-by-metric { font-family: var(--font-mono); font-size: 18px; font-weight: 900; color: var(--gold); margin-bottom: 2px; }
.trusted-by-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }

/* ── 23. AUTH PAGE ──────────────────────────────────────── */
@media (max-width: 767px) {
  .auth-shell { padding-top: 72px; }
}
@media (max-width: 479px) {
  .auth-left { display: none !important; }
}

/* ── 24. TOAST ──────────────────────────────────────────── */
.toast-host {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 40px);
}
@media (max-width: 767px) {
  .toast-host { bottom: 72px; right: 16px; left: 16px; align-items: stretch; }
}
.toast {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 14px 16px;
  pointer-events: all;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  animation: slideInRight 350ms cubic-bezier(0.16,1,0.3,1);
  min-width: 280px;
  max-width: 360px;
}
@media (max-width: 767px) { .toast { max-width: 100%; min-width: 0; } }
@keyframes slideInRight { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast.gold { border-color: rgba(255,215,0,0.30); }
.toast .ic { color: var(--purple-soft); flex-shrink: 0; margin-top: 1px; }
.toast.gold .ic { color: var(--gold); }
.toast .body { flex: 1; min-width: 0; }
.toast .body .t { font-size: 13px; font-weight: 800; color: #fff; }
.toast .body .d { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.toast .x { color: var(--text-3); flex-shrink: 0; transition: color 150ms; }
.toast .x:hover { color: #fff; }

/* ── 25. HEXIS FAB ──────────────────────────────────────── */
.hexis-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
}
@media (max-width: 767px) {
  .hexis-fab { bottom: 70px; right: 16px; }
}

/* ── 26. CONFETTI ────────────────────────────────────────── */
.confetti-host { position: fixed; pointer-events: none; z-index: 9999; }
.confetti-piece {
  position: absolute;
  width: 8px; height: 8px; border-radius: 2px;
  animation: confettiFly 1.4s ease-out both;
}

/* ── 27. MOBILE MENU ─────────────────────────────────────── */
.mobile-menu {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(10,10,18,0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-1);
  padding: 16px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  animation: slideDown 250ms cubic-bezier(0.16,1,0.3,1);
}
@keyframes slideDown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.mobile-menu .nav-link { padding: 12px 14px; }

/* ── 28. PWA INSTALL BANNER ─────────────────────────────── */
.pwa-install-banner {
  position: fixed;
  bottom: 70px;
  left: 16px;
  right: 16px;
  z-index: 1050;
  background: var(--surface-2);
  border: 1px solid var(--border-purple);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  animation: slideUp 350ms cubic-bezier(0.16,1,0.3,1);
}
.pwa-install-banner img { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; }
.pwa-install-info { flex: 1; }
.pwa-install-info .pwa-title { font-weight: 800; font-size: 14px; color: #fff; }
.pwa-install-info .pwa-sub { font-size: 12px; color: var(--text-2); margin-top: 2px; }

/* ── 29. DEMO BADGE ──────────────────────────────────────── */
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 209, 255, 0.10);
  border: 1px solid rgba(0, 209, 255, 0.30);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.btn-demo {
  background: linear-gradient(135deg, rgba(0,209,255,0.12), rgba(123,97,255,0.12));
  border: 1px solid rgba(0, 209, 255, 0.35);
  color: var(--blue);
  font-weight: 800;
}
.btn-demo:hover {
  background: linear-gradient(135deg, rgba(0,209,255,0.20), rgba(123,97,255,0.18));
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}

/* ── 30. TOUCH & FOCUS STATES ───────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .btn:hover { transform: none; }
  .card:hover { transform: none; border-color: var(--border-1); }
  .offer-card:hover { transform: none; }
  .content-card:hover { transform: none; }
  .stack-card:hover { transform: none; }
}
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-radius: 4px;
}
