* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Orbitron', sans-serif;
}

body {
  background: #081b29;
  color: #ededed;
  overflow-x: hidden;
  cursor: default;
  scroll-behavior: smooth;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #081b29;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.preloader-logo {
  width: 500px;
  animation: preloaderZoom 3s ease forwards;
}
@keyframes preloaderZoom {
  0% { transform: scale(2); opacity: 0; }
  50% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

#binaryRain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: rgba(8, 27, 41, 0.6);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.2);
  z-index: 100;
  backdrop-filter: blur(10px);
}
.logo {
  font-size: 30px;
  font-weight: 700;
  color: #00ff88;
  text-decoration: none;
}
.navbar a {
  color: #ededed;
  margin-left: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
.navbar a:hover, .navbar a.active {
  color: #00ff88;
}

.home {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 1;
  perspective: 1000px;
  text-align: center;
}

.home-logo {
  width: 400px;
  margin: 0 auto 25px auto;
  display: block;
  animation: logoFloat 5s ease-in-out infinite, glowPulse 2s infinite alternate;
  filter: drop-shadow(0 0 60px #00ff88);
  transition: transform 0.3s;
}
.home-logo:hover {
  transform: scale(1.2) rotate(-5deg);
  filter: drop-shadow(0 0 120px #00ff88);
}
@keyframes logoFloat {
  0% { transform: scale(1.3) translateY(0); }
  25% { transform: scale(1.4) translateY(-15px); }
  50% { transform: scale(1.3) translateY(-30px); }
  75% { transform: scale(1.4) translateY(-15px); }
  100% { transform: scale(1.3) translateY(0); }
}
@keyframes glowPulse {
  0% { filter: drop-shadow(0 0 40px #00ff88) drop-shadow(0 0 120px #00ff88); }
  100% { filter: drop-shadow(0 0 80px #00ff88) drop-shadow(0 0 240px #00ff88); }
}

.mysterious-name {
  font-size: 90px;
  font-weight: 900;
  text-align: center;
  color: transparent;
  background: linear-gradient(270deg, #00ff88, #00eaff, #ff00c8, #00ff88);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite, floatText 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatText {
  0% { transform: translateY(0); }
  25% { transform: translateY(-10px); }
  50% { transform: translateY(-20px); }
  75% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}


.social-icons, .contact-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 40px;
}
.social-icons a, .contact-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  border: 2px solid #00ff88;
  border-radius: 50%;
  font-size: 24px;
  color: #00ff88;
  transition: 0.3s;
  filter: drop-shadow(0 0 10px #00ff88);
}
.social-icons a:hover, .contact-social a:hover {
  background: #00ff88;
  color: #081b29;
  transform: scale(1.2) rotate(8deg);
  box-shadow: 0 0 30px #00ff88;
}

.about, .contact {
  min-height: 100vh;
  padding: 100px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0,0,0,0.3);
}
.about-content, .contact-content {
  max-width: 800px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}
.about-content.visible, .contact-content.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.about-content h2 {
  font-size: 5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 6px;
  background: linear-gradient(90deg, #00ff88, #00abf0, #ff00c8, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 40px;
  animation: aboutGlow 3s ease-in-out infinite, aboutWave 6s linear infinite;
}
.contact-content h2 {
  font-size: 5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 6px;
  background: linear-gradient(90deg, #00eaff, #00ff88, #ff00c8, #00eaff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 40px;
  animation: contactGlow 3s ease-in-out infinite, contactWave 7s linear infinite;
}
@keyframes aboutGlow {
  0% { text-shadow: 0 0 15px #00ff88, 0 0 30px #00abf0; }
  50% { text-shadow: 0 0 30px #ff00c8, 0 0 60px #00ff88; }
  100% { text-shadow: 0 0 20px #00abf0, 0 0 40px #ff00c8; }
}
@keyframes aboutWave {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(2deg); }
  50% { transform: rotate(-2deg); }
  75% { transform: rotate(1deg); }
  100% { transform: rotate(0deg); }
}
@keyframes contactGlow {
  0% { text-shadow: 0 0 15px #00eaff, 0 0 30px #00ff88; }
  50% { text-shadow: 0 0 30px #ff00c8, 0 0 60px #00eaff; }
  100% { text-shadow: 0 0 20px #00ff88, 0 0 40px #ff00c8; }
}
@keyframes contactWave {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
  75% { transform: rotate(-1deg); }
  100% { transform: rotate(0deg); }
}

.skills {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}
.skill {
  background: rgba(0,255,136,0.1);
  border: 2px solid #00ff88;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}
.skill:hover {
  background: #00ff88;
  color: #081b29;
  box-shadow: 0 0 20px #00ff88;
  transform: scale(1.2);
}

.contact-content form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.form-row {
  display: flex;
  gap: 20px;
}
.form-row input,
.contact-content input,
.contact-content textarea {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: 2px solid #00ff88;
  font-size: 16px;
  outline: none;
  background: rgba(8,27,41,0.8);
  color: #ededed;
  transition: 0.3s;
}
.form-row input:focus,
.contact-content textarea:focus {
  border-color: #00abf0;
  box-shadow: 0 0 20px #00abf0;
}
.contact-content button {
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-size: 18px;
  background: #00ff88;
  color: #081b29;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}
.contact-content button:hover {
  background: #00abf0;
  color: #ededed;
  transform: scale(1.1);
  box-shadow: 0 0 30px #00abf0;
}
#form-status {
  margin-top: 10px;
  font-size: 16px;
  color: #00ff88;
}



.about-content p, .contact-content p {
  font-size: 2rem;
  line-height: 1.6;
  font-weight: bold;
  text-align: center;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #00ff88, #00eaff, #ff00c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 30px;
  margin-bottom: 40px;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.about-content p:hover, .contact-content p:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px #00ff88);
}


@media (max-width: 1024px) {
  .home-logo {
    width: 250px;
    margin-bottom: 20px;
  }

  .mysterious-name {
    font-size: 50px;
    line-height: 1.2;
  }

  .navbar {
    gap: 15px;
  }

  .navbar a {
    margin-left: 15px;
    font-size: 14px;
  }

  .about-content h2,
  .contact-content h2 {
    font-size: 3rem;
    letter-spacing: 3px;
  }

  .about-content p,
  .contact-content p {
    font-size: 1.4rem;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .contact-content input,
  .contact-content textarea,
  .form-row input {
    font-size: 14px;
    padding: 10px;
  }

  .contact-content button {
    font-size: 16px;
    padding: 10px;
  }

  .social-icons a,
  .contact-social a {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .home-logo {
    width: 180px;
  }

  .mysterious-name {
    font-size: 35px;
  }

  .about-content h2,
  .contact-content h2 {
    font-size: 2.2rem;
  }

  .about-content p,
  .contact-content p {
    font-size: 1.2rem;
  }

  .social-icons a,
  .contact-social a {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .header {
    padding: 15px 5%;
  }

  .navbar a {
    margin-left: 10px;
  }
}
