/* FishPunk — clean, modern surface. Brass stays as the one accent (tying back to
   the logo/steampunk identity) but everything else is plain: no parchment texture,
   no rivets, no monospace-everywhere. */
:root {
  --accent: #a9762e;
  --accent-strong: #8f611f;
  --accent-soft: #f3e6d3;
  --success: #3f7a63;
  --error: #b3442f;

  --bg: #ffffff;
  --bg-subtle: #faf8f5;
  --text: #232019;
  --text-muted: #6b6357;
  --border: #e6e0d5;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #d9a856;
    --accent-strong: #f0c47e;
    --accent-soft: #3a2f1e;
    --success: #6fae95;
    --error: #d9776a;

    --bg: #17140f;
    --bg-subtle: #1e1a13;
    --text: #ede7dc;
    --text-muted: #a89e8c;
    --border: #322c22;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
  margin: 0 0 0.5rem;
}
h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
}
h2 {
  font-size: 1.15rem;
  margin-top: 0.25rem;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.site-nav .brand {
  display: flex;
  align-items: center;
}
.site-nav .brand img {
  height: 32px;
  width: auto;
  display: block;
}
.site-nav nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}
.site-nav nav a {
  color: var(--text-muted);
}
.site-nav nav a:hover {
  color: var(--text);
  text-decoration: none;
}
.site-nav nav form {
  margin: 0;
}
.site-nav nav .link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text-muted);
  cursor: pointer;
}
.site-nav nav .link-button:hover {
  color: var(--text);
}

main {
  flex: 1;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 4rem 1.25rem 4rem;
}
main.wide {
  max-width: 780px;
}

.card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.25rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}
input,
select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
}
input:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

button,
.button {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
}
button:hover,
.button:hover {
  background: var(--accent-strong);
}
button.secondary,
.button.secondary {
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
}
button.secondary:hover,
.button.secondary:hover {
  color: var(--text);
  border-color: var(--text-muted);
  background: transparent;
}

.error {
  color: var(--error);
  font-size: 0.92rem;
}
.success {
  color: var(--success);
  font-size: 0.92rem;
}
.hint {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hero {
  margin-bottom: 2rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
}
.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0;
}

.featured-game {
  margin-bottom: 0;
}
.featured-game .game-card-body h2 {
  font-size: 1.4rem;
}
.featured-game .game-card-body p {
  font-size: 1rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.game-card {
  display: block;
  color: inherit;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.game-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.game-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.game-card-body {
  padding: 1rem 1.1rem 1.25rem;
}
.game-card-body h2 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.game-card-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.game-hero {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  display: block;
}

.account-nav {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.account-nav a {
  color: var(--text-muted);
}
.account-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.stat-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.stat-row-name {
  font-weight: 600;
}
.stat-row-values {
  display: flex;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.rating {
  color: var(--accent);
  letter-spacing: 0.1em;
  margin: 0 0 0.5rem;
}
.rating .hint {
  color: var(--text-muted);
  letter-spacing: normal;
  margin-left: 0.5rem;
}

.platform-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
}
.platform-badge {
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 0.5rem 0.85rem;
}

.features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.features-list li {
  padding-left: 1.4rem;
  position: relative;
}
.features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.press-asset {
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
  margin-bottom: 0.75rem;
}

.review-item {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}
.review-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

footer.site-footer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 1.5rem 1rem 2.5rem;
}
