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

/* ── VARIÁVEIS ── */
:root {
  --bg:      #08080b;
  --text:    #f4f4f5;
  --muted:   #a1a1aa;
  --border:  rgba(255,255,255,0.09);
  --accent:  #7c3aed;
  --radius:  16px;
  --ease:    0.2s cubic-bezier(0.4,0,0.2,1);
}

html, body {
  min-height: 100%;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ── FOTO DE FUNDO ── */
.bg-photo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  filter: brightness(0.28);
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(8,8,11,0.45) 0%,
    rgba(8,8,11,0.65) 100%
  );
  z-index: 1;
}

/* ── LAYOUT PRINCIPAL ── */
.layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 20px 64px;
  min-height: 100svh;
  width: min(520px, 100%);
  margin: 0 auto;
  gap: 28px;
}

/* ── PERFIL ── */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.name {
  font-size: clamp(1.5rem, 6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.handle {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
}

.verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1d9bf0;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 900;
  vertical-align: middle;
  margin-left: 4px;
  position: relative;
  top: -1px;
}

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--ease);
}

.ig-link::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-radius: 3px;
  flex-shrink: 0;
}

.ig-link:hover { color: var(--text); }

.bio {
  margin-top: 6px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── BOTÕES ── */
.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.btn {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.45);
  transition: transform var(--ease), box-shadow var(--ease);
  height: 88px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 28px rgba(0,0,0,0.6);
}

.btn:active { transform: translateY(-1px); }

.btn__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--ease), filter var(--ease);
  filter: brightness(0.65);
}

.btn:hover .btn__bg {
  transform: scale(1.05);
  filter: brightness(0.80);
}

.btn__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.2) 70%,
    transparent 100%
  );
}

.btn__icon-wrap {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.7));
}

.btn__icon-wrap--svg {
  width: 40px;
  height: 36px;
  filter: drop-shadow(0 1px 6px rgba(37,211,102,0.5));
}

.btn__left {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  min-width: 0;
  flex: 1;
}

.btn__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
  min-width: 0;
}

.btn__title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn__sub {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn__arrow {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-left: 8px;
  opacity: 0.8;
  transition: transform var(--ease), opacity var(--ease);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ── BORDAS NEON ── */
.btn--neon-purple {
  border: 1.5px solid rgba(124,58,237,0.8);
  box-shadow: 0 0 8px rgba(124,58,237,0.6), 0 0 22px rgba(34,197,94,0.35), inset 0 0 10px rgba(124,58,237,0.08);
}
.btn--neon-purple:hover {
  box-shadow: 0 0 14px rgba(124,58,237,0.9), 0 0 36px rgba(34,197,94,0.5), 0 10px 28px rgba(0,0,0,0.6);
}

.btn--neon-orange {
  border: 1.5px solid rgba(251,146,60,0.85);
  box-shadow: 0 0 8px rgba(251,146,60,0.65), 0 0 22px rgba(251,146,60,0.3), inset 0 0 10px rgba(251,146,60,0.08);
}
.btn--neon-orange:hover {
  box-shadow: 0 0 14px rgba(251,146,60,0.95), 0 0 36px rgba(251,146,60,0.5), 0 10px 28px rgba(0,0,0,0.6);
}

.btn--neon-green {
  border: 1.5px solid rgba(34,197,94,0.85);
  box-shadow: 0 0 8px rgba(34,197,94,0.65), 0 0 22px rgba(34,197,94,0.3), inset 0 0 10px rgba(34,197,94,0.08);
}
.btn--neon-green:hover {
  box-shadow: 0 0 14px rgba(34,197,94,0.95), 0 0 36px rgba(34,197,94,0.5), 0 10px 28px rgba(0,0,0,0.6);
}

.btn--youtube {
  border: 1.5px solid rgba(220,38,38,0.7);
  box-shadow: 0 0 8px rgba(220,38,38,0.5), 0 0 22px rgba(220,38,38,0.25);
}
.btn--youtube:hover {
  box-shadow: 0 0 14px rgba(220,38,38,0.85), 0 0 36px rgba(220,38,38,0.45), 0 10px 28px rgba(0,0,0,0.6);
}

.btn__icon-wrap--yt {
  font-size: 1.7rem;
  color: #ff4444;
  text-shadow: 0 0 12px rgba(255,68,68,0.8);
  filter: drop-shadow(0 0 6px rgba(255,68,68,0.6));
}

/* ── SEÇÃO RESULTADOS ── */
.results {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.results__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.results__badge {
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.5);
  color: #c4b5fd;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
}

.results__sub {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.results__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.results__track::-webkit-scrollbar {
  display: none;
}

.results__item {
  flex-shrink: 0;
  width: 180px;
  height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  scroll-snap-align: start;
  border: 1px solid var(--border);
}

/* ── RODAPÉ ── */
.footer {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.footer a {
  color: #a78bfa;
  text-decoration: none;
}

.footer a:hover { text-decoration: underline; }
