* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  background-color: #2c2c2c;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255, 0, 204, 0.05) 0%, transparent 20%);
}

nav {
  width: 100%;
  background-color: rgba(28, 28, 28, 0.95);
  /* backdrop-filter: blur(10px); */
  padding: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.nav-container {
  width: 95%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 1;
}

.logo i {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #00ffff, #ff00cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.3rem;
  background: linear-gradient(135deg, #00ffff, #ff00cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  position: static;
  flex-direction: row;
  background: none;
  backdrop-filter: none;
  align-items: center;
  gap: 15px;
  left: 0;
  top: 100%;
  background-color: rgba(28, 28, 28, 0.95);
  padding: 0;
  width: auto;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  padding: 12px 20px;
  text-align: center;
  margin: 0 auto;
  transition: all 0.1s ease;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a:hover {
  color: #00ffff;
  background-color: rgba(0, 255, 255, 0.1);
}

.nav-links a.active {
  background: linear-gradient(135deg, #00ffff, #ff00cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: rgba(0, 255, 255, 0.15);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(135deg, #00ffff, #ff00cc);
  border-radius: 3px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  flex-shrink: 0;
  position: relative;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: linear-gradient(135deg, #00ffff, #ff00cc);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-toggle {
  display: flex;
}
.nav-links {
  overflow: hidden;
  position: absolute;
  width: 100%;
  /* backdrop-filter: blur(10px); */
  flex-direction: column;
  align-items: center;
  max-height: 0;
  padding: 0;
  transition: all 0.1s ease;
}
.nav-links.active {
  max-height: 400px;
  overflow-y: auto;
  padding: 20px 0;
  scrollbar-width: none;
}

@media (max-width: 768px) {
  * {
    cursor: default !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .nav-links {
    overflow: hidden;
    position: absolute;
    width: 100%;
    /* backdrop-filter: blur(10px); */
    flex-direction: column;
    align-items: center;
    max-height: 0;
    padding: 0;
    transition: all 0.1s ease;
  }
  .nav-links.active {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px 0;
    scrollbar-width: none;
  }
}

.container {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 5rem;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  background-color: rgba(44, 44, 44, 0.7);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* backdrop-filter: blur(5px); */
  animation: fadeIn 0.5s ease-in-out;
}

.container h2 {
  margin-bottom: 2rem;
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
}

.input-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: auto;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #00ffff;
  font-size: 1.2rem;
}

.input-container input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid #00ffff;
  background-color: rgba(33, 33, 33, 0.7);
  color: #fff;
  font-size: 16px;
  border-radius: 10px;
  outline: none;
  transition: all 0.3s ease;
}

.input-container input:focus {
  border-color: #ff00cc;
  color: #ff00cc;
  box-shadow: 0 0 15px rgba(255, 0, 204, 0.3);
}

.input-container input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.input-container .buttons {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #00ffff, #ff00cc);
  border: none;
  cursor: pointer;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pulse {
  animation: pulse 1s infinite;
}

.input-container .buttons::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.input-container .buttons:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 0, 204, 0.4);
}

.input-container .buttons:hover::before {
  left: 100%;
}

.input-container .buttons:active {
  transform: translateY(0);
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 3rem;
  width: 90%;
  max-width: 1000px;
}

.feature-card {
  background-color: rgba(44, 44, 44, 0.7);
  border-radius: 15px;
  padding: 1.5rem;
  width: 300px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 255, 255, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #00ffff, #ff00cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.feature-description {
  color: rgba(255, 255, 255, 0.7);
  font-weight: normal;
}

.alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  /* backdrop-filter: blur(5px); */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.alert-box {
  background-color: #2c2c2c;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  width: 90%;
  max-width: 350px;
  animation: slideIn 0.3s ease-in-out;
  border: 1px solid rgba(255, 0, 204, 0.3);
}

.alert-icon {
  font-size: 3rem;
  color: #ff3b5c;
  margin-bottom: 15px;
}

.alert-box h2 {
  margin: 0 0 15px;
  font-size: 1.3rem;
  color: #fff;
  font-weight: bold;
}

.alert-box p {
  margin: 0 0 25px;
  font-size: 1rem;
  color: #ff3b5c;
  font-weight: bold;
}

.alert-box button {
  background: linear-gradient(135deg, #00ffff, #ff00cc);
  color: white;
  border: none;
  cursor: pointer;
  padding: 12px 25px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.alert-box button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 0, 204, 0.4);
}

.notification {
  position: fixed;
  top: 24px;
  right: 24px;
  display: none;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: #2c2c2c;
  border-radius: 12px;
  border: 2px solid #2a2a3a;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 212, 255, 0.3);
  z-index: 2000;
  transform: translateX(450px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.3, 0.265, 1.3);
  overflow: hidden;
  min-width: 320px;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification.success {
  border-color: #00ff88;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(0, 255, 136, 0.3);
}

.notification.error {
  border-color: #ff4757;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(255, 71, 87, 0.3);
}

.notification-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.15);
  flex-shrink: 0;
}

.notification.success .notification-icon {
  background: rgba(0, 255, 136, 0.15);
}

.notification.error .notification-icon {
  background: rgba(255, 71, 87, 0.15);
}

.notification-icon i {
  font-size: 20px;
  color: #00ff88;
  filter: drop-shadow(0 0 8px #00ff88);
}

.notification.error .notification-icon i {
  color: #ff4757;
  filter: drop-shadow(0 0 8px #ff4757);
}

.notification-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.notification-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.notification-message {
  font-size: 14px;
  color: #a0a0b0;
  font-weight: 500;
}

.notification-close {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #a0a0b0;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.notification-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #00d4ff, #8b5cf6);
  width: 100%;
  transform-origin: left;
  animation: none;
}

.notification.error .notification-progress {
  background: linear-gradient(20deg, #ff1744, #ec4899);
}

.notification.success .notification-progress {
  background: linear-gradient(20deg, #00ff88, #00d4ff);
}

.notification-title.error {
  color: #ff4757;
}

.notification-title.success {
  color: #00ff88;
}

@keyframes progress-shrink {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

footer {
  margin-top: auto;
  width: 100%;
  padding: 1.5rem 0;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: normal;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00ffff;
}

@media (max-width: 768px) {
  .input-container .buttons {
    cursor: default;
  }
  .alert-box button {
    cursor: default;
  }
}

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

@keyframes slideIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  .container {
    margin-top: 3rem;
    padding: 1.5rem;
  }

  .feature-card {
    width: 100%;
  }
}

.input-container.disabled {
  opacity: 0.5;
  filter: grayscale(0.5);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 768px) {
  .close-btn {
    user-select: none;
  }
  .button {
    user-select: none;
  }

  .notification {
    right: 20px;
    left: 20px;
    min-width: auto;
    transform: translateY(-120px);
  }

  .notification.show {
    transform: translateY(0);
  }

  * {
    cursor: default !important;
  }
}
