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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0e0e0e;
  color: #eee;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.step {
  display: none;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.step.active { display: block; }

h1 { font-size: 1.8rem; margin-bottom: 0.4rem; font-weight: 600; }

.sub { color: #999; margin-bottom: 2rem; font-size: 0.95rem; }
.sub.small { font-size: 0.8rem; margin-top: 1.5rem; }

input[type="text"] {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 0.8rem;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  color: #eee;
  font-size: 1rem;
}

button {
  width: 100%;
  padding: 0.9rem;
  background: #eee;
  color: #0e0e0e;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
}

button:disabled {
  background: #333;
  color: #666;
  cursor: not-allowed;
}

.cgu-box {
  text-align: left;
  background: #161616;
  border: 1px solid #262626;
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.cgu-box p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #bbb;
}

.fineprint {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: #666;
}

.fineprint label {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  cursor: pointer;
}

.fineprint input[type="checkbox"] {
  margin-top: 2px;
}

.fineprint a {
  color: #777;
  text-decoration: underline;
}

input.invalid {
  border-color: #c0392b;
}

.error {
  color: #e74c3c;
  font-size: 0.78rem;
  text-align: left;
  margin: -0.4rem 0 0.6rem;
}

.language {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.3rem;
}

.language button {
  width: auto;
  background: none;
  border: 1px solid #333;
  color: #999;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  margin: 0;
}

.language button.active {
  background: #eee;
  color: #0e0e0e;
  border-color: #eee;
}
