:root {
  --bg: #121316;
  --panel: #1a1c21;
  --panel2: #20232a;
  --fg: #f1efe9;
  --muted: #9d9a92;
  --line: #2b2e36;
  --accent: #ff7a45;
  --accent2: #3fd0c9;
  --star: #ffcf5c;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 15.5px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* top strip + header */
.strip { background: var(--accent); color: #1b1006; font-size: 13px; font-weight: 600; text-align: center; padding: 5px 12px; letter-spacing: .2px; }
header { border-bottom: 1px solid var(--line); background: var(--panel); }
header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--fg); letter-spacing: -.2px; }
.brand img { width: 30px; height: 30px; }
.brand span { color: var(--accent); }
nav { display: flex; gap: 4px; }
nav a { color: var(--muted); padding: 6px 12px; border-radius: 8px; font-size: 15px; }
nav a:hover { color: var(--fg); background: var(--panel2); text-decoration: none; }
nav a.active { color: var(--fg); background: var(--panel2); }
.search { margin-left: auto; position: relative; }
.search input {
  width: 220px; background: var(--bg); border: 1px solid var(--line); color: var(--fg);
  border-radius: 999px; padding: 8px 14px 8px 34px; font: inherit; font-size: 14px; outline: none;
}
.search input:focus { border-color: var(--accent); }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; }

/* banner */
.banner { position: relative; margin: 26px 0 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); min-height: 300px; display: flex; align-items: flex-end; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,19,22,.92) 0%, rgba(18,19,22,.55) 55%, rgba(18,19,22,0) 100%); }
.banner .txt { position: relative; z-index: 1; padding: 30px 34px; max-width: 560px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 8px; }
.banner h1 { margin: 0 0 8px; font-size: 34px; line-height: 1.15; font-weight: 800; }
.banner p { margin: 0 0 16px; color: #d9d6cf; }
.btn { display: inline-block; padding: 9px 18px; border-radius: 999px; background: var(--accent); color: #1b1006; font-weight: 700; font-size: 14px; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 6px; }
.chip { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 999px; padding: 5px 14px; font: inherit; font-size: 13.5px; cursor: pointer; }
.chip:hover { color: var(--fg); }
.chip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; margin-top: 18px; align-items: start; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 12px; }
.section-title h2 { margin: 0; font-size: 20px; font-weight: 750; }
.section-title span { color: var(--muted); font-size: 13px; }

/* game rows */
.list { display: flex; flex-direction: column; gap: 12px; }
.row { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; transition: border-color .15s ease, background .15s ease; }
.row:hover { border-color: #3a3e49; background: var(--panel2); }
.row img { width: 100%; aspect-ratio: 16 / 10; border-radius: 8px; display: block; }
.row h3 { margin: 0 0 3px; font-size: 17px; }
.row p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 11.5px; color: var(--accent2); background: rgba(63,208,201,.1); border-radius: 6px; padding: 1px 8px; }
.score { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: var(--star); border: 2px solid rgba(255,207,92,.4); margin-right: 6px; }
.empty { display: none; color: var(--muted); padding: 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }

/* sidebar */
aside { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.box h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 700; }
.top { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.top li { counter-increment: n; display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.top li:last-child { border-bottom: 0; }
.top li::before { content: counter(n); width: 24px; height: 24px; border-radius: 6px; background: var(--panel2); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--accent); flex: none; }
.top li b { font-weight: 600; flex: 1; }
.top li em { font-style: normal; color: var(--star); font-weight: 700; font-size: 13px; }
.genres { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 14px; }
.genres span:nth-child(even) { color: var(--muted); }
.box p { margin: 0; color: var(--muted); font-size: 14px; }

/* reviews timeline */
.page-head { padding: 34px 0 8px; }
.page-head h1 { margin: 0 0 6px; font-size: 30px; font-weight: 800; }
.page-head p { margin: 0; color: var(--muted); }
.timeline { border-left: 2px solid var(--line); margin: 20px 0 0 8px; padding-left: 22px; }
.entry { position: relative; margin-bottom: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.entry::before { content: ""; position: absolute; left: -31px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }
.entry .date { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px; }
.entry h3 { margin: 2px 0 4px; font-size: 18px; }
.entry h3 em { font-style: normal; color: var(--star); margin-left: 6px; }
.entry p { margin: 6px 0 0; color: #d3d0c9; }

.prose p, .prose li { color: #d3d0c9; }
.prose h2 { font-size: 19px; margin: 26px 0 8px; }
.prose ul { padding-left: 20px; }

footer { margin-top: 60px; border-top: 1px solid var(--line); background: var(--panel); padding: 22px 0 34px; color: var(--muted); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.center { text-align: center; padding: 90px 0 30px; }
.center h1 { font-size: 80px; margin: 0; font-weight: 900; color: var(--accent); letter-spacing: -2px; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  aside { position: static; }
}
@media (max-width: 640px) {
  header .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .search { margin-left: 0; width: 100%; }
  .search input { width: 100%; }
  .row { grid-template-columns: 110px minmax(0, 1fr); }
  .row .score { display: none; }
  .banner h1 { font-size: 26px; }
  .banner .txt { padding: 22px; }
}
