:root {
  --bg: #0c0c0e;
  --bg2: #141417;
  --line: #24242a;
  --text: #f2f2f4;
  --muted: #8a8a94;
  --red: #c4242b;
  --max: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* Topo */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  background: linear-gradient(var(--bg) 40%, transparent);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .12em; font-size: 14px; }
.brand em { font-style: normal; color: var(--muted); font-weight: 500; }
.brand-mark { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.lang {
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--text); background: none; border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 6px; cursor: pointer;
}
.lang:hover { border-color: var(--muted); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
}
.stairs { position: relative; width: 156px; height: 138px; margin-bottom: 40px; }
.stairs span { position: absolute; bottom: 0; background: var(--text); width: 52px; }
.stairs span:nth-child(1) { left: 0;     height: 46px; }
.stairs span:nth-child(2) { left: 52px;  height: 92px; }
.stairs span:nth-child(3) { left: 104px; height: 138px; }

.hero h1 { font-size: clamp(48px, 10vw, 112px); font-weight: 800; letter-spacing: .06em; line-height: .95; }
.hero h1 small { display: block; font-size: .32em; font-weight: 500; letter-spacing: .5em; color: var(--muted); margin-top: 14px; padding-left: .5em; }
.lead { margin: 28px 0 36px; color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 520px; }
.btn {
  display: inline-block; padding: 13px 28px; border: 1px solid var(--text); border-radius: 8px;
  font-weight: 700; font-size: 14px; letter-spacing: .06em; transition: background .2s, color .2s;
}
.btn:hover { background: var(--text); color: var(--bg); }

/* ANATHEMA */
.game {
  position: relative;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(196, 36, 43, .22), transparent 60%),
    linear-gradient(180deg, var(--bg), #080808 50%, var(--bg));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(90px, 14vw, 160px) clamp(20px, 5vw, 56px);
}
.game-inner { max-width: var(--max); margin: 0 auto; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); border: 1px solid rgba(196, 36, 43, .5); padding: 4px 10px; border-radius: 4px;
}
.game-title {
  font-family: "Cascadia Code", "Cascadia Mono", Consolas, monospace;
  font-size: clamp(52px, 11vw, 128px); font-weight: 700; letter-spacing: .1em;
  margin: 20px 0 16px; line-height: 1;
  text-shadow: 0 0 40px rgba(196, 36, 43, .35);
}
.game p { max-width: 560px; font-size: 18px; color: #c9c9cf; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 40px 0 24px; max-width: 760px; }
.facts li { background: #0a0a0b; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.facts b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.game .muted { color: var(--muted); font-size: 15px; }

/* Seções */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 130px) clamp(20px, 5vw, 56px) 0; }
.section h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: .02em; margin-bottom: 24px; }
.text { max-width: 640px; color: #c9c9cf; font-size: 18px; }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.post { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.post time { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.post h3 { font-size: 18px; margin: 6px 0 8px; }
.post p { color: #b9b9c0; font-size: 15px; }
.empty { color: var(--muted); }

.contact { padding-bottom: clamp(80px, 11vw, 130px); }
.mail { display: inline-block; margin-top: 10px; font-size: clamp(20px, 3vw, 28px); font-weight: 700; border-bottom: 2px solid var(--line); padding-bottom: 4px; }
.mail:hover { border-color: var(--text); }

.footer { border-top: 1px solid var(--line); padding: 28px clamp(20px, 5vw, 56px); color: var(--muted); font-size: 13px; text-align: center; }

@media (max-width: 640px) {
  .nav a { display: none; }
  .brand em { display: none; }
}
