:root{
  --bg:#0f1720;
  --card:#0b1220;
  --accent:#06b6d4;
  --muted:#9ca3af;
}

html,body{
  height:100%;
}

body{
  margin:0;
  font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background:linear-gradient(180deg,#071022 0%, #0b1220 100%);
  color:#e6eef8;
  display:flex;
  align-items:center;
  justify-content:center;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.background-gif {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  will-change: opacity;
  pointer-events: none;
}

.background-gif.active {
  opacity: 0.15;
}

.wrap{
  width:100%;
  max-width:820px;
  margin:28px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.card{
  width:100%;
  padding:48px 36px;
  border-radius:18px;
  box-shadow:0 12px 50px rgba(2,6,23,0.6);
  display:flex;
  flex-direction:column;
  gap:20px;
  align-items:center;
  background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  backdrop-filter: blur(6px) saturate(120%);
}

/* Cursor personalizado */
/* Cursor personalizado simple */
* {
  cursor: none;
}

.custom-cursor {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

a:hover ~ .custom-cursor {
  transform: scale(1.8);
  background: white;
}
.hero{
  width:260px;
  height:260px;
  border-radius:999px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  border:3px solid rgba(255,255,255,0.8);
  box-shadow:
    0 10px 30px rgba(8,14,30,0.6),
    inset 0 -6px 18px rgba(0,0,0,0.25),
    0 0 20px rgba(255,255,255,0.3);
  background:linear-gradient(135deg, rgba(6,182,212,0.08), rgba(96,165,250,0.04));
  transition: all 0.3s ease;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -5px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  z-index: -1;
  filter: blur(15px);
}

.hero:hover {
  transform: scale(1.05);
  box-shadow:
    0 15px 35px rgba(8,14,30,0.7),
    inset 0 -6px 18px rgba(0,0,0,0.25),
    0 0 25px rgba(255,255,255,0.4);
}

.hero img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.name{
  font-size:28px;
  font-weight:700;
  letter-spacing:0.2px;
  color:#e6f0fb;
  margin-top:6px;
  position: relative;
  width: fit-content;
}

.name::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 20px;
  background-color: var(--accent);
  animation: cursor-blink 1s infinite;
}

.name span {
  opacity: 0;
  animation: type 2s steps(20, end) forwards;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

@keyframes type {
  from { opacity: 0; }
  to { opacity: 1; }
}

.subtitle{
  color:var(--muted);
  font-size:22px;
  margin-top:4px;
  font-weight: 500;
  position: relative;
  width: fit-content;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subtitle span {
  position: absolute;
  opacity: 0;
  animation: rotateText 12s linear infinite;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--muted), #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  background-position-x: 0%;
}

.subtitle span i {
  margin-left: 8px;
  font-size: 20px;
  display: inline-block;
  vertical-align: middle;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  transition: transform 0.3s ease;
}

.subtitle span:hover i {
  transform: scale(1.2);
}

.subtitle span:nth-child(1) {
  animation-delay: 0s;
}

.subtitle span:nth-child(2) {
  animation-delay: 4s;
}

.subtitle span:nth-child(3) {
  animation-delay: 8s;
}

@keyframes rotateText {
  0%, 3% {
    opacity: 0;
    transform: translateY(8px);
    background-position-x: 0%;
  }
  8%, 30% {
    opacity: 1;
    transform: translateY(0);
    background-position-x: 100%;
  }
  35%, 38% {
    opacity: 0;
    transform: translateY(-8px);
  }
  40%, 100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

.icons{
  display:flex;
  gap:20px;
  margin-top:12px;
  flex-wrap:wrap;
  justify-content:center;
  margin-bottom: 24px;
}

.icon-link{
  width:85px;
  height:85px;
  border-radius:20px;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  color:var(--muted);
  text-decoration:none;
  border:1px solid rgba(255,255,255,0.03);
  transition:all .25s cubic-bezier(.2,.9,.2,1);
  gap:8px;
}

.blog-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 40px;
  width: fit-content;
  background: #2a2139;
  color: #e4d5ff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.blog-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(139, 92, 246, 0.2), 
    transparent
  );
  transition: 0.5s;
}

.blog-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
  background: #362952;
  border-color: rgba(139, 92, 246, 0.5);
}

.blog-link:hover::before {
  left: 100%;
}

.blog-link i {
  transition: transform 0.3s ease;
  color: #8b5cf6;
  font-size: 20px;
  margin-left: 4px;
}

.blog-link:hover i {
  transform: translateX(4px);
  color: #a78bfa;
}

.icon-label {
  font-size: 12px;
  margin-top: 6px;
  text-align: center;
  color: var(--muted);
  transition: color .25s ease;
}

.icon-link:focus{
  outline:2px solid rgba(6,182,212,0.18);
  outline-offset:4px;
}

.icon-link:hover{
  transform:translateY(-8px) scale(1.05);
  box-shadow:0 12px 24px rgba(4,8,20,0.7);
  color:var(--accent);
  border-color:var(--accent);
  background:linear-gradient(180deg, rgba(6,182,212,0.1), rgba(255,255,255,0.02));
}

.icon-link:hover .icon-label {
  color: var(--accent);
}

.small{
  font-size:12px;
  color:var(--muted);
  margin-top:6px;
}

@media (max-width:520px){
  .hero{
    width:160px;
    height:160px;
  }
  .icon-link{
    width:64px;
    height:64px;
  }
  .card{
    padding:28px;
  }
}

@media (max-width:420px){
  .card{
    flex-direction:column;
    padding:20px;
  }
}
