:root {
  --bg: #0b0f14;
  --bg-soft: #111824;
  --panel: #151d2b;
  --panel-light: #1c2637;
  --text: #f7f7f4;
  --muted: #aab4c2;
  --orange: #ff5a1f;
  --orange-hot: #ff2f1f;
  --gold: #ffb703;
  --line: rgba(255,255,255,.12);
  --shadow: 0 30px 80px rgba(0,0,0,.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(255,90,31,.20), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(255,183,3,.12), transparent 28%),
    linear-gradient(180deg, #0b0f14 0%, #0d1118 55%, #080b10 100%);
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(11, 15, 20, .76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.brand-mark { width: 42px; height: 42px; }
.brand-text { font-size: .96rem; }

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
}

.nav a { text-decoration: none; }
.nav a:hover { color: var(--text); }

.section-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 9vw, 8.3rem);
  line-height: .88;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.05em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.hero-text, .section-copy, .studio-panel p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 660px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid var(--line);
}

.button.primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  color: white;
  box-shadow: 0 20px 40px rgba(255,90,31,.25);
}

.button.secondary {
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.hero-card {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.screen-glow {
  position: absolute;
  inset: 10%;
  background: linear-gradient(135deg, rgba(255,90,31,.28), rgba(255,183,3,.18));
  filter: blur(42px);
  border-radius: 42px;
}

.project-card {
  position: relative;
  width: min(100%, 430px);
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03)),
    var(--panel);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.card-label, .tag, .date {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
}

.muted { color: var(--muted); }
.status-row {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: .92rem;
}
.meter {
  height: 9px;
  background: rgba(255,255,255,.10);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 6px;
}
.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.section-block { padding: 88px 0; }
.section-heading { max-width: 780px; margin-bottom: 34px; }
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.game-tile {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.game-tile.featured { grid-column: span 1; }
.tile-art {
  min-height: 170px;
  display: flex;
  align-items: end;
  padding: 22px;
  font-size: 4rem;
  font-weight: 1000;
  letter-spacing: -.08em;
}
.pepper-bg { background: linear-gradient(135deg, #ff5a1f, #741a12); }
.dark-bg { background: linear-gradient(135deg, #233049, #101722); }
.gold-bg { background: linear-gradient(135deg, #ffb703, #9b3d10); }
.tile-content { padding: 24px; }
.tile-content p { color: var(--muted); }
.meta-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.meta-list li {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--text);
  font-size: .82rem;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.update-list { display: grid; gap: 14px; }
.update-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
}
.update-card p { margin-bottom: 0; color: var(--muted); }

.studio-panel {
  padding: 54px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,90,31,.16), rgba(255,255,255,.04)),
    var(--panel);
}

.contact-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 88px 0;
}
.contact-link {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--gold);
  font-weight: 1000;
  text-decoration: none;
}
.contact-link:hover { color: var(--text); }

.site-footer {
  padding: 28px 20px 42px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .nav { width: 100%; justify-content: space-between; gap: 10px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 54px; }
  .game-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact-block { align-items: flex-start; flex-direction: column; }
  .studio-panel { padding: 30px; }
}

@media (max-width: 520px) {
  .nav { flex-wrap: wrap; justify-content: flex-start; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  h1 { font-size: 3.3rem; }
}
