/* humanitysdecay.com: the game's colours (src/ui/style.css), Russo One for headings, no scripts. */
@font-face { font-family: 'Russo One'; src: url(/fonts/russo-one-latin-400-normal.woff2) format('woff2'); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Russo One'; src: url(/fonts/russo-one-cyrillic-400-normal.woff2) format('woff2'); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
:root {
  --bg: #14171c; --bg2: #1b1f26; --card: #1d222a; --line: #2c333d; --text: #e8e2d6; --muted: #a39b8d;
  --accent: #e8a04a; --accent2: #ffcf6a; --blood: #b8322a;
  --display: 'Russo One', 'Arial Black', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
h1, h2, h3, .brand span, .tag { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; }
h2 { font-size: clamp(24px, 4.5vw, 34px); text-align: center; margin: 72px 16px 8px; color: var(--accent2); }
h3 { font-size: 24px; margin: 0 0 8px; color: var(--accent2); }

.top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: rgba(20, 23, 28, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-width: 0; }
.brand span { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 12px; background: linear-gradient(180deg, #f2b25e, #d9862c); color: #1a1208; font-weight: 800; font-size: 19px; text-decoration: none; box-shadow: 0 6px 20px rgba(232, 160, 74, 0.25); }
.btn:hover { filter: brightness(1.08); }
.btn.small { padding: 8px 14px; font-size: 15px; border-radius: 10px; white-space: nowrap; box-shadow: none; }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px 24px; }
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; padding: 56px 0 8px; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.1; margin: 0 0 18px; color: #fff3dc; text-shadow: 0 2px 24px rgba(184, 50, 42, 0.45); }
.kicker { font-family: var(--display); color: var(--accent); letter-spacing: 0.14em; font-size: 15px; margin: 0 0 12px; }
.lead { font-size: 20px; color: var(--text); margin: 0 0 26px; }
.note { color: var(--muted); font-size: 15px; margin: 14px 0 0; }

.phone { margin: 0; justify-self: center; width: 100%; max-width: 320px; border-radius: 30px; padding: 10px; background: #0b0d10; border: 1px solid #39414d; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset; }
.phone img { display: block; width: 100%; border-radius: 22px; }
.hero .phone { max-width: 340px; transform: rotate(2deg); }
[dir=rtl] .hero .phone { transform: rotate(-2deg); }

.feature { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; margin: 56px 0; }
.feature.flip .phone { order: 2; }
.feature .copy p { font-size: 18px; margin: 0; color: var(--text); }

.anywhere ul { list-style: none; padding: 0; margin: 16px auto 0; max-width: 760px; display: grid; gap: 12px; }
.anywhere li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.faq details p { margin: 0 0 16px; color: var(--text); }
.faq b { color: #fff3dc; }

.cta { text-align: center; margin: 80px 0 24px; padding: 40px 16px; border-radius: 20px; background: radial-gradient(ellipse at center, rgba(184, 50, 42, 0.28), transparent 70%), var(--bg2); border: 1px solid var(--line); }
.tag { font-size: clamp(22px, 4vw, 30px); color: #fff3dc; margin: 0 0 22px; }

footer { border-top: 1px solid var(--line); padding: 24px 16px 40px; text-align: center; color: var(--muted); font-size: 15px; }
footer p { margin: 8px 0; }
.langs { line-height: 2; }
.langs a { white-space: nowrap; }
.langs b { color: var(--text); white-space: nowrap; }
.muted { color: var(--muted); }

@media (max-width: 760px) {
  .hero, .feature { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding-top: 32px; text-align: center; }
  .hero .phone { transform: none; max-width: 260px; }
  .feature { margin: 44px 0; text-align: center; }
  .feature.flip .phone { order: 0; }
  .feature .phone { max-width: 260px; }
  .lead { font-size: 18px; }
  h2 { margin-top: 56px; }
}
@media (max-width: 480px) {
  /* the name is right under the bar (.kicker); the bar keeps the icon and the Play button */
  .brand span { display: none; }
}
@media (max-width: 400px) {
  .btn.small { padding: 7px 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hero .phone { transform: none; } }
.lost { text-align: center; padding: 18vh 16px; }
.lost h1 { font-size: 72px; margin: 0; color: var(--accent2); }
