/* Simhaus Games — shared styles */

:root {
  --bg: #0a0d13;
  --bg-alt: #0d1119;
  --panel: #131824;
  --panel-2: #171d2b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f4f8;
  --text-dim: #9aa3b5;
  --text-faint: #626c80;
  --accent: #f4b400;
  --accent-hover: #ffc933;
  --accent-ink: #1a1305;
  --green: #3ecf7a;
  --blue: #5b9bd5;
  --radius: 10px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(244, 180, 0, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 0%, rgba(91, 155, 213, 0.06), transparent 55%);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Oswald", "Segoe UI Semibold", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0;
}

p {
  margin: 0 0 1em;
  color: var(--text-dim);
}

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

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 13, 19, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  flex-shrink: 0;
}

.brand small {
  display: block;
  color: var(--text-faint);
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 6px;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
}

.nav-cta {
  padding: 9px 18px;
  font-size: 13px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero-tag {
  display: inline-block;
  color: var(--accent);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  max-width: 780px;
  margin-bottom: 20px;
}

.hero-lede {
  max-width: 560px;
  font-size: 17px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */

section {
  padding: 64px 0;
}

.section-head {
  margin-bottom: 36px;
  max-width: 640px;
}

.eyebrow {
  display: block;
  color: var(--accent);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 14px;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ---------- Game cards ---------- */

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.game-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.game-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.game-card-media {
  aspect-ratio: 16 / 9;
  background: #05070c center/cover no-repeat;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.game-card-media.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card-media.placeholder span {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.status-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(10, 13, 19, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-strong);
}

.status-pill.live {
  color: var(--green);
  border-color: rgba(62, 207, 122, 0.4);
}

.status-pill.dev {
  color: var(--blue);
  border-color: rgba(91, 155, 213, 0.4);
}

.game-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.game-card-body h3 {
  font-size: 21px;
}

.game-card-body p {
  font-size: 14.5px;
  margin-bottom: 0;
  flex: 1;
}

.game-card-link {
  margin-top: 6px;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.game-card-link:hover {
  color: var(--accent);
}

/* ---------- Feature strip ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  margin: 0;
}

/* ---------- Screenshot gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery a {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: block;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: transform 0.2s ease;
}

.gallery a:hover img {
  transform: scale(1.03);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  margin-bottom: 12px;
}

.cta-band p {
  max-width: 480px;
  margin: 0 auto 26px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 640px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.field .hint {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 6px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.radio-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.radio-option {
  flex: 1;
  min-width: 140px;
}

.radio-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-option label {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg-alt);
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
}

.radio-option input:checked + label {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(244, 180, 0, 0.08);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.form-note {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}

/* ---------- Status page (thank you) ---------- */

.status-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.status-page .mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(62, 207, 122, 0.12);
  border: 1px solid rgba(62, 207, 122, 0.35);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 26px;
}

.status-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.status-page p {
  max-width: 420px;
  margin: 0 auto 28px;
}

/* ---------- Game detail page ---------- */

.game-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}

.game-hero-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: var(--text-faint);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.game-hero h1 {
  font-size: clamp(34px, 5.5vw, 52px);
  margin-bottom: 16px;
}

.game-hero-lede {
  max-width: 620px;
  font-size: 17px;
  margin-bottom: 28px;
}

.meta-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.meta-item .label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.meta-item .value {
  font-size: 14.5px;
  font-weight: 600;
}

.pillar-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.pillar {
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pillar h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text);
}

.pillar p {
  font-size: 14px;
  margin: 0;
}

.placeholder-shot {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--panel);
}

.placeholder-shot span {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-col h5 {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .game-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar-list {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 32px 24px;
  }

  .form-card {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}
