:root {
  --void: #12151e;
  --panel: #1a1f2c;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #10966c;
  --accent-2: #16a87a;
  --text: #f4f5f7;
  --muted: rgba(244, 245, 247, 0.58);
  --display: "Silkscreen", "Courier New", monospace;
  --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font: 1rem/1.5 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .75rem 5vw;
  border-bottom: 1px solid var(--line);
}
.mast-brand {
  display: block;
  width: clamp(10rem, 20vw, 14rem);
  flex: 0 0 auto;
}
.mast-brand img {
  width: 100%;
  height: auto;
}
.mast-links {
  display: flex;
  gap: 1.4rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}
.mast-links a { text-decoration: none; color: var(--text); }
.mast-links a:hover { color: var(--accent-2); }

.brand-hero {
  min-height: min(62vh, 34rem);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 2rem 5vw 3.2rem;
}
.brand-hero h1 {
  margin: 0 0 1.2rem;
  max-width: 14ch;
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.hero-logo {
  margin: 0 0 1.5rem;
  display: grid;
  justify-items: center;
  gap: .55rem;
}
.logo-base {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 9.2vw, 5.6rem);
  letter-spacing: .06em;
  line-height: .95;
  text-transform: uppercase;
  color: #fff;
}
.logo-ie {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(.78rem, 2.2vw, 1.15rem);
  letter-spacing: .82em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding-left: .82em;
}
.hero-line {
  margin: 0 0 1.4rem;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.08rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  padding: .72rem 1.15rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .04em;
}
.btn:hover { background: var(--accent-2); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--accent);
}

.library {
  padding: 0 5vw 4rem;
  max-width: 72rem;
  margin: 0 auto;
}
.library h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
}
.games {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
  align-items: stretch;
  max-width: 44rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: rgba(255, 255, 255, 0.28); }
.cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: #0a0c12;
}
.cover-eye {
  object-fit: contain;
  background: #050810;
}
.cover-dynasty {
  object-fit: cover;
  object-position: center;
  background: #4aa3e8;
}
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: #05060a;
}
.shots img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}
.shot-eye { object-fit: contain; background: #050810; }
.card-body {
  padding: 1.05rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 {
  font-family: var(--display);
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 .25rem;
  line-height: 1.25;
}
.tag {
  margin: 0 0 .5rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-body p { margin: 0 0 .9rem; color: var(--muted); font-size: .95rem; flex: 1; }
.card-body .btn { align-self: flex-start; }

.cover-slot {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(180deg, rgba(16, 150, 108, 0.18), transparent 60%),
    repeating-linear-gradient(90deg, #1a1f2c 0 12px, #151924 12px 24px);
  display: grid;
  place-items: center;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .72rem;
}

.studio {
  padding: 0 5vw 3.5rem;
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  color: var(--muted);
}
.studio h2 {
  font-family: var(--display);
  color: var(--text);
  margin: 0 0 .5rem;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.studio a { color: var(--accent-2); }

.colophon {
  padding: 1.1rem 5vw 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--muted);
}
.colophon a { color: var(--text); text-decoration: none; }
.colophon-links { display: flex; gap: 1.2rem; }

@media (max-width: 860px) {
  .games, .studio { grid-template-columns: 1fr; }
  .brand-hero { min-height: 56vh; }
}

@media (max-width: 620px) {
  .mast {
    align-items: flex-start;
    flex-direction: column;
  }
  .mast-links {
    width: 100%;
    gap: .9rem;
    justify-content: space-between;
    font-size: .65rem;
  }
}
