/* ── Base ─────────────────────────────────────────────────────────── */
body { margin:0; min-height:100vh; overflow-x:hidden; }
#profileRoot { min-height:100vh; display:flex; align-items:center; justify-content:center; }
.profile-loading { display:flex; align-items:center; justify-content:center; min-height:100vh; }

/* ── Page wrapper ────────────────────────────────────────────────── */
.profile-page {
  min-height:100vh; width:100%;
  display:flex; align-items:center; justify-content:center;
  padding:40px 20px 120px; /* bottom padding for music player */
  position:relative; overflow:hidden;
}
.profile-bg-overlay {
  position:fixed; inset:0; z-index:0;
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.profile-bg-overlay::after {
  content:''; position:absolute; inset:0; background:rgba(0,0,0,.35);
}

/* ── Card ───────────────────────────────────────────────────────── */
.profile-card {
  position:relative; z-index:1; width:100%;
  backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px);
  padding:44px 36px; text-align:center;
  box-shadow:0 24px 80px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.04);
  transition:box-shadow .3s ease;
}
.profile-card:hover { box-shadow:0 32px 100px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.06); }

/* No-card / transparent mode */
.profile-card.card-hidden {
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

/* Sizes */
.profile-card.size-small  { max-width:380px; }
.profile-card.size-medium { max-width:460px; }
.profile-card.size-large  { max-width:580px; }

/* Layouts */
.profile-card.layout-compact { padding:28px 24px; }
.profile-card.layout-compact .profile-display-name { font-size:20px; }
.profile-card.layout-wide  { max-width:680px; }

/* Parallax */
.profile-card.parallax-enabled {
  transform-style: preserve-3d;
  will-change: transform;
  cursor: default;
  transition: transform 0.6s cubic-bezier(.23,1,.32,1);
}

/* ── Avatar ─────────────────────────────────────────────────────── */
.profile-avatar-wrap { 
  position:relative; 
  display:inline-block; 
  margin-bottom:8px; 
  overflow:visible; 
  z-index:1; 
  padding:10px;
}
.profile-avatar {
  width:90px; height:90px; border-radius:50%; object-fit:cover; display:block; position:relative; z-index:1;
}
.profile-avatar-placeholder {
  width:90px; height:90px; border-radius:50%;
  background:rgba(255,255,255,.1); border:2px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center; font-size:40px;
}
.profile-online-dot {
  display: none;
}

/* ── Decoration rings ────────────────────────────────────────────── */
.decoration-ring { position:absolute; inset:-8px; border-radius:50%; pointer-events:none; z-index:2; }
.decoration-flames   .decoration-ring { background:conic-gradient(#ff6b00,#ff3d00,#ff9500,#ff6b00); animation:spinRing 3s linear infinite; -webkit-mask:radial-gradient(circle,transparent 55%,black 56%); mask:radial-gradient(circle,transparent 55%,black 56%); }
.decoration-stars    .decoration-ring { background:conic-gradient(#fff 0deg,transparent 30deg,#fff 60deg,transparent 90deg,#fff 120deg,transparent 150deg,#fff 180deg,transparent 210deg,#fff 240deg,transparent 270deg,#fff 300deg,transparent 330deg); animation:spinRing 6s linear infinite; -webkit-mask:radial-gradient(circle,transparent 55%,black 56%); mask:radial-gradient(circle,transparent 55%,black 56%); opacity:.8; }
.decoration-rainbow  .decoration-ring { background:conic-gradient(red,orange,yellow,green,cyan,blue,violet,red); animation:spinRing 4s linear infinite; -webkit-mask:radial-gradient(circle,transparent 55%,black 56%); mask:radial-gradient(circle,transparent 55%,black 56%); }
.decoration-neon     .decoration-ring { border: 3px solid var(--accent-col,#7c3aed); inset:-6px; animation:neonPulse 2s ease-in-out infinite; }
.decoration-galaxy   .decoration-ring { background:conic-gradient(#0f0c29,#302b63,#24243e,#a855f7,#0f0c29); animation:spinRing 8s linear infinite; -webkit-mask:radial-gradient(circle,transparent 55%,black 56%); mask:radial-gradient(circle,transparent 55%,black 56%); }
.decoration-sakura   .decoration-ring { background:conic-gradient(#ffb7d5,#ff8cb4,#ffc8dd,#ffb7d5); animation:spinRing 5s linear infinite; -webkit-mask:radial-gradient(circle,transparent 55%,black 56%); mask:radial-gradient(circle,transparent 55%,black 56%); }
.decoration-lightning .decoration-ring { background:conic-gradient(#facc15,transparent 20deg,#facc15 40deg,transparent 60deg,#facc15 80deg,transparent 100deg,#facc15 120deg,transparent 140deg); animation:spinRing 2s linear infinite; -webkit-mask:radial-gradient(circle,transparent 55%,black 56%); mask:radial-gradient(circle,transparent 55%,black 56%); }
.decoration-hearts   .decoration-ring { background:conic-gradient(#f43f5e,#fb7185,#f43f5e,#fb7185,#f43f5e); animation:spinRing 4s linear infinite; -webkit-mask:radial-gradient(circle,transparent 55%,black 56%); mask:radial-gradient(circle,transparent 55%,black 56%); }

/* Discord exclusive decorations */
.decoration-nitro-flame .decoration-ring { 
  background:conic-gradient(#ff73fa,#f399ff,#b366ff,#9966ff,#ff73fa); 
  animation:spinRing 2.5s linear infinite; 
  -webkit-mask:radial-gradient(circle,transparent 55%,black 56%); 
  mask:radial-gradient(circle,transparent 55%,black 56%); 
}
.decoration-boost-ring .decoration-ring { 
  background:conic-gradient(#f47fff,#ff8a80,#f47fff,#ff8a80); 
  animation:spinRing 4s linear infinite, boostPulse 2s ease-in-out infinite; 
  -webkit-mask:radial-gradient(circle,transparent 55%,black 56%); 
  mask:radial-gradient(circle,transparent 55%,black 56%); 
}
.decoration-hypesquad .decoration-ring { 
  background:conic-gradient(#9c84ef,#ffb347,#4fc3f7,#9c84ef); 
  animation:spinRing 5s linear infinite; 
  -webkit-mask:radial-gradient(circle,transparent 55%,black 56%); 
  mask:radial-gradient(circle,transparent 55%,black 56%); 
}
.decoration-early-supporter .decoration-ring { 
  background:conic-gradient(#7289da,#99aab5,#7289da,#99aab5); 
  animation:spinRing 6s linear infinite; 
  -webkit-mask:radial-gradient(circle,transparent 55%,black 56%); 
  mask:radial-gradient(circle,transparent 55%,black 56%); 
  opacity:.9;
}

@keyframes spinRing { to { transform:rotate(360deg); } }
@keyframes neonPulse { 0%,100%{opacity:1} 50%{opacity:.5} }
@keyframes boostPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }

/* ── Badges ──────────────────────────────────────────────────────── */
.profile-badges { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:10px; margin-bottom:4px; }
.profile-badge {
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px;
  background: transparent !important;
  border: none !important;
  transition:transform .2s ease;
  cursor:default; position:relative;
}
.profile-badge:hover { transform:scale(1.15); }
.badge-icon { font-size:18px; line-height:1; }

/* Tooltip personalizado */
.profile-badge[title]:hover::after {
  content: attr(title);
  position:absolute; bottom:calc(100% + 6px); left:50%; transform:translateX(-50%);
  background:rgba(0,0,0,.85); color:#fff;
  font-size:11px; font-weight:600; white-space:nowrap;
  padding:3px 8px; border-radius:6px; pointer-events:none;
  letter-spacing:.3px; z-index:10;
}
.profile-badge[title]:hover::before {
  content:''; position:absolute; bottom:calc(100% + 2px); left:50%; transform:translateX(-50%);
  border:4px solid transparent; border-top-color:rgba(0,0,0,.85); pointer-events:none; z-index:10;
}

/* ── Name & bio ──────────────────────────────────────────────────── */
.profile-username { font-size:13px; font-weight:500; opacity:.6; margin-bottom:12px; letter-spacing:.5px; }
.profile-display-name { font-size:26px; font-weight:800; margin-bottom:10px; letter-spacing:-.5px; line-height:1.2; }
.profile-bio { font-size:14px; opacity:.75; line-height:1.65; margin-bottom:18px; max-width:380px; margin-left:auto; margin-right:auto; }
.profile-views {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px; font-weight: 700;
  color: #fff;
  margin: 0 auto 8px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.3px;
}

/* ── Views badge sobre el avatar ─────────────────────────────────── */
.profile-views-badge {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px; font-weight: 700;
  color: #fff;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  z-index: 10;
}
.profile-divider { width:60px; height:2px; border-radius:2px; margin:0 auto 20px; opacity:.8; }

/* ── Typewriter cursor ───────────────────────────────────────────── */
.typewriter-cursor {
  display:inline-block; width:2px; height:1em;
  background:currentColor; margin-left:2px;
  animation:blinkCursor .7s step-end infinite;
  vertical-align:text-bottom;
}
@keyframes blinkCursor { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── Links ───────────────────────────────────────────────────────── */
.profile-links { display:flex; flex-direction:column; gap:8px; margin-bottom:18px; }
.profile-link {
  display:flex; align-items:center; gap:12px;
  padding:13px 18px;
  background: transparent;
  border: none;
  border-radius:12px; font-size:14px; font-weight:500;
  text-decoration:none; color:inherit;
  transition:all .2s ease;
  position:relative; overflow:hidden;
}
.profile-link::before { display:none; }
.profile-link:hover { transform:translateY(-2px); }
.profile-link-emoji { font-size:18px; flex-shrink:0; }
.profile-link-text  { flex:1; text-align:left; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ── Footer ──────────────────────────────────────────────────────── */
.profile-footer { margin-top:24px; font-size:12px; opacity:.4; }
.profile-footer a { color:inherit; }

/* ═══════════════════════════════════════════════════════════════════
   MUSIC PLAYER — Floating Bottom Bar
   ═══════════════════════════════════════════════════════════════════ */
.music-player-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;

  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 0 14px;

  background: rgba(6, 6, 10, .88);
  backdrop-filter: blur(40px) saturate(1.6);
  -webkit-backdrop-filter: blur(40px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 14px 20px 20px 14px;

  min-width: 320px;
  max-width: 460px;
  width: calc(100vw - 48px);

  box-shadow: 0 8px 48px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.03);
  transition: all .4s cubic-bezier(.22,1,.36,1);
}
.music-player-bar.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(60px) scale(.96);
  pointer-events: none;
}
.music-player-bar:hover {
  transform: translateX(-50%) translateY(-2px);
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 12px 56px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05);
}

/* Cover / Logo */
.mp-thumb {
  grid-row: 1;
  width: 44px; height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.mp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mp-thumb-bars { display: flex; align-items: flex-end; gap: 2.5px; height: 18px; }
.mp-bar {
  width: 3px; border-radius: 2px;
  background: rgba(255,255,255,.6);
  animation: mpBarNew 1s ease-in-out infinite;
}
.mp-bar:nth-child(1) { animation-delay: 0s; opacity: .6; }
.mp-bar:nth-child(2) { animation-delay: .15s; opacity: .75; }
.mp-bar:nth-child(3) { animation-delay: .3s; opacity: .9; }
.mp-bar:nth-child(4) { animation-delay: .1s; opacity: .65; }
@keyframes mpBarNew { 0%,100% { height: 4px } 50% { height: 18px } }

.mp-autoplay-indicator {
  position: absolute; top: -2px; right: -2px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981;
  border: 2px solid rgba(6,6,10,.88);
  animation: autoDotPulse 2s ease-in-out infinite;
}
@keyframes autoDotPulse { 0%,100% { opacity:1 } 50% { opacity:.4 } }

/* Track info */
.mp-info {
  grid-row: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.mp-title {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.92);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: -.2px;
  display: flex; align-items: center; gap: 6px;
  line-height: 1.3;
}
.mp-artist {
  font-size: 11px; color: rgba(255,255,255,.35);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 400;
}

/* Controls */
.mp-controls {
  grid-row: 1;
  display: flex; align-items: center; gap: 4px;
  flex-shrink: 0;
}
.mp-btn {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.5);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: all .2s ease;
  padding: 0;
}
.mp-btn:hover { color: #fff; background: rgba(255,255,255,.07); }
.mp-btn.mp-play-btn {
  width: 34px; height: 34px;
  background: #fff;
  color: #000;
  margin-left: 4px;
}
.mp-btn.mp-play-btn:hover {
  transform: scale(1.06);
  background: #f0f0f0;
}

/* Volume */
.mp-volume-wrap {
  display: flex; align-items: center; gap: 5px;
}
.mp-vol-icon {
  color: rgba(255,255,255,.4); flex-shrink: 0; cursor: pointer;
  transition: color .2s;
}
.mp-vol-icon:hover { color: rgba(255,255,255,.8); }
input[type="range"].mp-vol {
  width: 50px; height: 3px;
  -webkit-appearance: none; appearance: none;
  background: rgba(255,255,255,.1);
  border-radius: 3px; cursor: pointer; outline: none;
}
input[type="range"].mp-vol::-webkit-slider-thumb {
  -webkit-appearance: none; width: 10px; height: 10px;
  border-radius: 50%; background: #fff; cursor: pointer;
  box-shadow: 0 0 4px rgba(0,0,0,.4);
}
input[type="range"].mp-vol::-moz-range-thumb {
  width: 10px; height: 10px; border: none;
  border-radius: 50%; background: #fff; cursor: pointer;
}

/* Time */
.mp-time {
  font-size: 10px; color: rgba(255,255,255,.3);
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
  min-width: 32px; text-align: right;
  letter-spacing: -.3px;
}

/* Progress bar */
.mp-progress-wrap {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 10px;
  height: 3px;
  position: relative;
}
.mp-progress-track {
  width: 100%; height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: 3px; overflow: hidden;
  cursor: pointer;
}
.mp-progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 3px;
  transition: width .15s linear;
  pointer-events: none;
}
input[type="range"].mp-seek {
  position: absolute; inset: -4px 0; width: 100%; height: calc(100% + 8px);
  opacity: 0; cursor: pointer; margin: 0; padding: 0;
}

@media (max-width: 480px) {
  .music-player-bar {
    min-width: 0; max-width: none;
    width: calc(100vw - 20px);
    padding: 12px 14px 16px 12px;
    border-radius: 14px;
    bottom: 10px;
    gap: 0 10px;
  }
  .mp-volume-wrap { display: none; }
  .mp-thumb { width: 38px; height: 38px; border-radius: 8px; }
}

/* ── Not found ───────────────────────────────────────────────────── */
.not-found { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; }
.not-found-inner { text-align:center; }
.not-found-icon { font-size:64px; margin-bottom:16px; }
.not-found-inner h2 { font-size:24px; font-weight:700; margin-bottom:8px; }
.not-found-inner p { color:var(--text-muted); margin-bottom:24px; }

/* ══════════════════════════════════════════════════════════════════
   ENTRY SPLASH SCREEN
   ══════════════════════════════════════════════════════════════════ */
.entry-splash {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.entry-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
}
.entry-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
  animation: entryFadeIn 0.6s ease forwards;
}
@keyframes entryFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.entry-avatar {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--entry-accent, #7c3aed);
}
.entry-avatar-placeholder {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,0.1); font-size: 40px;
  display: flex; align-items: center; justify-content: center;
}
.entry-text {
  font-size: 22px; font-weight: 700; color: #fff;
  letter-spacing: 2px; opacity: 0.9; text-align: center;
  animation: entryPulse 2s ease-in-out infinite;
}
@keyframes entryPulse { 0%,100% { opacity: 0.8; } 50% { opacity: 1; } }

.entry-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--entry-accent, #7c3aed);
  color: #fff; border: none; border-radius: 100px;
  padding: 12px 32px; font-size: 15px; font-weight: 700;
  cursor: pointer; letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.entry-btn:hover { transform: translateY(-2px) scale(1.04); }
.entry-btn:active { transform: scale(0.97); }

.entry-exit {
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════
   BG EFFECT CANVAS
   ══════════════════════════════════════════════════════════════════ */
.bg-effect-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; width: 100%; height: 100%;
}

/* ══════════════════════════════════════════════════════════════════
   VIDEO BACKGROUND
   ══════════════════════════════════════════════════════════════════ */
.profile-bg-video-wrap {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.profile-bg-video-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.38);
  z-index: 1;
}
.profile-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

/* ══════════════════════════════════════════════════════════════════
   CARD ENTRY ANIMATIONS
   ══════════════════════════════════════════════════════════════════ */
.anim-unfold {
  animation: animUnfold 0.7s cubic-bezier(.23,1,.32,1) forwards;
  transform-origin: top center;
}
@keyframes animUnfold {
  from { transform: scaleY(0.05); opacity: 0; }
  to   { transform: scaleY(1);    opacity: 1; }
}

.anim-fadein {
  animation: animFadein 0.8s ease forwards;
}
@keyframes animFadein { from { opacity: 0; } to { opacity: 1; } }

.anim-slideup {
  animation: animSlideup 0.7s cubic-bezier(.23,1,.32,1) forwards;
}
@keyframes animSlideup {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-zoomsoft {
  animation: animZoomsoft 0.6s cubic-bezier(.23,1,.32,1) forwards;
}
@keyframes animZoomsoft {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

.anim-spin3d {
  animation: animSpin3d 0.8s cubic-bezier(.23,1,.32,1) forwards;
}
@keyframes animSpin3d {
  from { opacity: 0; transform: perspective(800px) rotateY(-90deg); }
  to   { opacity: 1; transform: perspective(800px) rotateY(0deg); }
}

.anim-blur {
  animation: animBlur 0.8s ease forwards;
}
@keyframes animBlur {
  from { opacity: 0; filter: blur(20px); transform: scale(0.95); }
  to   { opacity: 1; filter: blur(0);    transform: scale(1); }
}

.anim-slidedown {
  animation: animSlidedown 0.7s cubic-bezier(.23,1,.32,1) forwards;
}
@keyframes animSlidedown {
  from { opacity: 0; transform: translateY(-60px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-slideleft {
  animation: animSlideleft 0.7s cubic-bezier(.23,1,.32,1) forwards;
}
@keyframes animSlideleft {
  from { opacity: 0; transform: translateX(80px); }
  to   { opacity: 1; transform: translateX(0); }
}

.anim-slideright {
  animation: animSlideright 0.7s cubic-bezier(.23,1,.32,1) forwards;
}
@keyframes animSlideright {
  from { opacity: 0; transform: translateX(-80px); }
  to   { opacity: 1; transform: translateX(0); }
}

.anim-zoomout {
  animation: animZoomout 0.6s cubic-bezier(.23,1,.32,1) forwards;
}
@keyframes animZoomout {
  from { opacity: 0; transform: scale(1.3); }
  to   { opacity: 1; transform: scale(1); }
}

.anim-flip {
  animation: animFlip 0.8s cubic-bezier(.23,1,.32,1) forwards;
}
@keyframes animFlip {
  from { opacity: 0; transform: perspective(800px) rotateX(-90deg); }
  to   { opacity: 1; transform: perspective(800px) rotateX(0deg); }
}

.anim-bounce {
  animation: animBounce 0.9s cubic-bezier(.23,1,.32,1) forwards;
}
@keyframes animBounce {
  0%   { opacity: 0; transform: translateY(-120px); }
  60%  { opacity: 1; transform: translateY(20px); }
  80%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.anim-elastic {
  animation: animElastic 1s cubic-bezier(.23,1,.32,1) forwards;
}
@keyframes animElastic {
  0%   { opacity: 0; transform: scale(0); }
  50%  { opacity: 1; transform: scale(1.15); }
  75%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* ── Badge images ────────────────────────────────────────────────── */
.profile-badge .badge-img {
  width: 26px; height: 26px;
  object-fit: contain;
  image-rendering: auto;
  display: block;
}
.profile-badge .badge-emoji { font-size: 18px; line-height: 1; }

/* ── Link PNG icon ───────────────────────────────────────────────── */
.profile-link-icon-img {
  width: 22px; height: 22px;
  object-fit: cover; border-radius: 5px;
  flex-shrink: 0; image-rendering: auto;
}

/* ── Location & clock ────────────────────────────────────────────── */
.profile-location {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 10px;
  opacity: 0.9;
}
.profile-location svg { flex-shrink: 0; opacity: 0.85; }
.location-sep { opacity: 0.5; font-weight: 300; }

/* ══════════════════════════════════════════════════════════════════
   TEXT EFFECTS
   ══════════════════════════════════════════════════════════════════ */

/* Pixel / LED — fuente monospace pixelada con text-shadow cuadriculado */
.text-fx-pixel {
  font-family: 'JetBrains Mono', 'Courier New', monospace !important;
  letter-spacing: 4px !important;
  text-shadow:
    1px 0 0 currentColor, -1px 0 0 currentColor,
    0 1px 0 currentColor,  0 -1px 0 currentColor !important;
}

/* Neón */
.text-fx-neon {
  text-shadow:
    0 0 4px currentColor,
    0 0 10px currentColor !important;
}

/* Glitch */
.text-fx-glitch {
  position: relative;
  animation: textGlitch 3s infinite !important;
}
@keyframes textGlitch {
  0%,94%,100% { text-shadow: none; transform: none; }
  95% { text-shadow: 2px 0 #f00, -2px 0 #0ff; transform: skewX(5deg); }
  96% { text-shadow: -2px 0 #f00, 2px 0 #0ff; transform: skewX(-5deg); }
  97% { text-shadow: 2px 2px #f0f; transform: none; }
  98% { text-shadow: -2px 0 #0ff; }
}

/* Degradado */
.text-fx-gradient {
  background: linear-gradient(135deg, #a78bfa, #60a5fa, #34d399) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

/* Fuego */
.text-fx-fire {
  background: linear-gradient(180deg, #fff700 0%, #ff8c00 40%, #ff2200 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

/* Hielo */
.text-fx-ice {
  background: linear-gradient(180deg, #ffffff 0%, #a8d8ff 50%, #60b8ff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  letter-spacing: 1px !important;
}

/* Dorado */
.text-fx-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffb800 40%, #ffe066 70%, #ffd700 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

/* Sombra */
.text-fx-shadow {
  text-shadow:
    2px 2px 0 rgba(0,0,0,.8),
    4px 4px 0 rgba(0,0,0,.5),
    6px 6px 12px rgba(0,0,0,.6) !important;
}

/* Contorno */
.text-fx-outline {
  -webkit-text-stroke: 1.5px currentColor !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  letter-spacing: 2px !important;
}

/* Difuminado */
.text-fx-blur {
  animation: textBlurPulse 3s ease-in-out infinite !important;
}
@keyframes textBlurPulse {
  0%,100% { filter: blur(2.5px); }
  50%      { filter: blur(1px); }
}

/* Rainbow animado */
.text-fx-rainbow {
  background: linear-gradient(90deg, #ff0000, #ff8800, #ffff00, #00ff00, #0088ff, #8800ff, #ff0000) !important;
  background-size: 200% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  animation: textRainbow 3s linear infinite !important;
}
@keyframes textRainbow {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
