:root {
  color-scheme: dark;
  --bg: #14161a;
  --panel: #1d2026;
  --border: #2b2f38;
  --text: #e7e9ec;
  --muted: #9aa1ab;
  --accent: #4f8cff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

main {
  width: 100%;
  max-width: 720px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

h1 {
  font-size: 1.25rem;
  margin: 0 0 1.5rem;
}

p {
  color: var(--muted);
  line-height: 1.5;
}

.code {
  font-size: 2rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--accent);
}

button {
  font: inherit;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: white;
  cursor: pointer;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

input {
  font: inherit;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #10131a;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

video {
  width: 100%;
  border-radius: 8px;
  background: black;
  margin-top: 1rem;
  outline: none;
}

.role-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.role-links a {
  flex: 1;
  text-align: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}

.role-links a:hover {
  border-color: var(--accent);
}
