/* RagnaDuds portal: same retro look as the website (features.html) */
:root {
  --ink: #f6ecd2; --ink-dim: #b9ab8a; --bg: #14121f; --panel: #221d33; --panel-2: #2c2542;
  --edge: #6b4f2a; --edge-hi: #c9a25b; --pink: #ff8fb1; --green: #7ee081; --blue: #7cc4ff;
  --gold: #ffd166; --red: #ff6b6b; --px: 4px;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; color: var(--ink); font: 22px/1.35 "VT323", ui-monospace, monospace; min-height: 100vh;
  background: radial-gradient(ellipse at 50% -10%, #3a2d5c 0%, transparent 60%),
              repeating-linear-gradient(0deg, #16132a 0 32px, #181530 32px 64px);
}
.wrap { max-width: 860px; margin: 0 auto; padding: 24px 16px 64px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.brand { font: 16px "Press Start 2P", monospace; color: var(--gold); text-decoration: none; text-shadow: 2px 2px 0 #7a3e12, 4px 4px 0 #000; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.nav a, .nav button, .btn, button {
  font: 10px "Press Start 2P", monospace; color: var(--ink); text-decoration: none; background: var(--panel-2);
  padding: 9px 11px; border: 3px solid #000; box-shadow: 3px 3px 0 #000; cursor: pointer; display: inline-block;
}
.nav a:hover, .nav button:hover, .btn:hover, button:hover { background: var(--gold); color: #1b1203; }
.btn.go, button.go { background: var(--green); color: #10131f; }
.btn.no, button.no { background: var(--red); color: #1f1018; }
h1 { font: clamp(16px, 4vw, 26px) "Press Start 2P", monospace; color: var(--gold); text-align: center;
     text-shadow: 3px 3px 0 #7a3e12, 6px 6px 0 #000; margin: 18px 0 8px; line-height: 1.5; }
h2 { font: 12px "Press Start 2P", monospace; color: var(--pink); margin: 4px 0 12px; line-height: 1.6; }
.frame { background: var(--panel); border: var(--px) solid var(--edge); margin: 18px 0; padding: 16px 20px 18px;
         box-shadow: inset 0 0 0 var(--px) #000, inset 0 0 0 calc(var(--px)*2) var(--edge-hi), 6px 6px 0 #000; }
.sub { text-align: center; color: var(--ink-dim); margin: 0 0 8px; }
b, strong { color: var(--gold); font-weight: normal; }
a { color: var(--blue); }
label { display: block; margin: 10px 0 4px; color: var(--ink-dim); }
input[type=text], input[type=email], input[type=password], textarea {
  width: 100%; font: 22px "VT323", monospace; color: var(--ink); background: #15121f; border: 3px solid #000;
  padding: 8px 10px; box-shadow: inset 2px 2px 0 #000;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--gold); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; color: var(--ink); cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 3px; flex: none; }
.terms { max-height: 280px; overflow-y: auto; background: #15121f; border: 3px solid #000; padding: 6px 14px; font-size: 20px; }
.terms li { margin: 6px 0; }
.err { background: #3a1620; border: 3px solid var(--red); padding: 8px 12px; margin: 10px 0; }
.ok { background: #16321e; border: 3px solid var(--green); padding: 8px 12px; margin: 10px 0; }
.muted { color: var(--ink-dim); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 20px; }
th { font: 9px "Press Start 2P", monospace; color: var(--ink-dim); text-align: left; padding: 6px 8px; border-bottom: 2px solid #000; }
td { padding: 6px 8px; border-bottom: 1px dashed #4a3f63; vertical-align: top; }
.scroll { overflow-x: auto; }
.tag { font: 8px "Press Start 2P", monospace; padding: 3px 5px; border: 2px solid #000; color: #1b1203; background: var(--blue); }
.tag.adm { background: var(--gold); } .tag.off { background: var(--red); }
.linkbox { word-break: break-all; background: #15121f; border: 3px dashed var(--gold); padding: 8px; }
.hp { position: absolute; left: -5000px; }   /* honeypot */
.step[hidden] { display: none; }
footer { text-align: center; color: var(--ink-dim); font-size: 18px; margin-top: 28px; }
@media (max-width: 600px) { body { font-size: 20px; } .row2 { grid-template-columns: 1fr; } }
