:root {
  --font-display: "Trebuchet MS", "Gill Sans", sans-serif;
  --font-body: "Avenir Next", "Segoe UI", sans-serif;
  --studio-ink: #fff7ef;
  --studio-bg: #160d0d;
  --studio-panel: rgba(52, 27, 27, 0.84);
  --studio-line: rgba(255, 184, 155, 0.22);
  --studio-accent: #ff7f50;
  --studio-accent-2: #ff4d73;
  --game-ink: #f7fbff;
  --game-bg: #071b2e;
  --game-panel: rgba(12, 39, 66, 0.82);
  --game-line: rgba(139, 213, 255, 0.2);
  --game-accent: #79d8ff;
  --game-accent-2: #ffd56a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: #f4f4f4;
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(16px);
}

body::before {
  width: 28rem;
  height: 28rem;
  top: -7rem;
  right: -8rem;
  border-radius: 999px;
}

body::after {
  width: 24rem;
  height: 24rem;
  bottom: -7rem;
  left: -7rem;
  border-radius: 999px;
}

.theme-studio {
  background:
    radial-gradient(circle at top right, rgba(255, 118, 79, 0.22), transparent 28rem),
    radial-gradient(circle at 15% 20%, rgba(255, 77, 115, 0.16), transparent 24rem),
    linear-gradient(180deg, #1a0f11 0%, #120c10 55%, #0d0a0d 100%);
  color: var(--studio-ink);
}

.theme-studio::before {
  background: rgba(255, 92, 92, 0.22);
}

.theme-studio::after {
  background: rgba(255, 150, 75, 0.16);
}

.theme-game {
  background:
    radial-gradient(circle at top right, rgba(53, 161, 255, 0.2), transparent 30rem),
    radial-gradient(circle at 18% 20%, rgba(255, 214, 95, 0.12), transparent 25rem),
    linear-gradient(180deg, #09233d 0%, #081a2d 56%, #06131f 100%);
  color: var(--game-ink);
}

.theme-game::before {
  background: rgba(73, 181, 255, 0.18);
}

.theme-game::after {
  background: rgba(255, 207, 93, 0.14);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.site-header,
.site-footer,
.hero,
.summary-card,
.featured-game,
.future-card,
.media-card,
.info-panel,
.faq-item,
.not-found {
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 999px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}

.theme-studio .site-header,
.theme-studio .site-footer,
.theme-studio .hero,
.theme-studio .summary-card,
.theme-studio .featured-game,
.theme-studio .future-card,
.theme-studio .media-card,
.theme-studio .info-panel,
.theme-studio .faq-item,
.theme-studio .not-found {
  background: var(--studio-panel);
  border: 1px solid var(--studio-line);
}

.theme-game .site-header,
.theme-game .site-footer,
.theme-game .hero,
.theme-game .summary-card,
.theme-game .featured-game,
.theme-game .future-card,
.theme-game .media-card,
.theme-game .info-panel,
.theme-game .faq-item,
.theme-game .not-found {
  background: var(--game-panel);
  border: 1px solid var(--game-line);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
}

.brand-logo {
  width: min(16rem, 44vw);
  height: auto;
}

.game-lockup {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a {
  font-size: 0.94rem;
  opacity: 0.85;
}

.top-nav a:hover,
.footer-links a:hover {
  opacity: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.hero-copy,
.hero-art,
.featured-copy,
.featured-visual {
  position: relative;
}

.hero-copy {
  align-self: center;
}

.hero-copy h1,
.hero-copy h2,
.section-heading h2,
.summary-card h2,
.future-card h3,
.media-card h3,
.info-panel h2,
.faq-item h3,
.not-found h1 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 7vw, 5.2rem);
  max-width: 10ch;
}

.hero-copy h2,
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.lead,
.body-copy {
  max-width: 62ch;
  line-height: 1.65;
}

.lead {
  font-size: 1.08rem;
  margin: 1rem 0 0;
}

.body-copy {
  margin: 1rem 0 0;
  opacity: 0.84;
}

.eyebrow,
.card-label {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.theme-studio .eyebrow,
.theme-studio .card-label {
  color: #ffb48e;
}

.theme-game .eyebrow,
.theme-game .card-label {
  color: #9ad9ff;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, opacity 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.theme-studio .button-primary {
  background: linear-gradient(135deg, var(--studio-accent), var(--studio-accent-2));
  color: #14090b;
}

.theme-game .button-primary {
  background: linear-gradient(135deg, var(--game-accent), var(--game-accent-2));
  color: #07111d;
}

.button-secondary {
  border: 1px solid currentColor;
  opacity: 0.9;
}

.hero-art {
  display: grid;
  place-items: center;
  min-height: 20rem;
  border-radius: calc(var(--radius-xl) - 8px);
  position: relative;
  overflow: hidden;
}

.theme-studio .hero-art,
.theme-studio .featured-visual {
  background:
    linear-gradient(160deg, rgba(255, 89, 89, 0.18), rgba(255, 169, 110, 0.08)),
    rgba(10, 6, 8, 0.26);
}

.theme-game .hero-art {
  background:
    linear-gradient(155deg, rgba(50, 171, 255, 0.16), rgba(255, 214, 107, 0.09)),
    rgba(6, 17, 27, 0.28);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px dashed rgba(255, 255, 255, 0.16);
}

.panel-logo {
  width: min(26rem, 100%);
}

.panel-note {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.25rem;
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.96rem;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.22);
}

.summary-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.summary-card,
.info-panel,
.media-card,
.faq-item,
.future-card {
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.summary-card p,
.future-card p,
.media-card p,
.info-panel p,
.faq-item p {
  line-height: 1.6;
  margin: 0.85rem 0 0;
}

.featured-game {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
}

.featured-visual {
  display: grid;
  place-items: center;
  padding: 1.25rem;
  border-radius: calc(var(--radius-xl) - 8px);
  min-height: 24rem;
}

.logo-stack {
  display: grid;
  gap: 1rem;
  align-items: center;
  justify-items: center;
}

.game-logo {
  width: min(24rem, 100%);
}

.brandmark {
  width: min(15rem, 70%);
}

.brandmark.large {
  width: min(17rem, 74%);
}

.hero-game-logo {
  width: min(26rem, 100%);
}

.text-logo {
  width: min(16rem, 78%);
  margin-top: 1rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.card-grid,
.media-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.future-card,
.media-card {
  min-height: 15rem;
}

.future-card-active {
  position: relative;
}

.future-card-active::after {
  content: "";
  position: absolute;
  inset: auto 1.4rem 1.4rem;
  height: 0.18rem;
  border-radius: 999px;
}

.theme-studio .future-card-active::after {
  background: linear-gradient(90deg, var(--studio-accent), var(--studio-accent-2));
}

.theme-game .future-card-active::after {
  background: linear-gradient(90deg, var(--game-accent), var(--game-accent-2));
}

.detail-list,
.requirements-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.detail-list li,
.requirements-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.45;
}

.detail-list li strong,
.requirements-list li strong {
  font-family: var(--font-display);
}

.detail-list.compact {
  margin-top: 1rem;
}

.media-section,
.faq-section {
  margin-bottom: 1.5rem;
}

.site-footer {
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.not-found {
  display: grid;
  place-items: start;
  min-height: 50vh;
  padding: 2rem;
  border-radius: var(--radius-xl);
}

@media (max-width: 960px) {
  .site-header,
  .site-footer {
    border-radius: 1.25rem;
  }

  .hero,
  .featured-game,
  .summary-grid,
  .info-grid,
  .card-grid,
  .media-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-art,
  .featured-visual {
    min-height: 18rem;
  }

  .detail-list li,
  .requirements-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--content-width));
    padding-top: 0.5rem;
  }

  .site-header,
  .site-footer,
  .hero,
  .featured-game,
  .summary-card,
  .future-card,
  .media-card,
  .info-panel,
  .faq-item,
  .not-found {
    padding: 1.1rem;
  }

  .brand-logo {
    width: 12rem;
  }

  .top-nav {
    gap: 0.75rem;
  }

  .top-nav a {
    font-size: 0.88rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }
}
