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

body {
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #eee;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #111;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 255, 195, 0.3);
}

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

.nav-logo img {
  width: 120px;
  height: auto;
  cursor: pointer;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  color: #eee;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #00ffc3;
}

.btn-join {
  padding: 0.5rem 1rem;
  background: linear-gradient(to right, #00ffc3, #0070ff);
  color: #0f0f0f;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-join:hover {
  box-shadow: 0 0 20px #00ffc3;
  transform: scale(1.05);
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  background: #222;
  border-radius: 8px;
  top: 110%;
  left: 0;
  min-width: 180px;
  padding: 0.5rem 0;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 255, 195, 0.3);
}

.dropdown-menu li a {
  color: #eee;
  padding: 0.7rem 1.2rem;
  display: block;
  text-decoration: none;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: flex;
}

/* Generator Container */
.generator-wrapper {
  max-width: 700px;
  margin: 4rem auto 2rem auto;
  padding: 2rem;
  background: #1a1a1a;
  border-radius: 16px;
  box-shadow: 0 0 50px rgba(0, 255, 195, 0.25);
  text-align: center;
}

.generator-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  background: linear-gradient(to right, #00ffc3, #0070ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.description {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 2rem;
}

.generator-box {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.generator-box input {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 2px solid #333;
  background: #111;
  color: #eee;
  font-size: 1rem;
  width: 60%;
  min-width: 180px;
}

.generator-box button {
  padding: 0.9rem 1.5rem;
  background: linear-gradient(to right, #00ffc3, #0070ff);
  color: #0f0f0f;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 0 25px #00ffc3;
  transition: all 0.3s ease;
  min-width: 130px;
}

.generator-box button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px #00ffc3;
}

/* Output Box */
.output-box {
  background: #111;
  border: 1px solid #333;
  padding: 1rem;
  border-radius: 12px;
  text-align: left;
  height: 220px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.4;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  user-select: text;
}

.output-message {
  margin-bottom: 0.6rem;
}

.output-message.success {
  color: #00ffc3;
}

.output-message.warning {
  color: #ffaa00;
}

.output-message.error {
  color: #ff4d4d;
}

.output-message.info {
  color: #999;
}

/* Extra Content Container */
.extra-content {
  max-width: 600px;
  margin: 1rem auto 4rem auto;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #111a22, #192533);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 255, 195, 0.15);
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: left;
}

.extra-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #00ffc3, #0070ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.extra-content ul {
  list-style-type: disc;
  margin-left: 1.2rem;
  margin-bottom: 1rem;
}

.extra-content ul li {
  margin-bottom: 0.4rem;
}

/* Responsive */
@media (max-width: 600px) {
  .generator-box input {
    width: 100%;
  }
  .generator-wrapper {
    margin: 3rem 1rem 2rem 1rem;
  }
  .extra-content {
    margin: 1rem 1rem 3rem 1rem;
    padding: 1rem 1.2rem;
  }
}
