/* Pixfork Games — 2026 site redesign (Home + About) */

:root {
  --bg: #0c0a09;
  --bg-raised: #161210;
  --bg-raised-2: #1e1815;
  --line: rgba(243,239,233,0.11);
  --fg: #f3efe9;
  --fg-dim: #ab9f97;
  --fg-dimmer: #756a62;
  --red: #e3392b;
  --red-ink: #ffffff;
  --font-d: 'Space Grotesk', system-ui, sans-serif;
  --font-b: 'IBM Plex Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-d); margin: 0; text-wrap: pretty; }
p { margin: 0; }
img { max-width: 100%; }
a { color: var(--red); text-decoration: none; }
a:hover { color: #ff6a5b; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-b); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 16px; height: 2px; background: var(--red); display: inline-block; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-b); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 3px; cursor: pointer; border: 1px solid transparent;
  min-height: 44px;
}
.btn-primary { background: var(--red); color: var(--red-ink); }
.btn-secondary { background: transparent; color: var(--fg); border-color: rgba(243,239,233,0.35); }

/* Announcement bar */
.announce {
  background: var(--red); color: #fff; text-align: center;
  font-family: var(--font-b); font-weight: 600; font-size: 13.5px;
  padding: 10px 20px; letter-spacing: 0.02em;
}
.announce span.tag { font-weight: 700; letter-spacing: 0.08em; }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.announce a:hover { text-decoration: none; }

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px; border-bottom: 1px solid var(--line);
}
.nav-logo img { display: block; height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--fg-dim); font-size: 14.5px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; }
.nav-links a:hover { color: var(--fg); }
.nav-links li.current a { color: var(--fg); }
@media (max-width: 720px) {
  .nav { flex-wrap: wrap; justify-content: center; gap: 14px; padding: 18px 20px; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
}

/* Hero (home) */
.hero { padding: 88px 32px 100px; }
.hero-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.75fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 700; line-height: 1.04; margin-top: 18px; }
.hero h1 .hl { color: var(--red); }
.hero-sub { font-size: 18px; color: var(--fg-dim); max-width: 520px; margin-top: 22px; line-height: 1.65; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art-frame {
  width: 78%; border-radius: 6px; overflow: hidden; transform: rotate(3deg);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(243,239,233,0.08);
}
.hero-art-frame img { display: block; width: 100%; }
.hero-badge {
  position: absolute; z-index: 2; top: -14px; left: 4%; background: var(--bg-raised);
  border: 1px solid var(--line); border-radius: 4px; padding: 8px 14px;
  font-family: var(--font-b); font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--fg-dim); text-transform: uppercase; transform: rotate(-4deg);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}
.hero-badge b { color: var(--red); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; margin-bottom: 8px; }
  .hero-art-frame { width: 62%; }
}

/* Intro (about) */
.intro { padding: 90px 32px 80px; text-align: center; }
.intro-inner { max-width: 760px; margin: 0 auto; }
.intro h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; margin-top: 18px; line-height: 1.1; }
.intro p { color: var(--fg-dim); font-size: 18px; margin-top: 22px; line-height: 1.7; }

/* Section headers */
.sec { padding: 96px 32px; }
.sec-head { max-width: 640px; margin: 0 0 52px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; margin-top: 14px; }
.sec-head p { color: var(--fg-dim); font-size: 16.5px; margin-top: 14px; line-height: 1.65; }
.sec-alt { background: var(--bg-raised); }

/* Steam wishlist widget */
.steam-widget {
  display: block; max-width: 860px; margin: 0 auto 48px; background: #16232f;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.5); transition: border-color 0.15s ease;
}
.steam-widget:hover { border-color: rgba(255,255,255,0.22); }
.steam-widget-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.steam-widget-head .title { font-family: var(--font-d); font-size: 16px; font-weight: 600; color: #eaf1f6; }
.steam-widget-head .title span { font-family: var(--font-b); font-weight: 400; font-size: 13.5px; color: #7d93a6; }
.steam-widget-body { display: flex; gap: 18px; padding: 18px 20px; }
.steam-widget-thumb { flex: none; width: 136px; height: 86px; border-radius: 3px; overflow: hidden; }
.steam-widget-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.steam-widget-desc { font-size: 13.5px; color: #9fb2c2; line-height: 1.6; }
.steam-widget-plats { display: flex; gap: 12px; padding: 0 20px 16px; color: #7d93a6; }
.steam-widget-foot { display: flex; align-items: center; justify-content: space-between; background: #0f1922; padding: 13px 20px; }
.steam-widget-avail { font-size: 12.5px; color: #7d93a6; }
.steam-widget-avail b { color: #c6d4de; font-weight: 600; }
.steam-widget-cta {
  font-family: var(--font-b); font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  color: #eaffce; background: linear-gradient(180deg, #7bb226 0%, #4c7a17 100%); padding: 9px 18px; border-radius: 2px;
}
@media (max-width: 560px) {
  .steam-widget-body { flex-direction: column; }
  .steam-widget-thumb { width: 100%; height: 150px; }
  .steam-widget-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Games grid */
.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.game-card {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; display: flex; flex-direction: column;
}
.game-card-media { aspect-ratio: 4/3; overflow: hidden; background: #000; }
.game-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.game-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.status-pill {
  align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 100px; border: 1px solid rgba(243,239,233,0.22); color: var(--fg-dim);
}
.status-pill.live { color: #7bd88f; border-color: rgba(123,216,143,0.35); }
.status-pill.soon { color: var(--red); border-color: rgba(227,57,43,0.4); }
.game-card h3 { font-size: 21px; }
.game-card p.desc { color: var(--fg-dim); font-size: 14.5px; line-height: 1.6; flex: 1; }
.game-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.game-card .tags span { font-size: 11px; color: var(--fg-dimmer); border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; }
.game-card .learn { font-size: 13.5px; font-weight: 600; }
@media (max-width: 900px) { .games-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .games-grid { grid-template-columns: 1fr; } }

/* Statement band */
.statement {
  background: linear-gradient(135deg, #17100e 0%, #0c0a09 60%);
  padding: 110px 32px; position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.statement::before {
  content: ""; position: absolute; top: 0; right: -10%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 40%, rgba(227,57,43,0.14) 41%, rgba(227,57,43,0.14) 44%, transparent 45%);
  pointer-events: none;
}
.statement-inner { max-width: 780px; margin: 0 auto; text-align: center; position: relative; }
.statement blockquote { font-family: var(--font-d); font-size: clamp(24px, 3.4vw, 36px); font-weight: 600; line-height: 1.35; margin: 22px 0 0; }
.statement blockquote .hl { color: var(--red); }
.statement-meta { margin-top: 28px; color: var(--fg-dimmer); font-size: 13.5px; letter-spacing: 0.05em; text-transform: uppercase; }

/* Team teaser (home) */
.team-teaser { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--bg); margin-left: -14px;
}
.avatars img:first-child { margin-left: 0; }
.team-teaser-text p { color: var(--fg-dim); font-size: 15px; }
.team-teaser-text a { font-weight: 600; }

/* Team grid (about) */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.team-card { background: var(--bg-raised-2); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.team-card img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; }
.team-card .info { padding: 16px 18px 20px; }
.team-card h3 { font-size: 16px; }
.team-card .role { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }
@media (max-width: 820px) { .team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }

/* News strip */
.news-strip {
  display: flex; gap: 20px; align-items: flex-start; background: var(--bg-raised-2);
  border: 1px solid var(--line); border-radius: 8px; padding: 26px 28px; max-width: 760px; margin: 40px auto 0;
}
.news-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(227,57,43,0.14); display: flex; align-items: center; justify-content: center; }
.news-body .date { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dimmer); }
.news-body p { margin-top: 6px; font-size: 15px; color: var(--fg-dim); line-height: 1.55; }
.news-body b { color: var(--fg); }

/* Footer */
.footer { padding: 80px 32px 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer h4 { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dimmer); margin-bottom: 18px; font-family: var(--font-b); font-weight: 600; }
.footer-brand img { height: 24px; margin-bottom: 16px; }
.footer-brand p { color: var(--fg-dimmer); font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: var(--fg-dim); font-size: 14.5px; }
.footer ul a:hover { color: var(--fg); }
.footer-bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--fg-dimmer); font-size: 13px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
