/* Reset and base setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --dark-bg: #0a0e14;
  --darker-bg: #06090d;
  --hacker-green: #00ff41;
  --text-light: #e0e0e0;
  --text-gray: #a0a0a0;
}

/* Background + Scanline */
body {
  background-color: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;
  background-image: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
}

.scanline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(0, 255, 65, 0.15);
  box-shadow: 0 0 15px 5px rgba(0, 255, 65, 0.3);
  z-index: 1000;
  animation: scan 4s linear infinite;
}

@keyframes scan {
  0% { top: 0; }
  50% { top: 100%; }
  100% { top: 0; }
}

/* Matrix Effect */
.binary-fall {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.binary-digit {
  position: absolute;
  color: rgba(0, 255, 64, 0.35);
  font-size: 16px;
  font-family: monospace;
  animation: fall linear forwards;
}

@keyframes fall {
  to { transform: translateY(100vh); }
}

/* Header */
header {
  position: fixed;
  width: 100%;
  background: rgba(10, 14, 20, 0.9);
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 255, 65, 0.1);
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--hacker-green), #00d9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--dark-bg);
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(90deg, var(--hacker-green), #00d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: var(--hacker-green);
}

/* Contact Section */
.contact-section {
  padding: 140px 20px 80px;
  text-align: center;
}

.contact-section h1 {
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: var(--hacker-green);
}

.contact-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.contact-icons .icon {
  font-size: 2.5rem;
  color: var(--text-light);
  transition: transform 0.3s, color 0.3s;
}

.contact-icons .icon:hover {
  color: var(--hacker-green);
  transform: scale(1.2);
}

/* Footer */
.footer-bottom {
  text-align: center;
  padding: 30px 10px;
  color: var(--text-gray);
  font-size: 0.9rem;
  border-top: 1px solid rgba(0, 255, 65, 0.1);
  margin-top: 60px;
}
