@import url(https://fonts.googleapis.com/css?family=Waiting+for+the+Sunrise);

html {
  -webkit-font-smoothing: antialiased;
}

body {
  background: url(https://subtlepatterns.com/patterns/purty_wood.png) repeat;
  font-family: Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

ul {
  margin: 0 auto;
  width: 320px;
  /* Múltiplas camadas de background para textura de papel realista */
  background: 
    /* Sombra interna sutil */
    linear-gradient(135deg, rgba(0,0,0,0.05) 0%, transparent 50%),
    /* Textura de papel principal */
    url('https://res.cloudinary.com/dx7zi8dnc/image/upload/v1752787950/texture_paper_304x128_v1_ljisg7.png') repeat,
    /* Gradiente sutil para profundidade */
    linear-gradient(145deg, #f8f8f8 0%, #ffffff 50%, #f0f0f0 100%);
  box-shadow: 
    /* Sombra externa principal */
    rgba(0, 0, 0, 0.3) 0 8px 32px,
    /* Sombra interna para profundidade */
    inset rgba(255, 255, 255, 0.8) 0 0 0 1px,
    /* Sombra interna sutil */
    inset rgba(0, 0, 0, 0.1) 0 0 0 1px;
  border-radius: 1em;
  padding: 0;
  /* Transformação com perspectiva melhorada */
  -webkit-transform: rotate(-7deg) perspective(1000px) rotateX(2deg);
  transform: rotate(-7deg) perspective(1000px) rotateX(2deg);
  /* Melhor renderização */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

ul li span {
  font-size: 2.2em;
  display: block;
  letter-spacing: 0.4em;
  text-transform: capitalize;
  font-weight: 600;
  /* Melhor contraste com a textura */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

ul li {
  list-style: none;
  list-style-position: inside;
  text-align: center;
}

ul li:first-child {
  background: 
    /* Gradiente vermelho com textura sutil */
    linear-gradient(135deg, rgba(254, 56, 56, 0.9) 0%, rgba(220, 40, 40, 0.9) 100%),
    /* Textura de papel sutil */
    url('https://res.cloudinary.com/dx7zi8dnc/image/upload/v1752787950/texture_paper_304x128_v1_ljisg7.png') repeat;
  color: rgba(255, 255, 255, 1);
  border-radius: 1em 1em 0 0;
  padding: 1em 0;
  letter-spacing: 0.2em;
  /* Sombra interna para profundidade */
  box-shadow: inset rgba(0, 0, 0, 0.2) 0 2px 4px;
}

ul li:last-child {
  background: 
    /* Gradiente vermelho com textura sutil */
    linear-gradient(135deg, rgba(254, 56, 56, 0.9) 0%, rgba(220, 40, 40, 0.9) 100%),
    /* Textura de papel sutil */
    url('https://res.cloudinary.com/dx7zi8dnc/image/upload/v1752787950/texture_paper_304x128_v1_ljisg7.png') repeat;
  height: 1em;
  border-radius: 0 0 1em 1em;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.6em;
  font-weight: bold;
  padding: 1em 0;
  /* Sombra interna para profundidade */
  box-shadow: inset rgba(0, 0, 0, 0.2) 0 -2px 4px;
}

ul li:last-child a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
}

ul li.name {
  font-family: 'Waiting for the Sunrise', cursive;
  color: rgba(41, 41, 41, 0.9);
  font-size: 3em;
  padding: 0.3em 0;
  /* Transformação com perspectiva melhorada */
  -webkit-transform: rotate(-7deg) perspective(1000px) rotateX(1deg);
  transform: rotate(-7deg) perspective(1000px) rotateX(1deg);
  /* Sombra de texto para melhor legibilidade */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Background sutil para destacar o nome */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  margin: 0.2em 0;
  border-radius: 0.5em;
}

ul li.name::first-letter {
  font-size: 1.3em;
  /* Efeito sutil na primeira letra */
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Estilos para os links adicionais fora do cartão */
.additional-links {
  margin-top: 2em;
  text-align: center;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.additional-links h3 {
  font-size: 1.2em;
  margin-bottom: 0.8em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.9);
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9);
}

.projects {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-bottom: 1.5em;
}

.projects a {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9em;
  padding: 0.3em 0;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.projects a:hover {
  color: rgba(0, 0, 0, 1);
  text-shadow: 0 2px 4px rgba(255, 255, 255, 1);
}

.cv-download {
  margin-top: 1em;
}

.cv-download a {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9em;
  padding: 0.3em 0;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.cv-download a:hover {
  color: rgba(0, 0, 0, 1);
  text-shadow: 0 2px 4px rgba(255, 255, 255, 1);
}