:root {
  --bg: #07080d;
  --bg-alt: #0f1018;
  --panel: #141622;
  --text: #e8ebf5;
  --muted: #aab0c7;
  --accent: #8196ff;
  --accent-strong: #a9b7ff;
  --border: #2a2f43;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: radial-gradient(circle at top, #191c2c 0%, var(--bg) 44%);
}

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

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

.nav-wrap {
  min-height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-banner {
  background: var(--bg);
  text-align: center;
  padding: 2rem 0 1.2rem;
  border: 1px solid var(--border);
}

.top-logo {
  width: min(320px, 60vw);
  height: auto;
  margin: 0 auto;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent-strong);
}

.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(129, 150, 255, 0.16),
      transparent 35%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(169, 183, 255, 0.09),
      transparent 42%
    );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 8, 13, 0.35),
    rgba(7, 8, 13, 0.86)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.45rem;
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 7vw, 4.5rem);
  margin-bottom: 1rem;
}

.tagline {
  max-width: 760px;
  margin: 0 auto 1.8rem;
  color: #d5dbf1;
  font-size: clamp(1rem, 2.1vw, 1.28rem);
}

.cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #12162b;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1.4rem;
  border-radius: 0.55rem;
  border: 1px solid #c8d1ff;
}

.cta-secondary {
  margin-top: 0.7rem;
}

.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  margin-bottom: 1rem;
}

.studio-panel,
.contact-block {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 1.4rem;
}

.game-showcase {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.art-card {
  margin: 0;
}

.art-card img {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.section-alt {
  background: #0b0d15;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 1.2rem;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  color: var(--accent-strong);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.15rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.7rem 0;
  }

  .nav-links {
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
