@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --neon-cyan: #00f0ff;
  --neon-violet: #b84dff;
  --neon-magenta: #ff2d95;
  --neon-pink: #ff6eb4;
  --neon-blue: #4d79ff;
  --deep-dark: #0a0a14;
  --dark-blue: #0d1117;
  --card-bg: rgba(13, 17, 30, 0.45);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --text-primary: #e8eaed;
  --text-secondary: rgba(232, 234, 237, 0.6);
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.4), 0 0 60px rgba(0, 240, 255, 0.15);
  --glow-violet: 0 0 20px rgba(184, 77, 255, 0.4), 0 0 60px rgba(184, 77, 255, 0.15);
  --glow-magenta: 0 0 20px rgba(255, 45, 149, 0.4), 0 0 60px rgba(255, 45, 149, 0.15);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  background: var(--deep-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-city {
  background: url('assets/bg.png') center center / cover no-repeat;
  filter: brightness(0.35) saturate(1.3);
  z-index: 1;
}

.bg-overlay {
  background: linear-gradient(180deg,
      rgba(10, 10, 20, 0.5) 0%,
      rgba(10, 10, 20, 0.3) 30%,
      rgba(10, 10, 20, 0.6) 70%,
      rgba(10, 10, 20, 0.9) 100%);
  z-index: 2;
}

.bg-rain-glass {
  z-index: 3;
  backdrop-filter: blur(1px);
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(184, 77, 255, 0.03) 0%, transparent 50%);
}

.scan-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), rgba(184, 77, 255, 0.3), transparent);
  z-index: 50;
  pointer-events: none;
  opacity: 0.6;
  animation: scanDown 4s linear infinite;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.1);
}

@keyframes scanDown {
  0% {
    top: -2px;
    opacity: 0;
  }

  5% {
    opacity: 0.6;
  }

  95% {
    opacity: 0.6;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

@keyframes gridShift {
  0% {
    transform: perspective(500px) rotateX(60deg) translateY(0);
  }

  100% {
    transform: perspective(500px) rotateX(60deg) translateY(60px);
  }
}

.aurora-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.12;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 240, 255, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(184, 77, 255, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 45, 149, 0.2) 0%, transparent 50%);
  animation: auroraPulse 8s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

@keyframes auroraPulse {
  0% {
    opacity: 0.08;
    background:
      radial-gradient(ellipse at 20% 0%, rgba(0, 240, 255, 0.3) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 20%, rgba(184, 77, 255, 0.25) 0%, transparent 50%),
      radial-gradient(ellipse at 50% 80%, rgba(255, 45, 149, 0.2) 0%, transparent 50%);
  }

  50% {
    opacity: 0.15;
    background:
      radial-gradient(ellipse at 60% 10%, rgba(184, 77, 255, 0.35) 0%, transparent 50%),
      radial-gradient(ellipse at 30% 50%, rgba(0, 240, 255, 0.3) 0%, transparent 50%),
      radial-gradient(ellipse at 70% 90%, rgba(255, 45, 149, 0.25) 0%, transparent 50%);
  }

  100% {
    opacity: 0.12;
    background:
      radial-gradient(ellipse at 80% 30%, rgba(255, 45, 149, 0.3) 0%, transparent 50%),
      radial-gradient(ellipse at 20% 70%, rgba(184, 77, 255, 0.3) 0%, transparent 50%),
      radial-gradient(ellipse at 50% 10%, rgba(0, 240, 255, 0.25) 0%, transparent 50%);
  }
}

.silhouette {
  position: fixed;
  bottom: 0;
  right: -5%;
  width: 45vw;
  max-width: 500px;
  height: auto;
  opacity: 0.12;
  z-index: 3;
  pointer-events: none;
  filter: brightness(0.3) contrast(1.4);
  animation: silhouetteFloat 8s ease-in-out infinite;
}

@keyframes silhouetteFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

#rain-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.lightning-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  background: rgba(200, 220, 255, 0);
  transition: background 0.05s;
}

.lightning-flash.active {
  background: rgba(200, 220, 255, 0.12);
}

.water-droplets {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.droplet {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.05) 60%,
      transparent);
  box-shadow:
    inset 0 0 3px rgba(255, 255, 255, 0.1),
    0 0 2px rgba(0, 240, 255, 0.1);
  animation: dropletSlide linear forwards;
}

@keyframes dropletSlide {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }

  80% {
    opacity: 0.5;
  }

  100% {
    transform: translateY(120vh) scale(0.7);
    opacity: 0;
  }
}

.shockwave {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 240, 255, 0.6);
  transform: translate(-50%, -50%) scale(0);
  z-index: 9998;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), inset 0 0 20px rgba(0, 240, 255, 0.1);
}

.shockwave.active {
  animation: shockwaveExpand 1.2s ease-out forwards;
}

@keyframes shockwaveExpand {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
    border-width: 3px;
  }

  50% {
    opacity: 0.6;
    border-width: 1px;
  }

  100% {
    transform: translate(-50%, -50%) scale(80);
    opacity: 0;
    border-width: 0.5px;
  }
}

.shockwave-2 {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(184, 77, 255, 0.5);
  transform: translate(-50%, -50%) scale(0);
  z-index: 9998;
  pointer-events: none;
}

.shockwave-2.active {
  animation: shockwaveExpand 1.5s 0.15s ease-out forwards;
}

.energy-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background:
    conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0, 240, 255, 0.03) 60deg, transparent 120deg, rgba(184, 77, 255, 0.03) 180deg, transparent 240deg, rgba(255, 45, 149, 0.03) 300deg, transparent 360deg);
  animation: energyRotate 15s linear infinite;
}

.energy-field.active {
  opacity: 1;
  transition: opacity 3s ease;
}

@keyframes energyRotate {
  0% {
    transform: rotate(0deg) scale(1.5);
  }

  100% {
    transform: rotate(360deg) scale(1.5);
  }
}

.main-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px 80px;
}

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 36px;
  perspective: 600px;
}

.avatar-container {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 20px;
}

.avatar-glow {
  position: absolute;
  top: -6px;
  left: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  border-radius: 50%;
  background: conic-gradient(from 0deg,
      var(--neon-cyan),
      var(--neon-violet),
      var(--neon-magenta),
      var(--neon-cyan));
  animation: glowRotate 4s linear infinite;
  filter: blur(3px);
}

@keyframes glowRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.avatar-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 0deg,
      var(--neon-cyan),
      var(--neon-violet),
      var(--neon-magenta),
      var(--neon-cyan));
  animation: glowRotate 4s linear infinite;
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--deep-dark);
  display: block;
}

.avatar-hologram {
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.15);
  animation: hologramPulse 3s ease-in-out infinite;
  pointer-events: none;
}

.avatar-hologram::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  border-radius: 50%;
  border: 1px solid rgba(184, 77, 255, 0.08);
  animation: hologramPulse 3s 0.5s ease-in-out infinite;
}

@keyframes hologramPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.avatar-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}

.avatar-scan::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.08), transparent);
  animation: avatarScan 3s ease-in-out infinite;
}

@keyframes avatarScan {
  0% {
    top: -50%;
  }

  100% {
    top: 150%;
  }
}

.username {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.3));
  margin-bottom: 8px;
  perspective: 400px;
  position: relative;
}

.username-char {
  display: inline-block;
  will-change: transform, opacity, filter;
  position: relative;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.username-char::after {
  content: attr(data-char);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  color: var(--neon-magenta);
  -webkit-text-fill-color: var(--neon-magenta);
  filter: blur(2px);
}

.bio-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-align: center;
  max-width: 360px;
  line-height: 1.6;
  direction: rtl;
}

.bio-highlight {
  color: var(--neon-cyan);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 2px;
  direction: ltr;
  display: inline-block;
}

.skills-section {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 380px;
  margin-top: 16px;
  opacity: 0;
}

.skill-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  transition: all 0.3s var(--transition-smooth);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.skill-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.08), transparent);
  animation: skillShimmer 4s ease-in-out infinite;
}

.skill-chip:nth-child(2)::before {
  animation-delay: 0.5s;
}

.skill-chip:nth-child(3)::before {
  animation-delay: 1s;
}

.skill-chip:nth-child(4)::before {
  animation-delay: 1.5s;
}

.skill-chip:nth-child(5)::before {
  animation-delay: 2s;
}

.skill-chip:nth-child(6)::before {
  animation-delay: 2.5s;
}

.skill-chip:nth-child(7)::before {
  animation-delay: 3s;
}

.skill-chip:nth-child(8)::before {
  animation-delay: 3.5s;
}

.skill-chip:nth-child(9)::before {
  animation-delay: 4s;
}

@keyframes skillShimmer {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.skill-chip:hover {
  border-color: rgba(0, 240, 255, 0.2);
  background: rgba(0, 240, 255, 0.05);
  color: var(--neon-cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.1);
}

.skill-chip svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.skill-chip span {
  white-space: nowrap;
}

.seo-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 16px;
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 20px;
  background: rgba(0, 240, 255, 0.04);
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--neon-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  position: relative;
  overflow: hidden;
}

.seo-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 240, 255, 0.05) 30deg, transparent 60deg);
  animation: badgeRotate 6s linear infinite;
}

@keyframes badgeRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.seo-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  z-index: 1;
}

.seo-badge span {
  z-index: 1;
}

.seo-badge:hover {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.seo-proof-gallery {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
  opacity: 0;
  perspective: 1000px;
}

.proof-card {
  position: relative;
  width: 140px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.2);
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.4s var(--transition-smooth);
  cursor: zoom-in;
  transform: rotateY(-10deg);
  will-change: transform, opacity;
}

.proof-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(0, 240, 255, 0.06) 50%, transparent 60%);
  animation: cardShine 5s ease-in-out infinite;
}

@keyframes cardShine {

  0%,
  100% {
    transform: translateX(-100%) rotate(0deg);
  }

  50% {
    transform: translateX(100%) rotate(10deg);
  }
}

.proof-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.proof-card:hover {
  transform: rotateY(0deg) scale(1.25) translateY(-10px);
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.3);
  z-index: 10;
}

.proof-card:hover img {
  transform: scale(1.1);
}

.links-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  margin-bottom: 40px;
  perspective: 800px;
}

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: var(--card-bg);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  text-decoration: none;
  color: var(--text-primary);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s var(--transition-smooth);
  will-change: transform, opacity, filter;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.link-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s var(--transition-smooth);
}

.link-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transition: none;
}

.link-btn:hover::after {
  animation: btnSweep 0.8s ease forwards;
}

@keyframes btnSweep {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.link-btn[data-color="cyan"]::before {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(77, 121, 255, 0.05));
  box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.05);
}

.link-btn[data-color="violet"]::before {
  background: linear-gradient(135deg, rgba(184, 77, 255, 0.08), rgba(0, 240, 255, 0.05));
  box-shadow: inset 0 0 30px rgba(184, 77, 255, 0.05);
}

.link-btn[data-color="magenta"]::before {
  background: linear-gradient(135deg, rgba(255, 45, 149, 0.08), rgba(184, 77, 255, 0.05));
  box-shadow: inset 0 0 30px rgba(255, 45, 149, 0.05);
}

.link-btn[data-color="pink"]::before {
  background: linear-gradient(135deg, rgba(255, 110, 180, 0.08), rgba(255, 45, 149, 0.05));
  box-shadow: inset 0 0 30px rgba(255, 110, 180, 0.05);
}

.link-btn[data-color="blue"]::before {
  background: linear-gradient(135deg, rgba(77, 121, 255, 0.08), rgba(0, 240, 255, 0.05));
  box-shadow: inset 0 0 30px rgba(77, 121, 255, 0.05);
}

.link-btn:hover::before {
  opacity: 1;
}

.link-btn:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.15);
}

.link-btn[data-color="cyan"]:hover {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.link-btn[data-color="violet"]:hover {
  box-shadow: 0 0 25px rgba(184, 77, 255, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.link-btn[data-color="magenta"]:hover {
  box-shadow: 0 0 25px rgba(255, 45, 149, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.link-btn[data-color="pink"]:hover {
  box-shadow: 0 0 25px rgba(255, 110, 180, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.link-btn[data-color="blue"]:hover {
  box-shadow: 0 0 25px rgba(77, 121, 255, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.link-btn .neon-edge {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  border-radius: 16px 0 0 16px;
  transition: all 0.4s var(--transition-smooth);
}

.link-btn[data-color="cyan"] .neon-edge {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-blue));
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.link-btn[data-color="violet"] .neon-edge {
  background: linear-gradient(180deg, var(--neon-violet), var(--neon-cyan));
  box-shadow: 0 0 10px rgba(184, 77, 255, 0.5);
}

.link-btn[data-color="magenta"] .neon-edge {
  background: linear-gradient(180deg, var(--neon-magenta), var(--neon-violet));
  box-shadow: 0 0 10px rgba(255, 45, 149, 0.5);
}

.link-btn[data-color="pink"] .neon-edge {
  background: linear-gradient(180deg, var(--neon-pink), var(--neon-magenta));
  box-shadow: 0 0 10px rgba(255, 110, 180, 0.5);
}

.link-btn[data-color="blue"] .neon-edge {
  background: linear-gradient(180deg, var(--neon-blue), var(--neon-violet));
  box-shadow: 0 0 10px rgba(77, 121, 255, 0.5);
}

.link-btn:hover .neon-edge {
  width: 4px;
}

.energy-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  pointer-events: none;
  z-index: 2;
}

.link-btn[data-color="cyan"] .energy-line {
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.link-btn[data-color="violet"] .energy-line {
  background: linear-gradient(90deg, var(--neon-violet), transparent);
  box-shadow: 0 0 8px var(--neon-violet);
}

.link-btn[data-color="magenta"] .energy-line {
  background: linear-gradient(90deg, var(--neon-magenta), transparent);
  box-shadow: 0 0 8px var(--neon-magenta);
}

.link-btn[data-color="pink"] .energy-line {
  background: linear-gradient(90deg, var(--neon-pink), transparent);
  box-shadow: 0 0 8px var(--neon-pink);
}

.link-btn[data-color="blue"] .energy-line {
  background: linear-gradient(90deg, var(--neon-blue), transparent);
  box-shadow: 0 0 8px var(--neon-blue);
}

.link-btn:hover .energy-line {
  animation: energyCharge 0.6s ease forwards;
}

@keyframes energyCharge {
  0% {
    width: 0;
    opacity: 1;
  }

  70% {
    width: 100%;
    opacity: 1;
  }

  100% {
    width: 100%;
    opacity: 0;
  }
}

.link-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.link-btn .btn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.link-btn .btn-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.link-btn[data-color="cyan"] .btn-icon {
  color: var(--neon-cyan);
}

.link-btn[data-color="violet"] .btn-icon {
  color: var(--neon-violet);
}

.link-btn[data-color="magenta"] .btn-icon {
  color: var(--neon-magenta);
}

.link-btn[data-color="pink"] .btn-icon {
  color: var(--neon-pink);
}

.link-btn[data-color="blue"] .btn-icon {
  color: var(--neon-blue);
}

.link-btn .btn-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  z-index: 1;
  flex: 1;
}

.link-btn .btn-arrow {
  z-index: 1;
  opacity: 0.3;
  transition: all 0.4s var(--transition-smooth);
  flex-shrink: 0;
}

.link-btn:hover .btn-arrow {
  opacity: 0.8;
  transform: translateX(3px);
}

.controls-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 420px;
  width: 100%;
  will-change: transform, opacity;
}

.ctrl-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
  user-select: none;
  position: relative;
  overflow: hidden;
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.ctrl-btn.active {
  border-color: rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.ctrl-btn.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.05), transparent);
  animation: ctrlGlow 2s linear infinite;
}

@keyframes ctrlGlow {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.ctrl-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.music-widget {
  max-width: 420px;
  width: 100%;
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  will-change: transform, opacity;
}

.music-widget.visible {
  opacity: 1;
}

.music-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.music-visualizer .bar {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-violet));
  animation: none;
  height: 4px;
  transition: height 0.3s;
}

.music-visualizer.playing .bar {
  animation: musicBar 0.8s ease-in-out infinite alternate;
}

.music-visualizer .bar:nth-child(1) {
  animation-delay: 0s;
}

.music-visualizer .bar:nth-child(2) {
  animation-delay: 0.15s;
}

.music-visualizer .bar:nth-child(3) {
  animation-delay: 0.3s;
}

.music-visualizer .bar:nth-child(4) {
  animation-delay: 0.1s;
}

.music-visualizer .bar:nth-child(5) {
  animation-delay: 0.25s;
}

@keyframes musicBar {
  0% {
    height: 4px;
  }

  100% {
    height: 22px;
  }
}

.music-info {
  flex: 1;
}

.music-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.music-artist {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.music-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.08);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
}

.music-play-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.music-play-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.whatsapp-section {
  position: relative;
  max-width: 420px;
  width: 100%;
  margin-top: 40px;
  margin-bottom: 10px;
  padding: 30px 24px;
  border: 1px solid rgba(37, 211, 102, 0.15);
  border-radius: 20px;
  background: rgba(13, 17, 30, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  will-change: transform, opacity;
}

.wa-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(37, 211, 102, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: waGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes waGlowPulse {
  0% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
}

.wa-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wa-icon-wrap::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, 0.1);
  animation: waRingPulse 2.5s ease-in-out infinite;
}

@keyframes waRingPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.wa-icon {
  width: 26px;
  height: 26px;
  fill: #25D366;
  filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.4));
}

.wa-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 1px;
  direction: rtl;
}

.wa-subtitle {
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -6px;
}

.wa-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(37, 211, 102, 0.04));
  color: #25D366;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  direction: rtl;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
  margin-top: 4px;
}

.wa-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.08), transparent);
  animation: waBtnShimmer 3s ease-in-out infinite;
}

@keyframes waBtnShimmer {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.wa-btn:hover {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.08));
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px) scale(1.03);
}

.wa-btn-icon {
  width: 20px;
  height: 20px;
  fill: #25D366;
  flex-shrink: 0;
}

.wa-arrow {
  opacity: 0.4;
  transition: all 0.4s var(--transition-smooth);
  flex-shrink: 0;
  transform: rotate(180deg);
}

.wa-btn:hover .wa-arrow {
  opacity: 0.8;
  transform: rotate(180deg) translateX(3px);
}

.footer {
  margin-top: 40px;
  text-align: center;
  will-change: transform, opacity;
}

.footer-text {
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatUI {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.float-motion {
  animation: floatUI 6s ease-in-out infinite;
}

.data-stream {
  position: fixed;
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  color: rgba(0, 240, 255, 0.12);
  writing-mode: vertical-rl;
  pointer-events: none;
  z-index: 3;
  letter-spacing: 4px;
  animation: dataStreamFlow linear forwards;
  white-space: nowrap;
}

@keyframes dataStreamFlow {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

#cursor-trail {
  position: fixed;
  pointer-events: none;
  z-index: 51;
}

.trail-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 6px var(--neon-cyan);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 240, 255, 0.4);
}

@media (max-width: 480px) {
  .main-container {
    padding: 30px 16px 60px;
  }

  .avatar-container {
    width: 110px;
    height: 110px;
  }

  .username {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }

  .bio-text {
    font-size: 0.9rem;
  }

  .link-btn {
    padding: 14px 18px;
    gap: 12px;
  }

  .link-btn .btn-text {
    font-size: 0.95rem;
  }

  .silhouette {
    width: 60vw;
    opacity: 0.08;
  }

  .controls-bar {
    gap: 8px;
  }

  .ctrl-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

@media (min-width: 768px) {
  .main-container {
    padding: 60px 20px 100px;
  }

  .avatar-container {
    width: 150px;
    height: 150px;
  }

  .username {
    font-size: 2.2rem;
  }

  .links-container {
    max-width: 460px;
  }
}

@media (min-width: 1200px) {
  .silhouette {
    right: 5%;
    width: 35vw;
    opacity: 0.15;
  }
}

body.calm-mode .bg-city {
  filter: brightness(0.5) saturate(1.1);
}

body.calm-mode .bg-overlay {
  background: linear-gradient(180deg,
      rgba(10, 10, 20, 0.3) 0%,
      rgba(10, 10, 20, 0.2) 30%,
      rgba(10, 10, 20, 0.4) 70%,
      rgba(10, 10, 20, 0.7) 100%);
}

body.calm-mode .scan-line {
  display: none;
}

body.calm-mode .cyber-grid {
  opacity: 0;
}

body.calm-mode .aurora-overlay {
  opacity: 0.05;
}

body.calm-mode .energy-field {
  opacity: 0 !important;
}

#entry-portal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 1.5s var(--transition-smooth), visibility 1.5s;
}

#entry-portal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#entry-portal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
  z-index: 2;
}

#entry-portal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
  z-index: 1;
  animation: portalVignette 3s ease-in-out infinite alternate;
}

@keyframes portalVignette {
  0% {
    background: radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.8) 100%);
  }

  100% {
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
  }
}

.portal-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.portal-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--neon-cyan);
  position: relative;
  animation: portalLogoPulse 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3), 0 0 60px rgba(0, 240, 255, 0.1);
}

.portal-logo::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 240, 255, 0.15) 90deg, transparent 180deg);
  animation: portalLogoSpin 3s linear infinite;
}

@keyframes portalLogoSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes portalLogoPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3), 0 0 60px rgba(0, 240, 255, 0.1);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.5), 0 0 80px rgba(0, 240, 255, 0.2);
  }
}

.portal-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.3);
  filter: drop-shadow(0 0 15px var(--neon-cyan));
  position: relative;
  z-index: 1;
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 0 15px var(--neon-cyan));
  }

  50% {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 25px var(--neon-cyan));
  }
}

.portal-terminal {
  width: 260px;
}

.terminal-text {
  font-family: 'Orbitron', monospace;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.loading-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.loading-progress {
  width: 100%;
  height: 100%;
  background: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan);
  transform: translateX(-100%);
  animation: loadProgress 3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes loadProgress {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(-30%);
  }

  100% {
    transform: translateX(0%);
  }
}

.btn-enter {
  background: transparent;
  border: 1px solid var(--neon-cyan);
  padding: 14px 40px;
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  letter-spacing: 4px;
  color: var(--neon-cyan);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: revealBtn 0.5s 0.5s forwards;
}

@keyframes revealBtn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-enter::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-enter:hover::before {
  left: 100%;
}

.btn-enter:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 60px rgba(0, 240, 255, 0.1);
  text-shadow: 0 0 10px var(--neon-cyan);
  letter-spacing: 6px;
}

.btn-enter::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 1px solid transparent;
  animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {

  0%,
  100% {
    border-color: rgba(0, 240, 255, 0.3);
  }

  50% {
    border-color: rgba(184, 77, 255, 0.3);
  }
}

.main-container {
  visibility: hidden;
}

.main-container.visible {
  visibility: visible;
}

.glitch-block {
  position: fixed;
  z-index: 9997;
  pointer-events: none;
  mix-blend-mode: screen;
}