body {
  margin: 0; min-height: 100vh;
  background: #111216;
  font-family: 'Poppins', 'Montserrat', 'Inter', sans-serif;
  font-weight: 400;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.bg-video {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  object-fit: cover;
  filter: brightness(0.37) blur(0.6px);
  z-index: 0; pointer-events: none;
  opacity: 0;
  animation: fadeInVideo 1.5s ease-out 0.5s forwards;
}

@keyframes fadeInVideo {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Bio card entrance animation */
.bio-card {
  position: relative; z-index: 2;
  width: 410px; max-width: 98vw;
  background: rgba(10,10,12,0.97);
  border-radius: 20px;
  padding: 38px 0 34px;
  border: 2.8px solid #fff2;
  box-shadow: 0 0 44px 14px #fff1, 0 0px 0px #111;
  margin-top: 36px;
  
  /* Entrance animation */
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: bioCardEntrance 1.2s ease-out 1s forwards;
}

@keyframes bioCardEntrance {
  0% { 
    opacity: 0; 
    transform: translateY(30px) scale(0.95); 
  }
  60% { 
    opacity: 0.8; 
    transform: translateY(-5px) scale(1.02); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

.bio-view {
  position: absolute; top: 16px; left: 22px;
  color: #fff9; font-size: 1.09rem;
  letter-spacing: 1.3px;
  opacity: 0;
  animation: slideInLeft 1s ease-out 1.5s forwards;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.avatar-border {
  position: relative;
  width: 148px; height: 148px;
  margin: -74px auto 14px auto;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  
  /* Avatar entrance */
  opacity: 0;
  transform: translateY(-20px) scale(0.8);
  animation: avatarEntrance 1s ease-out 1.2s forwards;
}

@keyframes avatarEntrance {
  0% { 
    opacity: 0; 
    transform: translateY(-20px) scale(0.8); 
  }
  70% { 
    opacity: 0.9; 
    transform: translateY(5px) scale(1.1); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

.avatar {
  width: 132px; height: 132px;
  border-radius: 50%;
  border: 6px solid #e84343;
  object-fit: cover;
  background: #000;
  box-shadow: 0 0 60px 18px #fff, 0 0 0 14px #141216;
  transition: box-shadow .23s, transform .16s;
  
  /* Delay animations until after entrance */
  animation: borderRainbow 4.5s linear infinite 2.5s, pulse 1.3s infinite alternate 2.5s;
}

.avatar-border:hover .avatar {
  box-shadow: 0 0 98px 35px #fff, 0 0 0 17px #e8434350;
  transform: scale(1.06) rotate(-2deg);
}

@keyframes borderRainbow {
  0% { box-shadow: 0 0 60px 16px #ff0044, 0 0 0 12px #141216; border-color: #ff0044; }
  22% { box-shadow: 0 0 74px 19px #e84343, 0 0 0 12px #141216; border-color: #e84343;}
  50% { box-shadow: 0 0 88px 22px #1ed760, 0 0 0 12px #141216; border-color: #1ed760;}
  78% { box-shadow: 0 0 80px 19px #00e1ff, 0 0 0 12px #141216; border-color: #00e1ff;}
  100% { box-shadow: 0 0 60px 16px #ff0044, 0 0 0 12px #141216; border-color: #ff0044;}
}

@keyframes pulse {
  from { filter: brightness(1.12);}
  to   { filter: brightness(1.0) drop-shadow(0 0 12px #fff);}
}

.status-green {
  position: absolute;
  right: 8px; bottom: 17px;
  width: 36px; height: 36px;
  background: #1ed760;
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 24px 7px #19f484bb;
  z-index: 3;
  
  /* Status entrance */
  opacity: 0;
  transform: scale(0);
  animation: statusPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.8s forwards;
}

@keyframes statusPop {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

.emoji-random {
  position: absolute; left: -20px; top: -15px;
  font-size: 2.2rem; pointer-events: none; 
  filter: drop-shadow(0 0 10px #fff9);
  
  /* Emoji bounce */
  opacity: 0;
  transform: scale(0) rotate(-180deg);
  animation: emojiBounce 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) 2s forwards;
}

@keyframes emojiBounce {
  0% { opacity: 0; transform: scale(0) rotate(-180deg); }
  80% { opacity: 1; transform: scale(1.2) rotate(10deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.card-time {
  color: #fff8; font-size: 0.97rem;
  text-align: center; letter-spacing: 0.3px;
  margin-bottom: 2px; margin-top: 3px;
  user-select: none;
  
  /* Time fade in */
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 1.6s forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nameEntrance {
  0% { opacity: 0; transform: translateY(15px) scale(0.9); }
  70% { opacity: 0.8; transform: translateY(-3px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.bio-social {
  display: flex; justify-content: center;
  gap: 36px; margin-bottom: 28px; margin-top: 18px;
  position: relative;
}

.bio-social a {
  width: 70px; height: 70px;
  background: #18181b;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 22px 4px #fff4, 0 2px 10px #0004;
  border: 3.5px solid #fff;
  position: relative;
  transition: transform .15s, box-shadow .17s, background .19s;
  cursor: pointer;
  overflow: hidden;
  
  /* Social icons staggered entrance */
  opacity: 0;
  transform: translateY(20px) scale(0.8);
}

.bio-social a:nth-child(1) { animation: socialPop 0.6s ease-out 1.8s forwards; }
.bio-social a:nth-child(2) { animation: socialPop 0.6s ease-out 2s forwards; }
.bio-social a:nth-child(3) { animation: socialPop 0.6s ease-out 2.2s forwards; }

@keyframes socialPop {
  0% { opacity: 0; transform: translateY(20px) scale(0.8); }
  70% { opacity: 0.9; transform: translateY(-5px) scale(1.1); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.bio-social img {
  width: 38px; height: 38px;
  filter: brightness(0) invert(1) drop-shadow(0 0 20px #fff);
  z-index: 2;
}

.bio-social a:hover {
  background: #fff;
  transform: scale(1.19) rotate(-6deg);
  box-shadow: 0 0 60px 18px #fff, 0 2px 18px #1ed76099;
}

.bio-social a:hover img {
  filter: none;
}

.social-shine:after {
  content: "";
  display: block;
  position: absolute;
  top: -65%; left: -65%; width: 230%; height: 230%;
  background: linear-gradient(135deg,rgba(255,255,255,.11) 20%,rgba(255,255,255,0.7) 38%,rgba(255,255,255,0) 60%);
  transform: rotate(-18deg) translate(-30px,-30px);
  pointer-events: none;
  transition: opacity .25s;
  opacity: 0;
}

.social-shine:hover:after {
  opacity: 1;
  animation: shine-move 1s cubic-bezier(.59,.06,.54,.94);
}

@keyframes shine-move {
  from {left: -80%;}
  to   {left: 110%;}
}

/* Tooltip */
.bio-social a[data-tooltip]:hover:before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 68px; left: 50%; transform: translateX(-50%);
  background: #111; color: #fff;
  font-size: 0.93rem; padding: 4px 14px; border-radius: 8px;
  white-space: nowrap; z-index: 7; box-shadow: 0 2px 18px #000a;
  opacity: 1; pointer-events: none;
}

.bio-divider {
  height: 2.6px; margin: 24px 36px 28px 36px;
  background: linear-gradient(90deg,#fff1,#fff9,#fff1);
  border-radius: 1.2px;
  
  /* Divider animation */
  opacity: 0;
  transform: scaleX(0);
  animation: dividerGrow 1s ease-out 2.4s forwards;
}

@keyframes dividerGrow {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

.bio-section.center {
  display: flex; justify-content: center;
}

.bio-link-btn.big-btn {
  padding: 19px 54px;
  background: #fff;
  color: #181621;
  font-weight: 900; font-size: 1.28rem;
  border-radius: 15px;
  box-shadow: 0 0 30px 6px #fff8;
  border: none;
  transition: box-shadow .13s, background .13s, color .13s, transform .17s;
  text-decoration: none;
  margin-top: 6px;
  position: relative; overflow: hidden;
  outline: none;
  
  /* Button entrance */
  opacity: 0;
  transform: translateY(25px) scale(0.9);
  animation: buttonEntrance 1s ease-out 2.6s forwards;
}

@keyframes buttonEntrance {
  0% { opacity: 0; transform: translateY(25px) scale(0.9); }
  60% { opacity: 0.8; transform: translateY(-3px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.bio-link-btn.big-btn:hover {
  background: #181621;
  color: #fff;
  box-shadow: 0 0 60px 22px #fff;
  transform: scale(1.08) rotate(-2deg);
}

.ripple-shake:active {
  animation: ripple 0.4s linear, shake 0.37s cubic-bezier(.36,.07,.19,.97);
}

@keyframes ripple {
  0% { box-shadow: 0 0 60px 5px #fff7;}
  70% { box-shadow: 0 0 34px 16px #fff2;}
  100% { box-shadow: 0 0 16px 2px #fff5;}
}

@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

@media (max-width: 600px) {
  .bio-card { width: 99vw; padding: 3vw 0; }
  .bio-link-btn.big-btn { width: 94vw; font-size: 1.05rem; }
  .avatar-border { width: 104px; height: 104px;}
  .avatar { width: 80px; height: 80px;}
  .status-green { width: 16px; height: 16px; right: 1px; bottom: 5px;}
  .bio-social a { width: 44px; height: 44px;}
  .bio-social img { width: 25px; height: 25px;}
}

#overlay-blur {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(10, 10, 15, 0.80);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(16px) brightness(0.96);
  transition: opacity 0.5s;
}

#overlay-inner {
  text-align: center;
  animation: fadein 1.2s;
}

@keyframes fadein {
  from { opacity: 0; transform: scale(0.7);}
  50% { opacity: 0.5; transform: scale(1.1);}
  to { opacity: 1; transform: scale(1);}
}

#overlay-text {
  font-family: 'Inter', 'Montserrat', 'Poppins', sans-serif;
  font-size: 2.7rem;
  color: #fff;
  background: linear-gradient(90deg, #ff0044, #1ed760, #00e1ff, #fff 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  letter-spacing: 3px;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s, transform 0.7s;
  text-shadow: 0 0 30px #fff7;
  user-select: none;
}

#overlay-text.show {
  opacity: 1;
  transform: scale(1.07);
  animation: pulseText 1.2s infinite alternate;
}

@keyframes pulseText {
  from { text-shadow: 0 0 25px #fff7; }
  to   { text-shadow: 0 0 50px #1ed760; }
}
/* ZEUS NAME - EPIC RED BLACK GRADIENT + SPARKLES */
.name-container {
  position: relative;
  text-align: center;
  margin-bottom: 5px;
  margin-top: 3px;
  
  /* Name entrance */
  opacity: 0;
  transform: translateY(15px) scale(0.9);
  animation: nameEntrance 1s ease-out 1.4s forwards;
}

.gradient-text {
  background: linear-gradient(90deg, #fff, #1ed760, #fff 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 4px;
  line-height: 1.08;
  position: relative;
  text-align: center;
  margin-bottom: 8px;
  margin-top: 3px;
  /* Glow cyan + viền đen */
  text-shadow:
    0 0 2px #fff,
    0 0 10px #00eaff,
    0 0 20px #00eaff,
    0 2px 10px #001a22;
  /* Nếu muốn glow đỏ như avatar thì mở comment dòng dưới */
  /* filter: drop-shadow(0 0 10px #ff0000aa) drop-shadow(0 0 20px #ff000066) drop-shadow(0 0 35px #ff000033); */
  /* Animation nếu muốn */
  animation: gradientShift 3s ease-in-out infinite alternate,
             nameEntrance 1s ease-out 1.4s forwards;
  opacity: 0;
  transform: translateY(15px) scale(0.9);
}

@keyframes gradientShift {
  0% { 
    background-position: 0% 50%;
    filter: drop-shadow(0 0 10px #ff0000aa) 
            drop-shadow(0 0 20px #ff000066) 
            drop-shadow(0 0 35px #ff000033);
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 15px #cc0000aa) 
            drop-shadow(0 0 30px #cc000066) 
            drop-shadow(0 0 50px #cc000033);
  }
  100% { 
    background-position: 200% 50%;
    filter: drop-shadow(0 0 20px #ff0000aa) 
            drop-shadow(0 0 40px #ff000066) 
            drop-shadow(0 0 60px #ff000033);
  }
}

@keyframes textGlow {
  from { 
    text-shadow: 0 0 20px #ff000080, 0 0 40px #ff000050, 0 0 60px #ff000030;
  }
  to { 
    text-shadow: 0 0 30px #ff000080, 0 0 60px #ff000050, 0 0 90px #ff000030;
  }
}

/* SPARKLE PARTICLES AROUND NAME */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 6px #fff, 0 0 12px #fff;
}

.sparkle:nth-child(1) {
  top: 10%;
  left: 15%;
  animation: sparkle1 2s ease-in-out infinite;
}

.sparkle:nth-child(2) {
  top: 20%;
  left: 85%;
  animation: sparkle2 2.2s ease-in-out infinite 0.3s;
}

.sparkle:nth-child(3) {
  top: 60%;
  left: 10%;
  animation: sparkle3 1.8s ease-in-out infinite 0.6s;
}

.sparkle:nth-child(4) {
  top: 70%;
  left: 90%;
  animation: sparkle4 2.1s ease-in-out infinite 0.9s;
}

.sparkle:nth-child(5) {
  top: 40%;
  left: 5%;
  animation: sparkle5 1.9s ease-in-out infinite 1.2s;
}

.sparkle:nth-child(6) {
  top: 30%;
  left: 95%;
  animation: sparkle6 2.3s ease-in-out infinite 1.5s;
}

.sparkle:nth-child(7) {
  top: 80%;
  left: 20%;
  animation: sparkle7 2s ease-in-out infinite 1.8s;
}

.sparkle:nth-child(8) {
  top: 15%;
  left: 80%;
  animation: sparkle8 1.7s ease-in-out infinite 2.1s;
}

@keyframes sparkle1 {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

@keyframes sparkle2 {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 0.8; transform: scale(1.2) rotate(-180deg); }
}

@keyframes sparkle3 {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 0.9; transform: scale(0.8) rotate(90deg); }
}

@keyframes sparkle4 {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(-90deg); }
}

@keyframes sparkle5 {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 0.7; transform: scale(1.3) rotate(270deg); }
}

@keyframes sparkle6 {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 0.9; transform: scale(0.9) rotate(-270deg); }
}

@keyframes sparkle7 {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(360deg); }
}

@keyframes sparkle8 {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 0.8; transform: scale(1.4) rotate(-360deg); }
}

/* BIO DESCRIPTION */
.bio-description {
  color: #fff9;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.6;
  margin: 8px 25px 15px 25px;
  letter-spacing: 0.5px;
  font-weight: 400;
  
  opacity: 0;
  transform: translateY(10px);
  animation: descriptionFade 1s ease-out 1.7s forwards;
}

@keyframes descriptionFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.bio-description .highlight {
  background: linear-gradient(90deg, #ff0000, #cc0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  text-shadow: 0 0 10px #ff000050;
}
