* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f1115 url("background.png") center center / cover no-repeat fixed;
  color: #e8e8e8;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none !important;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 21, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.overlay-box {
  text-align: center;
  max-width: 420px;
  padding: 32px;
}

.overlay-box h1 {
  margin-bottom: 8px;
}

.main-content {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 24px;
}

.card {
  background: #1b1e26;
  border-radius: 12px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.description {
  white-space: pre-wrap;
  margin-bottom: 24px;
  line-height: 1.5;
}

form {
  display: flex;
  gap: 8px;
}

input[type="password"] {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #333844;
  background: #12141a;
  color: #e8e8e8;
}

button,
.download-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: #5b8cff;
  color: white;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

button:hover,
.download-btn:hover {
  background: #4676e6;
}

.error {
  color: #ff6b6b;
  margin-bottom: 16px;
}

.card.wide {
  max-width: 640px;
}

.option-block {
  margin-bottom: 28px;
}

.option-block h2 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #5b8cff;
}

.steps {
  margin: 0;
  padding-left: 22px;
  line-height: 1.7;
}

.steps li {
  margin-bottom: 8px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}