* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; color: white; background: #0a0a0a; }

/* Navigation */
nav {
  background: rgba(0,0,0,0.6);
  padding: 10px;
  text-align: center;
}
nav a {
  color: #00fff2;
  margin: 0 15px;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}

header {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
h1 { font-family: 'Orbitron', sans-serif; font-size: 3rem; margin-top: 15px; }
h2 { color: #00fff2; margin-top: 10px; }

section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
}
.project {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
input, textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
}
button {
  background: #00fff2;
  color: black;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
canvas#bg {
  position: fixed;   /* stays put, covers the entire background */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;       /* behind all content */
}

footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #777;
  margin-top: 40px;
}

/* Fade Animation */
body.fade {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
body.fade.show {
  opacity: 1;
}

/* Typewriter Effect */
#typewriter {
  border-right: 2px solid #00fff2;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}
/* Skills Grid */
#skills {
  text-align: center;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.skill-card {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}
.skill-card:hover {
  transform: translateY(-5px);
  background: rgba(0,255,242,0.1);
}
.skill-card i {
  font-size: 40px;
  margin-bottom: 10px;
}
.skill-card p {
  margin: 0;
  font-size: 1rem;
}

/* Core Competencies Section */
#core-competencies {
  margin-top: 40px;
  background: rgba(255,255,255,0.03);
  padding: 30px;
  border-radius: 8px;
}

#core-competencies h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #00fff2;
}

.competencies-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

.competencies-list li {
  margin: 10px 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.competencies-list li::before {
  content: "•";
  color: #00fff2;
  margin-right: 10px;
  font-size: 1.2rem;
}



/* Achievements */
#achievements {
  text-align: center;
}
.achievements-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
}
.achievement-card {
  background: rgba(0,255,242,0.1);
  padding: 10px 15px;
  border-radius: 5px;
}

/* Blog Preview */
#blog-preview {
  text-align: center;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.blog-card {
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border-radius: 8px;
}
.blog-card a {
  color: #00fff2;
  text-decoration: none;
}

/* CTA */
#cta {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(90deg, #00fff2, #007a7a);
  color: black;
}
.cta-btn {
  display: inline-block;
  background: black;
  color: #00fff2;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;
}

.glitch-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  color: #00fff2;
  text-shadow: 0 0 5px #00fff2, 0 0 15px #00fff2, 0 0 30px #00fff2;
  position: relative;
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0% { text-shadow: 2px 2px red; }
  20% { text-shadow: -2px -2px blue; }
  40% { text-shadow: 2px -2px green; }
  60% { text-shadow: -2px 2px yellow; }
  80% { text-shadow: 0px 0px #00fff2; }
  100% { text-shadow: 2px 2px red; }
}

.real-name {
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  color: #ccc;
  margin-top: -10px;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 1s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}
/* Hero Styles */
.hero {
  text-align: center;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-top: 80px;
}

/* Glitch Effect */
.glitch {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  color: #00fff2;
  position: relative;
  animation: glitchAnim 2s infinite;
  text-shadow: 0 0 5px #00fff2, 0 0 10px #00fff2;
}

/* Glitch Animation */
@keyframes glitchAnim {
  0% { text-shadow: 2px 2px #ff00ff; }
  20% { text-shadow: -2px -2px #00fff2; }
  40% { text-shadow: 2px -2px #ff00ff; }
  60% { text-shadow: -2px 2px #00fff2; }
  80% { text-shadow: 0px 0px #00fff2; }
  100% { text-shadow: 2px 2px #ff00ff; }
}

/* Hologram Scan Line Effect */
.hologram::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,255,242,0.1) 0px,
    rgba(0,255,242,0.1) 1px,
    transparent 2px,
    transparent 4px
  );
  animation: scan 4s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

/* Real Name Reveal */
.real-name {
  font-size: 1.5rem;
  color: #ccc;
  margin-top: 8px;
  opacity: 0;
  animation: fadeSlideUp 1.5s ease forwards;
  animation-delay: 1.2s;
}

@keyframes fadeSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

#typewriter {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #00fff2;
}

/* Scroll Down Indicator */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #00fff2;
  text-decoration: none;
  animation: bounce 1.5s infinite;
  opacity: 0.8;
}

.scroll-down:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}


/* Scroll Down Positioning */
.scroll-down {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15px; /* space below tagline */
  font-size: 2rem;
  color: #00fff2;
  text-decoration: none;
  animation: bounce 1.5s infinite;
  opacity: 0.8;
}

.scroll-down:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

.scroll-text {
  font-size: 0.8rem;
  margin-top: -2px;
  opacity: 0.7;
}

/* Smooth Scroll for All Links */
html {
  scroll-behavior: smooth;
}


/* Smaller hero for About page */
.small-hero {
  min-height: 40vh;
  justify-content: flex-end;
  padding-bottom: 40px;
}

/* Glowing Title */
.glow-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: #00fff2;
  text-shadow: 0 0 5px #00fff2, 0 0 15px #00fff2, 0 0 30px #00fff2;
}

/* Profile Card */
#profile-card {
  max-width: 500px;
  margin: 40px auto;
  text-align: center;
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 10px;
}
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid #00fff2;
  object-fit: cover;
}
.aka {
  font-size: 0.8rem;
  color: #00fff2;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Section styling consistent with homepage */
#intro, #what-i-do, #fun-fact {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
  line-height: 1.6;
  background: rgba(255,255,255,0.02);
  margin-bottom: 20px;
  border-radius: 8px;
}

#what-i-do ul {
  list-style: none;
  padding: 0;
}
#what-i-do li {
  margin: 8px 0;
  font-size: 1.1rem;
}

.project-card {
  background: rgba(0, 0, 0, 0.5); /* more contrast */
  color: white;
  padding: 20px;
  margin: 20px auto;
  border-radius: 8px;
  max-width: 800px;
}