:root {
  --bg: #050a14;
  --bg-soft: #0b1423;
  --panel: rgba(8, 18, 35, 0.82);
  --panel-strong: rgba(10, 23, 44, 0.94);
  --line: rgba(117, 190, 255, 0.22);
  --text: #eff7ff;
  --muted: #98afc8;
  --blue-1: #59c5ff;
  --blue-2: #1d69d8;
  --blue-3: #0e234d;
  --gold: #f0b549;
  --gold-soft: #ffd98a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-sm: 18px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(89, 197, 255, 0.2), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(240, 181, 73, 0.16), transparent 18%),
    radial-gradient(circle at 80% 10%, rgba(89, 197, 255, 0.22), transparent 22%),
    linear-gradient(180deg, #08111f 0%, #050a14 45%, #03060d 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0) 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
  pointer-events: none;
}

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

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

.page-shell {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(3, 8, 18, 0.72);
  border-bottom: 1px solid rgba(117, 190, 255, 0.1);
}

.header-inner {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

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

.brand img {
  width: 168px;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(89, 197, 255, 0.32));
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-socials a {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(117, 190, 255, 0.18);
  background: rgba(89, 197, 255, 0.08);
  color: var(--text);
  transition: 180ms ease;
}

.header-socials a:hover {
  border-color: rgba(240, 181, 73, 0.32);
  background: rgba(240, 181, 73, 0.12);
  color: var(--gold-soft);
  transform: translateY(-1px);
}

.social-mark {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.site-nav a {
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: rgba(117, 190, 255, 0.2);
  color: var(--text);
  background: rgba(89, 197, 255, 0.08);
}

main {
  padding: 2rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(240, 181, 73, 0.28);
  background: rgba(240, 181, 73, 0.08);
}

.hero h1,
.page-intro h1,
.title-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.95;
  margin: 1rem 0;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  letter-spacing: -0.05em;
}

.hero p,
.page-intro p,
.title-summary {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button {
  color: #08111f;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 14px 28px rgba(240, 181, 73, 0.26);
}

.button-secondary {
  border: 1px solid rgba(117, 190, 255, 0.25);
  background: rgba(89, 197, 255, 0.08);
}

.button:hover,
.button-secondary:hover,
.card:hover,
.feature-card:hover {
  transform: translateY(-2px);
}

.hero-card,
.feature-card,
.card,
.info-panel,
.title-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 24, 44, 0.92), rgba(6, 13, 25, 0.95));
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.35rem;
  border-radius: calc(var(--radius) + 6px);
}

.hero-card::before,
.feature-card::before,
.card::before,
.info-panel::before,
.title-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(89, 197, 255, 0.16), transparent 45%),
    radial-gradient(circle at top right, rgba(240, 181, 73, 0.14), transparent 25%);
  pointer-events: none;
}

.hero-card img {
  width: 100%;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  padding: 1rem;
}

.cover-art-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(117, 190, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.cover-art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.stat {
  color: var(--muted);
  font-size: 0.92rem;
}

.stat strong {
  display: block;
  color: var(--text);
  font-size: 1.4rem;
  margin-top: 0.15rem;
}

.section-heading,
.page-intro {
  margin-bottom: 1.6rem;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.section-heading h2,
.page-intro h1,
.related h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.section-heading p,
.page-intro p,
.related p {
  margin: 0.65rem 0 0;
}

.grid {
  display: grid;
  gap: 1.3rem;
}

.grid.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card,
.card {
  border-radius: var(--radius);
  padding: 1.35rem;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  gap: 1rem;
  align-items: center;
}

.feature-card .cover {
  width: 100%;
  max-width: 220px;
  justify-self: end;
}

.tag-row,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag,
.meta-pill {
  display: inline-flex;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag {
  background: rgba(89, 197, 255, 0.12);
  border: 1px solid rgba(89, 197, 255, 0.18);
  color: #bee9ff;
}

.meta-pill {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.card h3,
.feature-card h3 {
  font-size: 1.35rem;
  margin: 0.8rem 0 0.6rem;
}

.card p,
.feature-card p,
.detail-copy p,
.store-list li {
  color: var(--muted);
  line-height: 1.7;
}

.card .cover,
.feature-card .cover,
.title-poster {
  border-radius: calc(var(--radius-sm) + 2px);
  border: 1px solid rgba(117, 190, 255, 0.16);
  background:
    linear-gradient(160deg, rgba(89, 197, 255, 0.16), rgba(29, 105, 216, 0.14)),
    linear-gradient(180deg, rgba(240, 181, 73, 0.09), transparent 45%);
  min-height: 260px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cover.has-image,
.title-poster.has-image {
  min-height: unset;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.cover.has-image img,
.title-poster.has-image img {
  width: 100%;
  height: 100%;
  display: block;
}

.cover small,
.title-poster small {
  color: var(--gold-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cover strong,
.title-poster strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.cover span,
.title-poster span {
  color: #b9dfff;
}

.split-layout,
.title-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.3rem;
}

.arcade-banner {
  margin: 0 0 2rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(240, 181, 73, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(14, 35, 77, 0.95), rgba(4, 11, 25, 0.98));
  box-shadow: var(--shadow);
}

.arcade-banner-copy {
  margin-bottom: 1rem;
}

.arcade-banner-copy h2 {
  margin: 0.8rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.arcade-banner-copy p {
  margin: 0.7rem 0 0;
  max-width: 56ch;
  color: var(--muted);
}

.arcade-shell {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-sm) + 2px);
  border: 1px solid rgba(117, 190, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(17, 45, 96, 0.85), rgba(4, 10, 24, 0.95)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 22px
    );
}

.arcade-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(89, 197, 255, 0.14), transparent 24%);
  pointer-events: none;
}

.arcade-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  cursor: pointer;
}

.arcade-ui {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1rem 1rem;
  border-top: 1px solid rgba(117, 190, 255, 0.14);
  background: rgba(3, 8, 18, 0.7);
}

.arcade-ui span {
  color: var(--muted);
  font-size: 0.92rem;
}

.arcade-ui .button-secondary {
  min-height: 2.7rem;
}

.author-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 1.3rem;
}

.info-panel,
.title-hero {
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem;
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-clean li + li {
  margin-top: 0.95rem;
}

.store-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(117, 190, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.store-list a:hover {
  border-color: rgba(240, 181, 73, 0.28);
  background: rgba(240, 181, 73, 0.06);
}

.detail-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: 1fr 1fr;
}

.detail-copy h2,
.related h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

.author-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(160deg, rgba(89, 197, 255, 0.12), rgba(240, 181, 73, 0.08));
}

.author-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  display: block;
}

.author-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.25rem 0 0;
}

.author-stat {
  padding: 0.8rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(117, 190, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  min-width: 140px;
}

.author-stat small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.author-stat strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.1rem;
}

.author-line {
  color: var(--muted);
  margin-top: -0.2rem;
  margin-bottom: 1rem;
}

.author-line a {
  color: #bee9ff;
}

.author-line a:hover {
  color: var(--gold-soft);
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.4fr 0.9fr 0.9fr;
}

.footer-panel {
  border-top: 1px solid rgba(117, 190, 255, 0.12);
  padding-top: 1.5rem;
  color: var(--muted);
}

.footer-panel strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-links a:hover {
  color: var(--gold-soft);
}
.site-footer {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .split-layout,
  .title-layout,
  .author-layout,
  .arcade-banner,
  .grid.cards-3,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-intro h1,
  .title-hero h1 {
    line-height: 1;
  }

  .brand img {
    width: 140px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0.85rem 0;
  }

  .brand {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav,
  .header-socials {
    width: 100%;
    justify-content: center;
  }

  .brand-copy {
    display: none;
  }

  .hero,
  main {
    padding-top: 1rem;
  }

  .arcade-banner {
    padding: 1.1rem;
  }

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

  .hero-card,
  .feature-card,
  .card,
  .info-panel,
  .title-hero {
    padding: 1.1rem;
  }
}
