body {
  font-family: 'Space Mono', monospace;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  color: #e0e0e0;
  display: flex;
  flex-direction: column; 
  align-items: center;
  min-height: 100vh;
  margin: 0;
}


.navbar {
  width: 100%;
  background: rgba(0,0,0,0.94);
  box-shadow: 0 4px 24px rgba(57,255,20,0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1.5px solid rgba(57, 255, 20, 0.15);
  padding: 0;
}

.navbar-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #39ff14;
  font-family: 'Major Mono Display', monospace;
  font-size: 1.5em;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0,255,0,0.7);
  letter-spacing: 1px;
  transition: color 0.2s;
}
.nav-brand:hover,
.nav-brand:focus {
  color: #fff;
  text-shadow: 0 0 10px #39ff14;
}

.logo {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  border: 2px solid #39ff1422;
  background: #181818;
  object-fit: cover;
  box-shadow: 0 0 10px #39ff1490;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
}

.nav-link {
  text-decoration: none;
  color: #00e600;
  font-family: 'Space Mono', monospace;
  font-size: 1.07rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s, text-shadow 0.3s;
  padding: 6px 2px;
  border-radius: 3px;
}
.nav-link:hover,
.nav-link:focus {
  color: #39ff14;
  text-shadow: 0 0 8px #39ff1499;
  background: #242424;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: #39ff14;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1050;
  margin-left: 1.5rem;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  background: #39ff14;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}


@media (max-width: 900px) {
  .navbar-inner {
    padding: 0 1rem;
  }
  .nav-menu {
    gap: 1.2rem;
  }
}
@media (max-width: 768px) {
  .navbar-inner {
    height: 60px;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 8px;
    background: #181818ee;
    border: 2px solid #39ff14cc;
    border-radius: 14px;
    width: 180px;
    padding: 20px 0 10px 0;
    box-shadow: 0 4px 32px #39ff1422;
    display: none;
    animation: fadeSlideIn 0.4s cubic-bezier(0.4,0,0.2,1);
  }
  .nav-menu.active {
    display: flex;
  }
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-16px);}
  to { opacity: 1; transform: translateY(0);}
}


.form-container {
  background: rgba(0, 0, 0, 0.85);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 30px #39ff14;
  width: 100%;
  max-width: 400px;
  border: 2px solid #39ff14;
  transition: all 0.4s ease-in-out;
  margin: 40px 20px; 
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideIn 0.6s ease-out forwards;
  animation-delay: 0.2s;
}

h1 {
  color: #39ff14;
  margin-bottom: 20px;
  font-size: 1.8rem;
  text-align: center;
  text-shadow: 0 0 10px #00ff00;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

label {
  text-align: left;
  font-weight: bold;
  color: #00e600;
  font-size: 0.95rem;
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #39ff14;
  border-radius: 6px;
  background: #0a0a0a;
  color: #ffffff;
  font-size: 1rem;
  font-family: 'Space Mono', monospace;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder {
  color: #888;
}

select option {
  background: #0a0a0a;
  color: #fff;
}

button {
  padding: 12px;
  background: #39ff14;
  color: #0a0a0a;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
  margin-top: 10px;
}

button:hover {
  background: #00e600;
}

input:focus,
select:focus {
  outline: none;
  border-color: #00ff80;
  box-shadow: 0 0 5px #00ff80, 0 0 10px #00ff80;
}


#extra-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  transition: max-height 0.8s ease-in-out, padding 0.4s ease;
}

#extra-fields.show {
  max-height: 1000px;
  padding-top: 20px;
}

.fade-field {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#extra-fields.show .fade-field {
  animation: fadeInField 0.5s ease forwards;
  animation-delay: calc(var(--order) * 0.25s);
}

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