/* ==========================================================================
   Uzoth Website - Estilos Modernos & Minimalistas (Red & Amber Edition)
   ========================================================================== */

/* 1. Reset & Configurações Globais */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Paleta Escura com Toques Elegantes em Vermelho & Amarelo */
  --bg-primary: #0c090a;
  --bg-card: rgba(26, 18, 20, 0.78);
  --bg-card-hover: rgba(34, 22, 25, 0.90);
  
  /* Bordas e Destaques */
  --border-color: rgba(239, 68, 68, 0.16);
  --border-color-hover: rgba(245, 158, 11, 0.38);
  
  /* Cores de Texto */
  --text-primary: #fcfbf9;
  --text-secondary: #a8a29e;
  
  /* Acentos Vermelho & Amarelo / Dourado */
  --accent-red: #ef4444;
  --accent-red-glow: rgba(239, 68, 68, 0.16);
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.14);
  
  /* Sombras */
  --card-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 22px 55px rgba(0, 0, 0, 0.8), 
                      0 0 30px var(--accent-red-glow), 
                      0 0 15px var(--accent-amber-glow);
  
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  padding: 1.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 2. Brilho Ambiente de Fundo (Vermelho Rubro & Amarelo Âmbar suaves) */
.ambient-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(750px, 95vw);
  height: min(750px, 95vw);
  background: 
    radial-gradient(circle at 35% 38%, rgba(220, 38, 38, 0.13) 0%, rgba(0, 0, 0, 0) 55%),
    radial-gradient(circle at 65% 62%, rgba(245, 158, 11, 0.09) 0%, rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
}

/* 3. Container Principal Centralizado */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 4. Cartão de Perfil Interativo */
.profile-card {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  width: 100%;
  max-width: 460px;
  padding: 1.35rem 1.6rem;
  background: var(--bg-card);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  user-select: none;
  transition: transform 0.28s var(--transition-smooth),
              background 0.28s ease,
              border-color 0.28s ease,
              box-shadow 0.28s ease;
}

/* Linha de destaque sutil no topo do cartão (Gradiente Vermelho -> Amarelo) */
.card-highlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(239, 68, 68, 0.3) 35%, 
    rgba(245, 158, 11, 0.35) 65%, 
    transparent 100%
  );
  pointer-events: none;
}

/* Estados de Hover e Foco */
.profile-card:hover {
  transform: translateY(-3px) scale(1.015);
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  box-shadow: var(--card-shadow-hover);
}

.profile-card:focus-visible {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25), var(--card-shadow);
}

/* Efeito de Clique / Pressionar */
.profile-card:active {
  transform: translateY(0) scale(0.985);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition-duration: 0.1s;
}

/* 5. Foto de Perfil & Indicador */
.avatar-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 84px;
  height: 84px;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(239, 68, 68, 0.28);
  background-color: #191214;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-card:hover .profile-avatar {
  border-color: rgba(245, 158, 11, 0.45);
  transform: scale(1.03);
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.25);
}

/* Ponto de status estilizado em âmbar/dourado */
.status-indicator {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  background-color: #f59e0b;
  border-radius: 50%;
  border: 3px solid #160e10;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.65);
}

/* 6. Informações Textuais */
.profile-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.profile-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.external-icon {
  color: var(--text-secondary);
  opacity: 0.65;
  flex-shrink: 0;
  transition: transform 0.25s var(--transition-smooth),
              opacity 0.25s ease,
              color 0.25s ease;
}

.profile-card:hover .external-icon {
  opacity: 1;
  color: var(--accent-amber);
  transform: translate(2px, -2px);
}

.profile-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
  font-weight: 400;
  word-break: break-word;
}

/* 7. Responsividade e Adaptações de Tela */
@media (max-width: 480px) {
  body {
    padding: 1rem;
  }

  .profile-card {
    padding: 1.15rem 1.3rem;
    gap: 1.1rem;
    border-radius: 20px;
  }

  .avatar-wrapper {
    width: 72px;
    height: 72px;
  }

  .status-indicator {
    width: 14px;
    height: 14px;
    border-width: 2.5px;
    bottom: 2px;
    right: 2px;
  }

  .profile-name {
    font-size: 1.18rem;
  }

  .profile-bio {
    font-size: 0.84rem;
  }
}
