/* =============================================
   RESET & BASE
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-sun: #ffb703; /* Sol do sertão */
  --color-cactus: #06d6a0; /* Verde cacto */
  --color-sky: #118ab2; /* Céu nordestino */
  --color-earth: #ef476f; /* Terra quente */
  --color-dark: #1a1a1a; /* Fundo escuro */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.2);
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  color: #fff;
  min-height: 100vh;

  /* Degradê fixo do fundo */
  background: linear-gradient(135deg, #ffd93d 0%, #ff8a00 70%, #ff6b00 100%);
  background-attachment: fixed; /* Fica fixo enquanto rola */
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* =============================================
   BACKGROUND DECOR
   ============================================= */
.background-elements {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cactus,
.sun,
.mandacaru {
  position: absolute;
  opacity: 0.25;
  font-size: 3rem;
  animation: float 6s ease-in-out infinite;
}

.cactus-1 {
  top: 15%;
  left: 10%;
}
.cactus-2 {
  bottom: 15%;
  right: 10%;
  animation-delay: 2s;
}
.sun {
  top: 10%;
  right: 15%;
  font-size: 4rem;
  animation: spin 25s linear infinite;
}
.mandacaru {
  bottom: 20%;
  left: 15%;
  font-size: 2.5rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

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

/* =============================================
   CONTAINER
   ============================================= */
.container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 40px 30px;
  width: 100%;
  max-width: 480px;
  z-index: 1;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
   PROFILE
   ============================================= */
.profile-header {
  text-align: center;
  margin-bottom: 30px;
}

.profile-picture-wrapper {
  position: relative;
  display: inline-block;
}

.profile-picture {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--color-sun);
  box-shadow: 0 0 25px rgba(255, 183, 3, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.profile-picture:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 40px rgba(255, 183, 3, 0.9);
}

.emoji-float {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Substitua o bloco .profile-name existente por este */
.profile-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.8rem; /* presença */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  line-height: 1;
  margin: 12px 0 6px;

  /* gradiente no texto */
  background: linear-gradient(90deg, #ffffff 0%, #ffd27a 60%, #ff8a65 100%);
  -webkit-background-clip: text; /* Chrome / Safari */
  background-clip: text; /* padrão */
  -webkit-text-fill-color: transparent; /* necessário em webkit */
  color: transparent; /* fallback */

  /* contorno fino suportado em WebKit */
  -webkit-text-stroke: 0.9px rgba(0, 0, 0, 0.35);

  /* fallback para navegadores sem -webkit-text-stroke:
     cria um 'contorno' sem blur usando sombras direcionais */
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.35), 1px -1px 0 rgba(0, 0, 0, 0.35),
    -1px 1px 0 rgba(0, 0, 0, 0.35), 1px 1px 0 rgba(0, 0, 0, 0.35);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.profile-bio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.bio-tag {
  background: linear-gradient(135deg, var(--color-earth), var(--color-sky));
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.profile-subtitle {
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.9;
  color: #000;
}

/* =============================================
   LINKS
   ============================================= */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.link-button {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 15px 20px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-sky), var(--color-cactus));
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.link-button svg {
  color: #ffffff;

}

.link-button span {
  flex: 1;
  text-align: left;
}

.link-button i:first-child {
  font-size: 1.3rem;
}

.link-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.link-button .arrow-icon {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.link-button:hover .arrow-icon {
  opacity: 1;
  transform: translateX(0);
}

/* Link especial */
.special-link {
  background: linear-gradient(135deg, #ff006e, #fb5607);
  animation: neonPulse 2s infinite;
}

@keyframes neonPulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 0, 110, 0.6);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 0, 110, 1);
  }
}

/* =============================================
   SOCIAL ICONS
   ============================================= */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 30px 0;
  color: #000;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: #000000;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2) rotate(10deg);
  background: var(--color-cactus);
  color: #000;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.9;
  color: #000;
}

.footer .heart {
  color: var(--color-earth);
  animation: heartBeat 1.2s infinite;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 480px) {
  .container {
    padding: 25px 20px;
  }
  .profile-picture {
    width: 100px;
    height: 100px;
  }
  .profile-name {
    font-size: 2rem;
  }
  .link-button {
    font-size: 0.9rem;
    padding: 12px 15px;
  }
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
