/* ==========================================================================
   PRIMEIRA TELA: PERFIL E IDENTIDADE VISUAL — YK CLOSET • BY YASMIN KAREN
   Arquivo: styles/profile.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CONTAINER DA PRIMEIRA TELA (STICKY BACKGROUND LAYER)
   -------------------------------------------------------------------------- */
.hero-screen {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2; /* Fica atrás da camada de conteúdo (.content-sheet com z-index: 10) */
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  padding: 16px 20px;
  box-sizing: border-box;
  will-change: transform, opacity;
  transition: opacity 0.3s ease;
}

.hero-screen-inner {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
}

/* --------------------------------------------------------------------------
   2. FOTO DE PERFIL CIRCULAR COM ANEL FINO ANIMADO E BRILHO SUAVE
   -------------------------------------------------------------------------- */
.avatar-container {
  position: relative;
  width: var(--avatar-size);
  height: var(--avatar-size);
  margin-bottom: clamp(14px, 2.4vh, 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Brilho de Fundo Suave Ouro Rosé & Champanhe */
.avatar-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 183, 108, 0.45) 0%, rgba(247, 213, 210, 0.35) 50%, transparent 70%);
  filter: blur(14px);
  z-index: 1;
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { transform: scale(0.96); opacity: 0.70; }
  100% { transform: scale(1.08); opacity: 1; }
}

/* Anel Fino Animado Rotativo - Tom Ouro Rosé e Champanhe Nobre */
.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  padding: 2.5px;
  background: conic-gradient(
    from 0deg,
    #dfb76c 0deg,
    #c59b4e 90deg,
    #fce8e6 180deg,
    #dfb76c 270deg,
    #e8c792 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
  animation: ringRotate 8s linear infinite;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Moldura e Imagem */
.avatar-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 3;
  border: 3.5px solid #ffffff;
  box-shadow: 0 10px 30px rgba(197, 155, 78, 0.22), 0 4px 12px rgba(24, 24, 27, 0.08);
  background-color: #ffffff;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.avatar-container:hover .avatar-frame img {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   3. NOME, BIOGRAFIA, BADGES E CTA DA LOJA YK CLOSET
   -------------------------------------------------------------------------- */
.profile-name {
  font-size: clamp(1.35rem, 3.4vh, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text-main, #18181b);
  margin-bottom: clamp(4px, 0.8vh, 8px);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.profile-name-sub {
  display: inline-block;
  font-weight: 500;
  color: var(--accent-gold, #c59b4e);
  font-size: 0.88em;
}

.profile-bio {
  font-size: clamp(0.86rem, 1.8vh, 0.98rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-dim, #3f3f46);
  max-width: 360px;
  margin-bottom: clamp(16px, 2.6vh, 24px);
  text-shadow: none;
}


/* --------------------------------------------------------------------------
   4. INDICADOR SUTIL DE ROLAGEM (SCROLL CUE)
   -------------------------------------------------------------------------- */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-bottom: clamp(8px, 1.8vh, 18px);
  color: var(--text-muted, #71717a);
  cursor: pointer;
  transition: color 0.3s ease, opacity 0.3s ease;
  pointer-events: auto;
}

.scroll-cue:hover {
  color: var(--accent-gold, #c59b4e);
}

.scroll-cue-text {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.scroll-cue-chevron {
  width: 18px;
  height: 18px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: chevronBounce 2s ease-in-out infinite;
}

@keyframes chevronBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(6px) rotate(45deg);
  }
  60% {
    transform: translateY(3px) rotate(45deg);
  }
}

/* Telas com Altura Reduzida */
@media (max-height: 640px) {
  :root {
    --avatar-size: clamp(80px, 14vh, 105px);
  }
  .profile-bio {
    margin-bottom: 14px;
  }

  .scroll-cue {
    padding-bottom: 6px;
  }
}
