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

/* ===== GLOBAL ===== */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 60%),
    #111827;
  color: #e5e7eb;
  line-height: 1.7;
}

/* ===== HEADER ===== */
.site-header {
  background: #0b1220;
  padding: 64px 20px;
  text-align: center;
  border-bottom: 1px solid #1f2937;
}

.site-header h1 {
  font-size: 36px;
  color: #f9fafb;
}

.site-subtitle {
  margin-top: 16px;
  color: #9ca3af;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.trust {
  margin-top: 22px;
  font-size: 14px;
  background: rgba(16,185,129,0.12);
  color: #a7f3d0;
  padding: 8px 16px;
  border-radius: 999px;
  display: inline-block;
}

/* ===== MAIN ===== */
.main {
  max-width: 900px;
  margin: 64px auto;
  padding: 0 20px 80px;
}

/* ===== CARD ===== */
.card {
  background: rgba(11,18,32,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 48px;
}

.card-tool {
  text-align: center;
}

/* ===== PASSWORD OUTPUT ===== */
.password-output {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.password-output input {
  flex: 1;
  padding: 12px;

  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;

  color: #e5e7eb;
  font-size: 15px;
}

.password-output input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 6px 18px rgba(0,0,0,0.35);
}

/* ===== COPY BUTTON ===== */
.password-output button {
  padding: 12px 18px;

  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;

  color: #e5e7eb;
  font-size: 14px;
  cursor: pointer;

  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.password-output button:hover {
  background: rgba(15,23,42,0.75);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* ===== OPTIONS ===== */
.options {
  text-align: left;
  margin-bottom: 20px;
}

.options label {
  display: block;
  margin-bottom: 6px;
  color: #9ca3af;
  font-size: 14px;
}

/* ===== LENGTH ===== */
.length {
  margin-bottom: 24px;
  color: #9ca3af;
  font-size: 14px;
}

/* ===== GENERATE BUTTON ===== */
.primary-btn {
  width: 100%;
  padding: 14px;

  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;

  color: #e5e7eb;
  font-size: 16px;
  cursor: pointer;

  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
  background: rgba(15,23,42,0.75);
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0b1220;
  border-top: 1px solid #1f2937;
  padding: 52px 20px;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
}

.site-footer hr {
  border: none;
  border-top: 1px solid #1f2937;
  margin-bottom: 24px;
}

.footer-nav {
  margin-bottom: 20px;
}

.footer-nav a {
  margin: 0 12px;
  color: #9ca3af;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #e5e7eb;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .site-header h1 {
    font-size: 30px;
  }

  .card {
    padding: 26px;
  }

  .password-output {
    flex-direction: column;
  }
}
