@font-face { font-family: "Russo One"; src: url("/assets/russo.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "PT Sans Narrow"; src: url("/assets/ptn.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "PT Sans Narrow"; font-weight: 700; src: url("/assets/ptn-bold.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #0f1012; --panel: #15171a; --panel2: #1b1e22; --line: #2a2e33;
  --text: #e8e6e1; --muted: #8b9096; --accent: #f29a1f; --accent-dark: #c96d0c;
  --error: #d9604c; --ok: #3fbf5f;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 18px/1.45 "PT Sans Narrow", "Arial Narrow", sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header { display: flex; align-items: center; gap: 32px; padding: 0 32px; height: 64px; background: var(--panel); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font: 26px "Russo One", sans-serif; letter-spacing: .5px; }
.logo:hover { text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
nav { display: flex; gap: 28px; margin-left: 8px; }
nav a { color: var(--muted); font: 15px "Russo One", sans-serif; text-transform: uppercase; letter-spacing: .5px; padding: 20px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--text); text-decoration: none; }
nav a.active { color: var(--text); border-bottom-color: var(--accent); }

main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 40px 32px 64px; }
footer { color: var(--muted); font-size: 14px; text-align: center; padding: 24px; border-top: 1px solid var(--line); }

h1, h2 { font-family: "Russo One", sans-serif; font-weight: 400; margin: 0 0 16px; }
h1 { font-size: 44px; line-height: 1.1; }
h2 { font-size: 24px; }
.muted { color: var(--muted); }

.hero { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; padding: 56px 48px; margin-bottom: 32px;
  background: radial-gradient(600px 300px at 80% 30%, rgba(242,154,31,.12), transparent 70%), linear-gradient(180deg, #1b1e22, #111315); }
.hero p { max-width: 560px; color: #c9c7c2; margin: 0 0 28px; }
.hero .mark { position: absolute; right: 48px; top: 50%; width: 240px; height: 240px; transform: translateY(-50%); opacity: .08; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-left: 20px; color: var(--muted); font-size: 16px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.dot.on { background: var(--ok); }

.btn { display: inline-block; border: 0; cursor: pointer; border-radius: 4px; padding: 14px 32px; font: 20px "Russo One", sans-serif; text-transform: uppercase;
  color: #1a1205; background: linear-gradient(180deg, var(--accent), #e07b10); }
.btn:hover { text-decoration: none; box-shadow: 0 0 24px rgba(242,154,31,.35); }
.btn:disabled { background: var(--panel2); color: var(--muted); box-shadow: none; cursor: default; }
.btn:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { color: var(--text); text-decoration: none !important; border: 1px solid var(--line); border-radius: 6px; padding: 24px; background: linear-gradient(180deg, #1b1e22, #141619); min-height: 160px; display: flex; flex-direction: column; }
.card .date { color: var(--muted); font-size: 14px; font-weight: 700; margin-bottom: auto; }
.card h3 { margin: 24px 0 0; padding-left: 12px; border-left: 3px solid var(--accent); font: 18px/1.25 "Russo One", sans-serif; }

.news-item { border-bottom: 1px solid var(--line); padding: 24px 0; max-width: 760px; }
.news-item h2 { margin-bottom: 8px; }
.news-item p { margin: 8px 0 0; white-space: pre-line; }

.form { max-width: 440px; margin: 24px auto 0; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 40px; }
.form label { display: block; font-weight: 700; margin: 18px 0 6px; }
.form input { width: 100%; padding: 12px 14px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; }
.form input:focus { border-color: var(--accent); outline: none; }
.form .hint { color: var(--muted); font-size: 14px; margin-top: 4px; }
.form .btn { width: 100%; margin-top: 28px; }
.msg { margin-top: 16px; min-height: 1.4em; }
.msg.err { color: var(--error); }
.msg.ok { color: var(--ok); }

@media (max-width: 760px) {
  header { gap: 16px; padding: 0 16px; }
  nav { gap: 16px; }
  main { padding: 24px 16px 48px; }
  .hero { padding: 32px 24px; }
  .hero .mark { display: none; }
  .cards { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  .form { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
