* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 20px;
  z-index: 1000;
  border-bottom: 1px solid rgba(102, 126, 234, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Menu links */
.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 8px;
}

.nav-link:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

/* === Menu Icon === */
.menu-icon {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background: #667eea;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 65px;
    right: 10px;
    width: 90%;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #0b0b0b 0%, #111133 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    padding: 20px 0;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    font-size: 16px;
    padding: 12px;
    width: 100%;
    text-align: center;
    border-radius: 8px;
  }

  .menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .menu-icon.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}
/* === Login Modal === */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(15px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.login-content {
  background: linear-gradient(135deg, rgba(15,15,25,0.95) 0%, rgba(20,10,40,0.95) 100%);
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 20px;
  padding: 40px 30px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
  position: relative;
  text-align: center;
}

.close-login {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.close-login:hover {
  color: #667eea;
  transform: scale(1.1);
}

.login-content h2 {
  margin-bottom: 25px;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(102,126,234,0.3);
  background: rgba(0,0,0,0.4);
  color: #fff;
  outline: none;
  transition: all 0.3s;
}

.form-group input:focus {
  border-color: #667eea;
  background: rgba(0,0,0,0.6);
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102,126,234,0.4);
}

.register-text {
  margin-top: 15px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.register-text a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.register-text a:hover {
  color: #764ba2;
}
