/* ── Tema escuro (padrão) ── */
:root {
  --bg:           #0d0d0d;
  --surface:      #1a1a1a;
  --surface-2:    #242424;
  --border:       #2a2a2a;
  --border-2:     #333;
  --primary:      #e91e8c;
  --secondary:    #ff6b35;
  --accent:       #f5c518;
  --text:         #f0f0f0;
  --text-muted:   #888888;
  --radius:       16px;
  --footer-border:#1e1e1e;
}

/* ── Tema claro ── */
:root[data-theme="light"] {
  --bg:           #f5f5f5;
  --surface:      #ffffff;
  --surface-2:    #f0f0f0;
  --border:       #e0e0e0;
  --border-2:     #d0d0d0;
  --text:         #111111;
  --text-muted:   #777777;
  --footer-border:#e0e0e0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  transition: background .2s, color .2s;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ── THEME SWITCHER ── */
.theme-switcher {
  position: fixed;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px;
  z-index: 100;
}

.theme-btn {
  background: none;
  border: none;
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.theme-btn.active {
  background: var(--surface-2);
  color: var(--text);
}

/* ── HERO ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
}

.avatar-wrap {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
}

.hero-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-handle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: -10px;
}

.hero-tagline {
  font-size: 0.95rem;
  color: var(--text);
  opacity: 0.85;
  letter-spacing: 0.5px;
}

.btn-share {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border-2);
  border-radius: 99px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-share:hover { border-color: var(--primary); color: var(--primary); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
  padding: 10px 20px;
  border-radius: 99px;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  white-space: nowrap;
  z-index: 200;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── SEÇÕES ── */
.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ── CARDS DE REDES SOCIAIS ── */
.social-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, transform .15s;
}
.social-card:hover { border-color: var(--primary); transform: translateY(-1px); }
.social-card.disabled { opacity: 0.45; pointer-events: none; }

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-icon svg { width: 22px; height: 22px; fill: #fff; }
.social-icon.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.tiktok    { background: #010101; border: 1px solid var(--border-2); }
.social-icon.email     { background: var(--surface-2); border: 1px solid var(--border-2); }

.social-info { flex: 1; }
.social-name { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem; }
.social-sub  { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.social-arrow { color: var(--text-muted); font-size: 1rem; }

.badge-soon {
  font-size: 0.65rem;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 99px;
  padding: 2px 8px;
  color: var(--text-muted);
}

/* ── LOJAS & PARCEIROS ── */
.store-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .2s, transform .15s;
}
.store-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.store-card[data-url=""] { opacity: 0.45; pointer-events: none; }

.store-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.store-info { flex: 1; }
.store-name { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9rem; }
.store-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

.store-cta {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}

/* ── MIFIGURINHAS PROMO ── */
.app-promo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-promo-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }

.app-promo-info { flex: 1; }
.app-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem; }
.app-sub   { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.app-promo-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.btn-appstore-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 13px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-appstore-promo span {
  font-size: 0.68rem;
  display: block;
  color: var(--text-muted);
}
.btn-appstore-promo div {
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
}

/* ── FOOTER ── */
.footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  padding-top: 8px;
  border-top: 1px solid var(--footer-border);
  line-height: 1.8;
}
