* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --bg-main: #0b0b0e;
  --card-bg: #141418;
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.4);
  --text-main: #ffffff;
  --text-muted: #b3b3b3;
}

body {
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at top, #1c1c1c, #000000);
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 90%;
  max-width: 420px;
  background: rgba(20, 20, 24, 0.85);
  backdrop-filter: blur(14px);
  padding: 2rem;
  border-radius: 1.8rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
}

h1 {
  text-align: center;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 12px var(--gold-soft);
}

.display-container {
  position: relative;
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgba(212,175,55,0.2);
}

.Display {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--gold);
  font-size: 1.3rem;
  padding-right: 3rem;
}

.copyBtn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
}

.copy-tooltip {
  position: absolute;
  top: -35px;
  left: -30px;
  background: var(--gold);
  color: #000;
  padding: 4px 10px;
  border-radius: 0.6rem;
  font-size: 0.8rem;
  opacity: 0;
  transform: scale(0);
  transition: 0.3s;
}

.copy-tooltip.active {
  opacity: 1;
  transform: scale(1);
}

.input-container {
  margin-top: 1.5rem;
}

.length-container {
  display: flex;
  justify-content: space-between;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.slider {
  width: 100%;
  appearance: none;
  height: 6px;
  background: #222;
  border-radius: 5px;
  margin-bottom: 1.5rem;
}

.slider::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 15px var(--gold-soft);
  cursor: pointer;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
}

.check input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  cursor: pointer;
}

.check input:checked {
  background: var(--gold);
}

.check label {
  color: var(--text-muted);
}

.strengthcontainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.2rem 0;
  color: var(--text-main);
}

.indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.generateButton {
  width: 100%;
  padding: 0.9rem;
  border-radius: 0.9rem;
  border: none;
  background: linear-gradient(135deg, #d4af37, #a8892c);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.generateButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212,175,55,0.6);
}
