*{box-sizing:border-box;margin:0;padding:0}

html,body{min-height:100%}

body{
  font-family:Arial,Helvetica,sans-serif;
  background:#030303;
  color:#f5f5f5;
  overflow-x:hidden;
}

.page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px 16px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
}

.page::before{
  content:"";
  position:absolute;
  inset:-80px;
  z-index:-2;
  background-image:var(--profile-bg);
  background-position:49% 50%;
  background-size:cover;
  /* Keep blur constant: animating filter caused a brief rendering hitch. */
  filter:blur(9px);
  opacity:0;
  transform:translate3d(-.45%, -.25%, 0) scale(1.12);
  transform-origin:center;
  backface-visibility:hidden;
  will-change:opacity,transform;
  animation:backgroundReveal 3.6s ease-out forwards,
             backgroundMotion 38s ease-in-out 3.6s infinite;
}

.page::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:rgba(0,0,0,.30);
}


@keyframes backgroundReveal{
  0%{
    opacity:0;
    transform:translate3d(-.45%, -.25%, 0) scale(1.12);
  }
  100%{
    opacity:.78;
    transform:translate3d(-.45%, -.25%, 0) scale(1.08);
  }
}

@keyframes backgroundMotion{
  0%{
    transform:translate3d(-.45%, -.25%, 0) scale(1.08);
    background-position:49% 50%;
  }
  50%{
    transform:translate3d(.35%, .2%, 0) scale(1.095);
    background-position:50.5% 49.7%;
  }
  100%{
    transform:translate3d(-.45%, -.25%, 0) scale(1.08);
    background-position:49% 50%;
  }
}


@keyframes cardEnter{
  from{opacity:0;transform:translateY(24px) scale(.975);filter:blur(5px)}
  to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
}
@keyframes photoEnter{
  from{opacity:0;transform:scale(.72) rotate(-8deg)}
  to{opacity:1;transform:scale(1) rotate(0)}
}
@keyframes badgeEnter{
  from{opacity:0;transform:translate(10px,8px) scale(.75)}
  to{opacity:1;transform:translate(0,0) scale(1)}
}
@keyframes linkEnter{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
  .page::before{opacity:.78;filter:blur(9px);transform:translate3d(-.45%, -.25%, 0) scale(1.08);will-change:auto}
}

.profile-card{
  animation:cardEnter .8s cubic-bezier(.2,.75,.25,1) both;
  transform-origin:center;
  width:min(100%,500px);
  padding:42px 34px 38px;
  background:rgba(18,18,20,.48);
  border:1px solid rgba(255,255,255,.18);
  border-radius:26px;
  text-align:center;
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  box-shadow:0 22px 70px rgba(0,0,0,.50),0 0 24px rgba(170,90,220,.06);
}

.photo-protection{
  position:relative;
  width:150px;
  height:150px;
  margin:0 auto 13px;
  border-radius:50%;
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
}

.photo-protection::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  z-index:2;
  background:transparent;
}

.profile-photo{
  animation:photoEnter .85s cubic-bezier(.16,1,.3,1) .12s both;
  display:block;
  width:100%;
  height:100%;
  margin:0;
  border-radius:50%;
  object-fit:cover;
  border:2px solid rgba(255,255,255,.58);
  box-shadow:0 0 0 3px rgba(255,255,255,.035);
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
}

.online-status{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-bottom:20px;
  color:#eeeeee;
  font-size:15px;
  font-weight:500;
}

.profile-name{
  color:#ffffff;
  font-weight:600;
}

.online-badge{
  animation:badgeEnter .55s cubic-bezier(.16,1,.3,1) .48s both;
  position:absolute;
  right:-12px;
  bottom:3px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px 5px 7px;
  border:2px solid #171719;
  border-radius:999px;
  background:#173b28;
  color:#baffd0;
  font-size:12px;
  line-height:1;
  font-weight:700;
  box-shadow:0 2px 10px rgba(0,0,0,.3),0 0 10px rgba(39,230,107,.18);
  white-space:nowrap;
}

.online-dot{
  display:block;
  width:9px;
  height:9px;
  flex:0 0 9px;
  border-radius:50%;
  background:#27e66b;
  box-shadow:0 0 7px rgba(39,230,107,.75);
  animation:onlinePulse 1.25s ease-in-out infinite;
}

.online-label{display:block}

@keyframes onlinePulse{
  0%,100%{opacity:1;transform:scale(1);box-shadow:0 0 7px rgba(39,230,107,.75)}
  50%{opacity:.65;transform:scale(.88);box-shadow:0 0 3px rgba(39,230,107,.3)}
}

.location{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#d1d1d5;
  font-size:14px;
  margin-bottom:17px;
}

.location-icon{
  color:#fff;
  font-size:9px;
}

p{
  max-width:340px;
  margin:0 auto 28px;
  color:#e0e0e3;
  font-size:15px;
  line-height:1.6;
}

.links{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.link{
  animation:linkEnter .65s cubic-bezier(.2,.75,.25,1) both;
  width:100%;
  min-height:58px;
  display:grid !important;
  grid-template-columns:30px minmax(0,1fr) 20px;
  align-items:center;
  gap:10px;
  padding:0 18px !important;
  border-radius:15px;
  text-decoration:none !important;
  color:#fff !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.13);
  font-size:16px;
  font-weight:600;
  text-align:left;
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
  overflow:hidden;
}

.link:nth-child(1){animation-delay:.35s}
.link:nth-child(2){animation-delay:.48s}

.link:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.07) !important;
}

.whatsapp{border-color:rgba(37,211,102,.55)}
.telegram{border-color:rgba(42,171,238,.55)}

.icon-wrap{
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.icon-wrap img{
  display:block !important;
  width:24px !important;
  height:24px !important;
  max-width:24px !important;
  max-height:24px !important;
  min-width:24px !important;
  min-height:24px !important;
  object-fit:contain !important;
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
}

.link-label{
  min-width:0;
  color:#fff !important;
  font-size:16px !important;
  line-height:1 !important;
  text-decoration:none !important;
}

.arrow{
  color:#ddd !important;
  font-size:25px !important;
  line-height:1 !important;
  text-align:right;
}

@media(max-width:520px){
  .page{padding:16px}

  .profile-card{
    padding:32px 20px 28px;
    border-radius:22px;
  }

  .photo-protection{
    width:132px;
    height:132px;
  }

  p{
    font-size:14px;
    margin-bottom:25px;
  }
}


/* Subtle neon glow along the borders and separator lines */
@keyframes lineGlow {
  0%,100% {
    border-color: rgba(255,255,255,.19);
    box-shadow: 0 0 7px rgba(120,170,255,.12), inset 0 0 5px rgba(120,170,255,.035);
  }
  50% {
    border-color: rgba(145,190,255,.52);
    box-shadow: 0 0 14px rgba(110,160,255,.22), inset 0 0 7px rgba(110,160,255,.06);
  }
}

@keyframes socialLineGlow {
  0%,100% { box-shadow: 0 0 8px rgba(255,255,255,.04); }
  50% { box-shadow: 0 0 15px rgba(255,255,255,.12), inset 0 0 8px rgba(255,255,255,.035); }
}

.profile-card {
  animation: cardEnter .8s cubic-bezier(.2,.75,.25,1) both, lineGlow 4.8s ease-in-out .18s 1, lineGlow 4.8s ease-in-out 4.98s infinite;
}

.profile-photo {
  animation: photoEnter .85s cubic-bezier(.16,1,.3,1) .12s both, photoEdgeGlow 3.8s ease-in-out .3s 1, photoEdgeGlow 3.8s ease-in-out 4.1s infinite;
}

@keyframes photoEdgeGlow {
  0%,100% { border-color: rgba(255,255,255,.48); box-shadow: 0 0 0 3px rgba(255,255,255,.035), 0 0 7px rgba(130,175,255,.08); }
  50% { border-color: rgba(150,190,255,.82); box-shadow: 0 0 0 3px rgba(125,170,255,.09), 0 0 15px rgba(110,160,255,.2); }
}

.link {
  animation: linkEnter .65s cubic-bezier(.2,.75,.25,1) both, socialLineGlow 4.2s ease-in-out .45s 1, socialLineGlow 4.2s ease-in-out 4.65s infinite;
}

.whatsapp {
  border-color: rgba(37,211,102,.55);
  animation: linkEnter .65s cubic-bezier(.2,.75,.25,1) both, whatsappLineGlow 3.8s ease-in-out .35s 1, whatsappLineGlow 3.8s ease-in-out 4.15s infinite;
}
.telegram {
  border-color: rgba(42,171,238,.55);
  animation: linkEnter .65s cubic-bezier(.2,.75,.25,1) both, telegramLineGlow 3.8s ease-in-out .5s 1, telegramLineGlow 3.8s ease-in-out 4.3s infinite;
}

@keyframes whatsappLineGlow {
  0%,100% { border-color: rgba(37,211,102,.45); box-shadow: 0 0 7px rgba(37,211,102,.08); }
  50% { border-color: rgba(37,211,102,.88); box-shadow: 0 0 16px rgba(37,211,102,.23), inset 0 0 9px rgba(37,211,102,.06); }
}
@keyframes telegramLineGlow {
  0%,100% { border-color: rgba(42,171,238,.45); box-shadow: 0 0 7px rgba(42,171,238,.08); }
  50% { border-color: rgba(42,171,238,.9); box-shadow: 0 0 16px rgba(42,171,238,.24), inset 0 0 9px rgba(42,171,238,.06); }
}

.online-badge {
  animation: badgeEnter .55s cubic-bezier(.16,1,.3,1) .48s both, badgeGlow 2.8s ease-in-out .45s 1, badgeGlow 2.8s ease-in-out 3.25s infinite;
}
@keyframes badgeGlow {
  0%,100% { box-shadow: 0 2px 10px rgba(0,0,0,.3), 0 0 8px rgba(39,230,107,.12); }
  50% { box-shadow: 0 2px 10px rgba(0,0,0,.3), 0 0 15px rgba(39,230,107,.28); }
}


.profile-card{position:relative;z-index:1}


/* Compact neon audio visualizer, centered just above the profile photo. */
.music-indicator{
  position:absolute;
  z-index:5;
  top:-31px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:auto;
  height:25px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  pointer-events:none;
}
.music-bar{
  display:block;
  width:2px;
  height:5px;
  flex:0 0 2px;
  border-radius:0;
  background:#e5e7eb;
  transform-origin:center;
  transition:height 90ms linear;
  animation:musicIdle .8s ease-in-out infinite alternate;
}
.music-bar:nth-child(2),.music-bar:nth-child(8){animation-delay:-.25s}
.music-bar:nth-child(3),.music-bar:nth-child(7){animation-delay:-.5s}
.music-bar:nth-child(4),.music-bar:nth-child(6){animation-delay:-.15s}
.music-bar:nth-child(5){animation-delay:-.35s}
.music-indicator.is-playing .music-bar{animation:musicActive .42s ease-in-out infinite alternate}
.music-indicator.is-playing .music-bar:nth-child(2),.music-indicator.is-playing .music-bar:nth-child(8){animation-delay:-.18s}
.music-indicator.is-playing .music-bar:nth-child(3),.music-indicator.is-playing .music-bar:nth-child(7){animation-delay:-.31s}
.music-indicator.is-playing .music-bar:nth-child(4),.music-indicator.is-playing .music-bar:nth-child(6){animation-delay:-.09s}
.music-indicator.is-playing .music-bar:nth-child(5){animation-delay:-.24s}
@keyframes musicActive{
  0%{height:4px;opacity:.58}
  35%{height:17px;opacity:1}
  70%{height:8px;opacity:.82}
  100%{height:13px;opacity:1}
}
@keyframes musicIdle{
  from{height:4px;opacity:.65}
  to{height:13px;opacity:1}
}
@media(prefers-reduced-motion:reduce){
  .music-bar{animation:none}
}
