:root {
  --bg: #050507;
  --bg-soft: #0c0c11;
  --panel: rgba(20, 20, 26, 0.72);
  --panel-strong: rgba(28, 22, 22, 0.9);
  --line: rgba(255, 255, 255, 0.12);
  --cream: #fff6ea;
  --muted: #a6a8b8;
  --red: #ef2432;
  --red-dark: #5d1116;
  --gold: #ffd166;
  --cyan: #65efff;
  --mint: #6dffc2;
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(239, 36, 50, 0.2), transparent 32rem),
    radial-gradient(circle at 82% 4%, rgba(101, 239, 255, 0.16), transparent 28rem),
    linear-gradient(180deg, #07070a 0%, #020203 70%);
  color: var(--cream);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(239, 36, 50, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 239, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 82%);
  opacity: 0.38;
}

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

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

.ambient {
  position: fixed;
  z-index: -2;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.28;
  pointer-events: none;
}

.ambient-red {
  left: -10rem;
  top: 14rem;
  background: var(--red);
}

.ambient-cyan {
  right: -8rem;
  top: 34rem;
  background: var(--cyan);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  backdrop-filter: blur(22px);
  background: rgba(5, 5, 7, 0.72);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(101, 239, 255, 0.18), transparent 62%),
    linear-gradient(145deg, rgba(239, 36, 50, 0.22), rgba(5, 5, 7, 0.84));
  box-shadow: 0 0 28px rgba(239, 36, 50, 0.24), inset 0 0 18px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.brand-mark img {
  width: 112%;
  height: 112%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(101, 239, 255, 0.32));
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.nav a {
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d9dbe6;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.035);
  transition: 160ms ease;
}

.nav a:hover,
.nav a.active {
  border-color: rgba(239, 36, 50, 0.72);
  color: white;
  background: rgba(239, 36, 50, 0.16);
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 4rem 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.45em;
  text-transform: uppercase;
}

.eyebrow.gold {
  color: var(--gold);
}

.eyebrow.cyan {
  color: var(--cyan);
}

.eyebrow.mint {
  color: var(--mint);
}

.eyebrow.red {
  color: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 1000;
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 10vw, 8.6rem);
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 6.2vw, 6.5rem);
}

h3 {
  font-size: 1.1rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.lead,
.section-heading p,
.studio-copy p,
.contact-section p {
  color: #c9cad4;
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.8rem 0 1rem;
}

.hero-actions.centered {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #ff3240, #c70d1b);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(239, 36, 50, 0.32);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.045);
}

.safe-note {
  max-width: 36rem;
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: 1.2rem;
  background: rgba(255, 209, 102, 0.08);
  color: #f5dfad;
  font-size: 0.86rem;
  line-height: 1.5;
}

.hero-stage {
  position: relative;
  min-height: 38rem;
}

.orbital-card {
  position: absolute;
  inset: 4rem 0 auto auto;
  width: min(92%, 32rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2.4rem;
  background: var(--panel);
  box-shadow: 0 40px 100px var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: floatCard 6s ease-in-out infinite;
}

.orbital-card img {
  width: 100%;
  aspect-ratio: 1 / 1.22;
  object-fit: cover;
}

.hero-card-main img {
  background: #050507;
  object-fit: contain;
}

.orbital-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.18), transparent 62%);
  transform: translateX(-140%);
  animation: sheen 7s ease-in-out infinite;
}

.mini-stat {
  position: absolute;
  min-width: 9.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(9, 9, 12, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 55px var(--shadow);
}

.mini-stat span {
  display: block;
  color: white;
  font-size: 1.75rem;
  font-weight: 1000;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.mini-stat small {
  display: block;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stat-a {
  left: 0;
  top: 5rem;
}

.stat-b {
  right: 0;
  bottom: 8rem;
}

.stat-c {
  left: 3rem;
  bottom: 3rem;
}

.ticker {
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(239, 36, 50, 0.14), rgba(255, 209, 102, 0.08), rgba(101, 239, 255, 0.1));
}

.ticker div {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 1.05rem 0;
  animation: marquee 28s linear infinite;
}

.ticker span {
  color: white;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.split-section,
.studio-section,
.services-section,
.pc-section,
.contact-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

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

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

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.book-card,
.video-card,
.small-card,
.service-card,
.game-panel,
.wide-link {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.book-card {
  overflow: hidden;
}

.book-card img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  padding: 0.8rem;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(145deg, rgba(239, 42, 57, 0.08), rgba(0, 0, 0, 0.94));
  border-bottom: 1px solid var(--line);
}

.coming-soon-card {
  border-color: rgba(239, 42, 57, 0.45);
  box-shadow: 0 30px 90px rgba(239, 42, 57, 0.16);
}

.coming-soon-card img {
  background:
    radial-gradient(circle at 50% 15%, rgba(239, 42, 57, 0.2), transparent 40%),
    linear-gradient(145deg, rgba(60, 0, 0, 0.62), rgba(0, 0, 0, 0.96));
}

.book-card div,
.video-card,
.small-card,
.service-card {
  padding: 1.1rem;
}

.tag {
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 1000;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.book-card p:not(.tag),
.video-card p,
.small-card p,
.service-card p,
.game-panel p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.wide-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.25rem 1.35rem;
  color: white;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wide-link span {
  color: var(--cyan);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  object-fit: cover;
  background: black;
}

.video-card h3 {
  margin-top: 1rem;
}

.studio-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.studio-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--panel);
}

.studio-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #050507;
  object-fit: contain;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.4rem 0 1.6rem;
}

.feature-grid span {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.045);
  color: white;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.game-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1fr;
  gap: 1.3rem;
  align-items: center;
  padding: 1rem;
}

.game-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  object-fit: cover;
}

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

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.service-card span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.22em;
}

.pc-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.pc-copy,
.pc-panel {
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(101, 239, 255, 0.13), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  padding: clamp(1.25rem, 4vw, 2rem);
}

.pc-copy h2 {
  max-width: 13ch;
}

.pc-copy p,
.pc-panel p {
  color: #c9cad4;
  font-size: 1rem;
  line-height: 1.65;
}

.pc-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.pc-points span {
  border: 1px solid rgba(101, 239, 255, 0.2);
  border-radius: 1rem;
  background: rgba(101, 239, 255, 0.07);
  padding: 0.85rem;
  color: white;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pc-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pc-panel h3 {
  color: white;
  font-size: clamp(1.65rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  text-transform: none;
}

.pc-panel .btn {
  width: fit-content;
  margin-top: 0.8rem;
}

.contact-section {
  margin-bottom: 3rem;
  padding-inline: clamp(1rem, 4vw, 4rem);
  text-align: center;
  border: 1px solid rgba(239, 36, 50, 0.18);
  border-radius: 2.2rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(239, 36, 50, 0.22), transparent 28rem),
    rgba(255, 255, 255, 0.04);
}

.contact-section h2 {
  max-width: 14ch;
  margin-inline: auto;
}

.contact-section p {
  max-width: 48rem;
  margin-inline: auto;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 1000;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer a {
  color: var(--cyan);
}

.reveal {
  transform: translateY(22px);
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-18px) rotate(1.2deg);
  }
}

@keyframes sheen {
  0%,
  45% {
    transform: translateX(-140%);
  }
  70%,
  100% {
    transform: translateX(140%);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .studio-section,
  .game-panel,
  .pc-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 32rem;
  }

  .orbital-card {
    inset: 2rem auto auto 50%;
    animation: none;
    transform: translateX(-50%);
    width: min(90%, 28rem);
  }

  .stat-a {
    left: 0;
    top: 0;
  }

  .stat-b {
    right: 0;
    bottom: 4rem;
  }

  .stat-c {
    left: 1rem;
    bottom: 0;
  }

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

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

@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 1rem, 1180px);
  }

  h1 {
    font-size: clamp(3.3rem, 17vw, 5rem);
  }

  h2 {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
  }

  .nav a {
    padding: 0.65rem 0.75rem;
    font-size: 0.62rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .book-grid,
  .service-grid,
  .pc-points,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .studio-copy .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .studio-copy .btn {
    width: 100%;
  }

  .wide-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
  }
}
