﻿:root {
  --ink: #111419;
  --muted: #3a3e44;
  --line: #8c8f94;
  --accent: #f25c1f;
}

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

body {
  min-height: 100vh;
  font-family: "Archivo Narrow", sans-serif;
  color: var(--ink);
  background: linear-gradient(160deg, #e7eaee 0%, #d9dde3 42%, #d3d7dd 100%);
}

.gate-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: url("gallery/backgroundgrad.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.gate-card {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem;
}

.gate-tag {
  font-family: "Oswald", sans-serif;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

h1 {
  margin-top: 0.4rem;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  line-height: 1;
}

.gate-copy {
  margin-top: 0.55rem;
  color: var(--muted);
}

form {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

label {
  font-weight: 700;
}

input {
  border: 1px solid rgba(17, 20, 25, 0.35);
  padding: 0.55rem 0.6rem;
  font: inherit;
}

button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}

#gate-error {
  min-height: 1.1rem;
  color: #b42318;
  font-weight: 700;
}

#caps-warning {
  min-height: 1.1rem;
  color: #8a6d1f;
  font-weight: 700;
}
