@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Share Tech Mono', monospace;
}

body {
  background: #050505;
  color: #00ff88;
  padding: 40px;
  overflow-x: hidden;
}

.scanlines {
  position: fixed;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(218, 241, 7, 0.03),
    rgba(146, 77, 77, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 999;
}
.description1 {
  animation: typing 10s steps(40, end) ;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #00ff88;
}

@keyframes typing {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 100%; }
}
.description {
  animation: typing 3s steps(40, end) infinite;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #00ff88;
}

@keyframes typing {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 100%; }
}
.hero {
  text-align: center;
  margin-bottom: 80px;
}

.tagline {
  margin-top: 10px;
  font-size: 18px;
  opacity: 0.8;
}

.glitch {
  font-size: 70px;
  position: left;
  color: #0ff81a8f;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
}
.animated-img {
  animation: slideIn 5s infinite;
}

@keyframes slideIn {
  from { 
    opacity: 05;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}
.glitch::before {
  color: #f11093;
  animation: glitch 2s infinite;
}

.glitch::after {
  color: #00ffff;
  animation: glitch 1.5s infinite;
}

@keyframes glitch {
  0% { clip-path: inset(0 0 80% 0); }
  50% { clip-path: inset(40% 0 20% 0); }
  100% { clip-path: inset(80% 0 0 0); }
}

.terminal {
  background: #000;
  border: 1px solid #00ff88;
  padding: 20px;
  width: fit-content;
  margin: 30px auto;
  box-shadow: 0 0 20px #00ff88;
}

section {
  margin-bottom: 60px;
}

h2 {
  margin-bottom: 15px;
  text-shadow: 0 0 10px #00ff88;
}

.profile-img {
  animation:infinite 0.2s;
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); }
  60% { transform: translate(-1px, -1px); }
  80% { transform: translate(1px, 1px); }
  100% { transform: translate(0); }
}

.skills ul {
  list-style: none;
}

.skills li::before {
  content: "▸ ";
  color: #00ffaa;
}

.contact p {
  margin-bottom: 8px;
}

.about {
  background: rgba(0, 255, 136, 0.02);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 8px;
  padding: 60px;
  margin-bottom: 80px;
}

.about-container {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  flex: 0 0 350px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid #00ff88;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
  transition: all 0.3s ease;
}

.about-image img:hover {
  box-shadow: 0 0 50px rgba(0, 255, 136, 0.7);
}

.about-content {
  flex: 1;
}

.about-title {
  font-size: 48px;
  margin-bottom: 10px;
  text-shadow: 0 0 20px #00ff88;
  letter-spacing: 2px;
}

.about-subtitle {
  font-size: 18px;
  color: #00ffaa;
  margin-bottom: 20px;
  opacity: 0.9;
  font-weight: bold;
}

.about-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, #00ff88, transparent);
  margin-bottom: 25px;
}

.about-content .description1 {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.85;
}

.description {
  animation: typing 5s steps(40, end);
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #00ff88;
  min-height: 1.2em;
}

.terminal .description:nth-child(1) {
  animation-delay: 0s;
}

.terminal .description:nth-child(2) {
  animation-delay: 2.5s;
}

.terminal .description:nth-child(3) {
  animation-delay: 5s;
}

.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #050505;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.splash-container {
  text-align: center;
  max-width: 600px;
}

.splash-text {
  font-size: 20px;
  font-family: 'Share Tech Mono', monospace;
  color: #00ff88;
  text-shadow: 0 0 10px #00ff88;
  margin-bottom: 50px;
}

.splash-line {
  margin: 15px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: left;
  letter-spacing: 2px;
}

.splash-line .text {
  color: #00ff88;
}

.splash-line .dots {
  display: inline-block;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 20% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

.splash-progress-bar {
  width: 200px;
  height: 2px;
  background: rgba(0, 255, 136, 0.2);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, #00ff88, #00ffff);
  width: 0%;
  box-shadow: 0 0 10px #00ff88;
  transition: width 0.2s ease;
}

.splash-screen.fade-out {
  animation: fadeOut 0.8s ease forwards;
}

.main-content.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.energy-wrap {
  position: relative;
  display: inline-block;
  margin-top: 30px;
}

.energy-wrap::before {
  content: "";
  position: absolute;
  inset: -35px;
  border-radius: 50%;

  background:
    radial-gradient(circle at 30% 30%, rgba(0,255,156,0.35), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(0,255,156,0.25), transparent 65%),
    radial-gradient(circle at 50% 50%, rgba(0,255,156,0.2), transparent 70%);

  filter: blur(25px);
  opacity: 0.6;
  z-index: 0;

  animation: cloudPulse 6s ease-in-out infinite;
}

.energy-wrap::after {
  content: "";
  position: absolute;
  inset: -45px;
  border-radius: 50%;

  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(0,255,156,0.25) 0deg 8deg,
      transparent 8deg 20deg
    );

  mask-image: radial-gradient(circle, transparent 45%, black 60%);
  -webkit-mask-image: radial-gradient(circle, transparent 45%, black 60%);

  opacity: 0.35;
  z-index: 1;

  animation: energySpin 12s linear infinite;
}
.energy-wrap {
  position: relative;
  display: inline-block;
  margin-top: 30px;

  opacity: 0;
  transform: scale(0.3) translateY(40px);
  animation: popOut 0.9s cubic-bezier(.17,.67,.32,1.3) forwards;
  animation-delay: 0.6s;
}
