/* Reset & body */

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

body {
  font-family: var(--font-system);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--body-bg-color) url('../assets/bg.jpg') no-repeat center center;
  padding-bottom: var(--taskbar-height);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Password gate */

.gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 20px;
}

.gate h1 { font-size: 24px; color: var(--text-white); }
.gate p { font-size: 14px; color: var(--text-muted); }

.gate-form {
  display: flex;
  gap: 8px;
}

.gate-form input {
  padding: 10px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-input);
  color: var(--text-primary);
  font-size: 14px;
  width: 240px;
  outline: none;
}

.gate-form input:focus { border-color: var(--accent-red); }

.gate-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: var(--accent-red);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.gate-form button:hover { background: color-mix(in srgb, var(--accent-red), white 15%); }

.gate-error {
  color: color-mix(in srgb, var(--accent-red), white 50%);
  font-size: 13px;
  min-height: 20px;
}
