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

body {
  background: #000;
  font-family: system-ui, sans-serif;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  min-height: 100vh;
}

.container {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow:
    inset 0 1px 6px rgba(255, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  max-width: 36rem;
}

h1 {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.slot-window {
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #141414, #0f0f0f);
  box-shadow:
    inset 0 3px 6px rgba(255, 0, 0, 0.2),
    inset 0 -6px 10px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 0, 0, 0.05);
}

.reels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.reel {
  width: clamp(2rem, 6vw, 2.75rem);
  height: clamp(3rem, 7vw, 4rem);
  background: linear-gradient(to bottom, #1c1c1c, #111);
  border-radius: 0.5rem;
  box-shadow:
    inset 0 -6px 10px rgba(0, 0, 0, 0.5),
    inset 0 2px 4px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(255, 0, 0, 0.15);
  display: grid;
  place-items: center;
}

.reel-char {
  font-size: 1.4rem;
  font-weight: bold;
  font-family: monospace;
  color: #e2e8f0;
  text-shadow:
    0 0 4px rgba(255, 0, 0, 0.2),
    0 0 1px rgba(255, 255, 255, 0.1);
}

.reel-char.spinning {
  animation: verticalSpin 0.8s ease-in-out;
}

@keyframes verticalSpin {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
  25% {
    transform: translateY(-1.5rem) scale(1.1);
    opacity: 0.3;
    filter: blur(2px);
  }
  50% {
    transform: translateY(1.5rem) scale(1.05);
    opacity: 0.7;
    filter: blur(1px);
  }
  75% {
    transform: translateY(-0.5rem) scale(1.02);
    opacity: 0.9;
    filter: blur(0.5px);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}


#copyBtn,
#generateBtn {
  background-color: #dc2626;
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  box-shadow:
    inset 0 -2px 4px rgba(0, 0, 0, 0.4),
    0 4px 6px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#copyBtn:hover,
#generateBtn:hover {
  background-color: #b91c1c;
}

label {
  font-size: 1rem;
}

input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  width: 100%;
  height: 1rem;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 0.5rem;
  background: #333;
  border-radius: 2rem;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  background: radial-gradient(circle at 30% 30%, #f87171, #7f1d1d);
  border: 2px solid #fca5a5;
  border-radius: 50%;
  box-shadow:
    inset 0 0 4px rgba(255, 255, 255, 0.3),
    0 0 6px rgba(255, 0, 0, 0.5);
  margin-top: -0.5rem;
}

input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: #dc2626;
  margin-right: 0.5rem;
}

.checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  width: 100%;
}

#strengthMessage {
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  margin-top: 0.5rem;
}
