/* ========================================
   LAYOUT STYLES
   Container, Grid, Sections
   ======================================== */

/* Container */
.container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  text-align: center;
  padding: 60px 20px;
  border-bottom: 2px solid var(--neon-cyan);
  box-shadow: 0 0 20px var(--neon-cyan);
  margin-bottom: 50px;
  background: rgba(0, 255, 255, 0.03);
  position: relative;
}

.avatar-container {
  width: 200px;
  height: 200px;
  margin: 0 auto 30px;
  position: relative;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--neon-cyan);
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: 0 0 40px var(--neon-cyan);
  animation: pulse 2s infinite;
  transition: all 0.3s;
}

.avatar-placeholder:hover {
  transform: scale(1.1);
  box-shadow: 0 0 60px var(--neon-cyan);
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px var(--neon-cyan);
  margin-bottom: 10px;
  letter-spacing: 5px;
}

.tagline {
  font-size: 1.2rem;
  color: var(--neon-pink);
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Terminal Effect */
.terminal {
  background: rgba(10, 10, 15, 0.8);
  border: 2px solid var(--neon-cyan);
  border-radius: 5px;
  padding: 20px;
  margin: 30px 0;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
  position: relative;
}

.terminal::before {
  content: "● ● ●";
  position: absolute;
  top: -25px;
  left: 10px;
  color: var(--neon-cyan);
  font-size: 20px;
  letter-spacing: 5px;
}

.terminal-header {
  font-family: "Orbitron", sans-serif;
  color: var(--neon-pink);
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.terminal-content {
  line-height: 1.8;
  color: var(--neon-green);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 2px solid var(--neon-pink);
  margin-top: 50px;
  color: #666;
}

/* Backgrounds */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

#matrix-canvas.active {
  opacity: 0.3;
}

.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Floating Particles */
.particle {
  position: fixed;
  width: 3px;
  height: 3px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: float 10s infinite;
  pointer-events: none;
  z-index: 0;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  z-index: 9998;
  box-shadow: 0 0 10px var(--neon-cyan);
  transition: width 0.1s;
}

