/* ============================================
   Página estilo Beacons (xaudrey / link-in-bio)
   Coluna central escura + fundo desfocado + vídeo
   ============================================ */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --color-bg: #0f0f12;
  --color-column: #16161a;
  --color-column-border: rgba(255, 255, 255, 0.06);
  --color-text: #f5f5f7;
  --color-text-muted: #a1a1aa;
  --color-accent: #f9aa2c;
  --color-accent-bright: #fbc04d;
  --color-button-bg: #2a2a2e;
  --color-button-hover: #36363a;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --column-width: 400px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 80px;
}

/* Fundo desfocado (estilo Beacons) */
.bg-blur {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #1a1a1f 0%, #2d2d35 50%, #3d3d48 100%);
  background-size: cover;
}

/* Opcional: usar imagem de fundo com blur
.bg-blur::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('sua-imagem.jpg') center/cover;
  filter: blur(40px) brightness(0.4);
}
*/

/* Coluna central (card estilo Beacons) */
.bio-column {
  width: 100%;
  max-width: var(--column-width);
  background: var(--color-column);
  border: 1px solid var(--color-column-border);
  border-radius: var(--radius-xl);
  padding: 24px 20px 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Topo: Inscrever-se + Compartilhar */
.column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 0;
  transition: color var(--transition);
  text-decoration: none;
}

.icon-btn:hover {
  color: var(--color-text);
}

.icon-btn svg {
  flex-shrink: 0;
}

/* Moldura retangular com bordas arredondadas (WhatsApp) */
.icon-btn-framed {
  padding: 10px 18px !important;
  border: 2px solid #fff;
  border-radius: var(--radius-md);
  color: #fff !important;
}

.icon-btn-framed:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border-color: #fff;
}

/* Nome principal (grande, branco) */
.profile-name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.2;
}

/* Avatar circular com borda roxa */
.profile-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent);
  box-shadow: 0 0 0 1px rgba(249, 170, 44, 0.3);
}

/* Handle em roxo */
.profile-handle {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

/* Ícones sociais (roxo) */
.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: color var(--transition), transform var(--transition);
}

.social-icon:hover {
  color: var(--color-accent-bright);
  transform: scale(1.1);
}

/* Bloco do vídeo */
.video-block {
  margin-bottom: 24px;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 10px;
}

/* Lista de links (botões estilo Beacons) */
.link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: var(--color-button-bg);
  border: 1px solid var(--color-column-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  text-align: left;
  transition: background var(--transition), border-color var(--transition);
}

.link-button:hover {
  background: var(--color-button-hover);
  border-color: rgba(249, 170, 44, 0.2);
}

.link-button-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-column);
}

.link-button-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-button-icon-tiktok,
.link-button-icon-ig,
.link-button-icon-discord {
  color: var(--color-accent);
  background: rgba(249, 170, 44, 0.15);
}

.link-button-icon-fire {
  font-size: 1.25rem;
  background: rgba(249, 170, 44, 0.2);
}

.link-button-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-button-text strong {
  font-weight: 600;
  font-size: 0.9375rem;
}

.link-button-text span:not(strong) {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.link-button-arrow {
  flex-shrink: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* CTA principal (destaque) */
.link-button-cta {
  background: linear-gradient(135deg, rgba(249, 170, 44, 0.2) 0%, rgba(249, 170, 44, 0.15) 100%);
  border-color: rgba(249, 170, 44, 0.3);
}

.link-button-cta:hover {
  background: linear-gradient(135deg, rgba(249, 170, 44, 0.3) 0%, rgba(249, 170, 44, 0.25) 100%);
  border-color: rgba(249, 170, 44, 0.5);
}

/* Rodapé estilo Beacons */
.bio-footer {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 10;
}

.bio-footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

.bio-footer-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Desktop: coluna mais larga */
@media (min-width: 769px) {
  .bio-column {
    max-width: 520px;
  }
}

/* Responsivo (mobile) */
@media (max-width: 440px) {
  body {
    padding-left: 12px;
    padding-right: 12px;
  }

  .bio-column {
    padding-left: 16px;
    padding-right: 16px;
  }

  .profile-name {
    font-size: 1.5rem;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
  }
}
