/* --------------------------------------------------
   Basic Layout & Reset
   -------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(120deg, #001f3f, #0f0f4b, #2d0f4b);
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
}
.container {
  max-width: 900px;
  width: 100%;
}

/* --------------------------------------------------
   Headline – glitchy neon effect
   -------------------------------------------------- */
h1 {
  font-size: 4rem;
  position: relative;
  color: #fff;
  text-shadow:
    0 0 5px #00ffcc,
    0 0 10px #00ffcc;
  margin-bottom: 0.5rem;
}
h1::before,
h1::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #ff00ff;
  opacity: 0.8;
  clip-path: inset(0 0 0 0);
}
h1::before {
  animation: glitch-anim 3s infinite linear alternate-reverse;
}
h1::after {
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    clip-path: inset(0 0 0 0);
    transform: translate(0);
  }
  20% {
    clip-path: inset(10% 0 5% 0);
    transform: translate(-2px, -2px);
  }
  40% {
    clip-path: inset(5% 0 15% 0);
    transform: translate(2px, 2px);
  }
  60% {
    clip-path: inset(15% 0 10% 0);
    transform: translate(-3px, 3px);
  }
  80% {
    clip-path: inset(8% 0 12% 0);
    transform: translate(3px, -3px);
  }
  100% {
    clip-path: inset(0 0 0 0);
    transform: translate(0);
  }
}
@keyframes glitch-anim2 {
  0% {
    clip-path: inset(0 0 0 0);
    transform: translate(0);
  }
  25% {
    clip-path: inset(20% 0 5% 0);
    transform: translate(-4px, 4px);
  }
  50% {
    clip-path: inset(10% 0 20% 0);
    transform: translate(4px, -4px);
  }
  75% {
    clip-path: inset(5% 0 15% 0);
    transform: translate(-2px, 2px);
  }
  100% {
    clip-path: inset(0 0 0 0);
    transform: translate(0);
  }
}

/* Tagline below headline */
.tagline {
  font-family: 'Press Start 2P', monospace;
  font-size: 1rem;
  color: #00ffcc;
  text-shadow: 0 0 5px #00ffcc;
  margin-bottom: 2rem;
}

/* --------------------------------------------------
   About / Profile Section
   -------------------------------------------------- */
.about {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}
.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1.5rem;
  box-shadow:
    0 0 10px #00ffcc,
    0 0 20px #ff00ff;
}
.about p {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
}

/* --------------------------------------------------
   Sections
   -------------------------------------------------- */
section {
  margin-bottom: 2rem;
}
section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #ff00ff;
  text-shadow: 0 0 5px #ff00ff;
}
section ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
section li {
  background: #001f3f;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  color: #00ffcc;
  font-size: 0.9rem;
  box-shadow: 0 0 5px #00ffcc;
}
section p:not(:last-child) {
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------
   Mobile Adaptation
   -------------------------------------------------- */
@media (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }
  .profile-img {
    width: 120px;
    height: 120px;
  }
}
