:root {
  --bg: #070b14;
  --navy: #0d1830;
  --ink: #e8edf5;
  --muted: #8a96ab;
  --amber: #ffb020;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font-family: Inter, system-ui, sans-serif; overflow: hidden; }
h1, h2 { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; letter-spacing: .04em; margin: 0; }
h1 { font-size: clamp(64px, 14vw, 150px); line-height: .88; text-shadow: 0 0 40px rgba(77,163,255,.35); }
h2 { font-size: clamp(40px, 8vw, 76px); line-height: .95; margin-bottom: 28px; }
.kicker { text-transform: uppercase; letter-spacing: .25em; font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.kicker.amber { color: var(--amber); }
.sub { color: var(--muted); margin: 12px 0 28px; }
.names { color: var(--muted); font-size: 14px; letter-spacing: .1em; margin-top: 28px; }

.screen { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.screen.active { display: flex; animation: fade .6s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.wrap { max-width: 760px; width: 100%; text-align: center; }

#screen-title {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(77,163,255,.18), transparent 55%),
    radial-gradient(ellipse at 20% 90%, rgba(229,72,77,.12), transparent 50%),
    linear-gradient(180deg, var(--navy), var(--bg));
}

.btn {
  font: 600 15px Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.25); background: transparent; color: var(--ink);
  padding: 14px 26px; border-radius: 2px; cursor: pointer;
}
.btn:hover { background: rgba(255,255,255,.08); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.small { padding: 8px 14px; font-size: 12px; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; margin-top: 24px; }

#screen-play { background: #000; padding: 0; }
#video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.missing { display: none; color: var(--muted); }
.skip { position: fixed; right: 16px; bottom: 16px; z-index: 5; }

#screen-choice { background: radial-gradient(ellipse at center, #1a1a1a, #000 70%); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card {
  text-align: left; background: #0e0e0e; border: 1px solid #333; color: #ddd;
  padding: 18px; cursor: pointer; font: 500 16px/1.45 Inter, sans-serif; border-radius: 2px;
  transition: border-color .2s, transform .15s;
}
.card:hover, .card:focus-visible { border-color: var(--amber); transform: translateY(-2px); outline: none; }
.card b { display: block; font: 400 28px "Bebas Neue", sans-serif; color: var(--amber); letter-spacing: .1em; margin-bottom: 4px; }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* End screen */
#screen-end { background: radial-gradient(ellipse at 50% 0%, rgba(255,176,32,.14), var(--bg) 65%); }
#screen-end h2 { margin-bottom: 0; }
.row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Ethics map popup */
.modal { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.75); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { background: #0d1424; border: 1px solid rgba(255,255,255,.12); width: min(1100px, 100%); max-height: 90vh; display: flex; flex-direction: column; animation: fade .3s ease; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.modal-head h3 { margin: 0; font: 400 28px "Bebas Neue", sans-serif; letter-spacing: .05em; color: var(--amber); }
.table-scroll { overflow: auto; padding: 0 20px 20px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
th { position: sticky; top: 0; background: #0d1424; text-align: left; color: var(--amber); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 14px 12px; }
td { padding: 12px; border-top: 1px solid rgba(255,255,255,.08); vertical-align: top; }
td:first-child { font-weight: 600; min-width: 180px; }
td:nth-child(2), td:nth-child(3) { color: var(--muted); white-space: nowrap; }
@media (max-width: 700px) { td:nth-child(2), td:nth-child(3) { white-space: normal; } }
