/* 
  Tiluê Costura Criativa - Bio Link Page
  Aesthetic: Soft Minimal + Playful
*/

:root {
  /* Cores da Marca */
  --color-pink: #F52576;
  --color-blue-dark: #005774;
  --color-blue-medium: #0395C2;
  --color-green: #29A653;
  --color-blue-light: #A4C2CD;

  /* Cores Derivadas para Layout */
  --color-bg-light: #F2F7F9;
  /* Versão muito suave do blue-light para o fundo */
  --color-text-dark: #003649;
  --color-text-muted: #5B7A88;
  --color-youtube-red: #FF0000;

  /* Tipografia */
  --font-display: 'Fraunces', serif;
  --font-body: 'DM Sans', sans-serif;

  /* Sombras e Bordas */
  --shadow-sm: 0 4px 12px rgba(0, 87, 116, 0.08);
  --shadow-hover: 0 8px 24px rgba(245, 37, 118, 0.25);
  --radius-card: 22px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 420px;
  --container-padding: 24px;
}

/* Base / Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container Principal */
.bio-container {
  width: 100%;
  max-width: var(--max-width);
  background-color: var(--color-bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.03);
  /* Leve sombra no desktop */
}

/* Hero Section */
.hero {
  background-color: var(--color-blue-dark);
  color: #ffffff;
  position: relative;
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}

.hero-content {
  padding: 0 var(--container-padding);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.profile-image-container {
  width: 260px;
  height: 260px;
  border-radius: var(--radius-full);
  padding: 4px;
  background: linear-gradient(135deg, rgba(245, 37, 118, 0.6), rgba(3, 149, 194, 0.6));
  margin-bottom: 20px;
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  display: block;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #ffffff;
}

.profile-tagline {
  font-weight: 400;
  font-size: 16px;
  opacity: 0.9;
  max-width: 280px;
  line-height: 1.4;
  margin-bottom: 24px;
}

/* Redes Sociais no Hero */
.social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.social-icon {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0);
}

.social-icon:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* Wave */
.hero-wave {
  position: absolute;
  bottom: -1px;
  /* Evita gap no mobile */
  left: 0;
  width: 100%;
  color: var(--color-bg-light);
  z-index: 1;
  pointer-events: none;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 40px;
}

/* Links Section */
.links-section {
  padding: 32px var(--container-padding) 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  z-index: 2;
}

/* Botões / Cards */
.link-card {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--radius-card);
  min-height: 72px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;

  /* Inicialmente transparente e abaixo para animação */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Estado de toque no mobile/desktop */
.link-card:active {
  transform: scale(0.97);
}

/* Conteúdo interno do card */
.link-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  z-index: 2;
}

.link-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.link-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-bottom: 2px;
}

.link-card-title {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 2px;
}

.link-card-subtitle {
  font-size: 13px;
  font-weight: 400;
}

.link-card-action {
  flex-shrink: 0;
  margin-left: 12px;
  opacity: 0.7;
  transition: transform 0.3s ease;
  z-index: 2;
}

.link-card:hover .link-card-action {
  transform: translateX(4px);
}

/* Estilo: CTA Principal (Rosa) */
.link-card-primary {
  background-color: var(--color-pink);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(245, 37, 118, 0.22);
  padding: 20px 24px;
  min-height: 88px;
}

.link-card-primary .link-card-subtitle {
  opacity: 0.9;
}

.link-card-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Efeito de brilho/highlight no botão principal */
.link-card-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%);
  z-index: 1;
  border-radius: var(--radius-card);
}

/* Estilo: Botão Secundário (YouTube) */
.link-card-secondary {
  background-color: transparent;
  color: var(--color-blue-dark);
  border: 2px solid var(--color-blue-light);
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
}

.link-card-secondary .link-card-icon.icon-youtube {
  color: var(--color-youtube-red);
}

.link-card-secondary .link-card-subtitle {
  color: var(--color-text-muted);
}

.link-card-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--color-blue-medium);
  box-shadow: 0 8px 16px rgba(0, 87, 116, 0.1);
}

/* Footer */
.footer {
  padding: 32px var(--container-padding);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-signature {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  opacity: 0.3;
  color: var(--color-blue-dark);
}

/* Keyframes de Animação */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}