/* ============================================
   PROJECT: ORACLE — Pages Games
   Premium Cyberpunk Static Site
   ============================================ */

:root {
  --bg-deep: #060608;
  --bg-dark: #0a0a0e;
  --bg-card: rgba(10, 10, 14, 0.6);
  --bg-glass: rgba(10, 10, 14, 0.35);

  --accent: #b794f6;
  --accent-dim: rgba(183, 148, 246, 0.45);
  --neon-purple: #a78bfa;
  --neon-magenta: #c084fc;
  --neon-blue: #60a5fa;
  --neon-cyan: #67e8f9;

  --text-primary: #ececef;
  --text-secondary: #9b9ba8;
  --text-muted: #636372;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(183, 148, 246, 0.35);

  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 64px;
  --section-pad: clamp(72px, 10vw, 120px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Site layers above Galaxy background */
.hero,
.section,
.footer {
  position: relative;
  z-index: 1;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.container {
  width: min(1140px, calc(100vw - 32px));
  margin-inline: auto;
}

.text-accent {
  color: var(--accent);
  font-weight: 600;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   Navigation — always transparent
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease-out);
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.55) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0.85;
}

.nav--scrolled {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  transition: opacity 0.25s ease;
}

.nav__logo:hover {
  opacity: 0.85;
}

.nav__logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s var(--ease-out);
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(6, 6, 8, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--border-subtle);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}

.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  position: relative;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  animation: heroZoom 20s var(--ease-smooth) infinite alternate;
  opacity: 0.72;
  mix-blend-mode: luminosity;
}

@keyframes heroZoom {
  from { transform: scale(1.08) translateY(0); }
  to { transform: scale(1.14) translateY(-1%); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(5, 5, 8, 0.45) 0%,
      rgba(5, 5, 8, 0.25) 40%,
      rgba(5, 5, 8, 0.88) 85%,
      rgba(5, 5, 8, 0.95) 100%),
    linear-gradient(90deg,
      rgba(5, 5, 8, 0.6) 0%,
      transparent 30%,
      transparent 70%,
      rgba(5, 5, 8, 0.6) 100%),
    radial-gradient(ellipse at 50% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
}

.hero__fog {
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.01' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.06;
  animation: fogDrift 30s linear infinite;
}

@keyframes fogDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-5%); }
}

.hero__rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--neon-cyan);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
  box-shadow: 0 0 6px var(--neon-cyan);
}

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0); }
  20% { opacity: 0.8; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-120px); }
}

.hero__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 48px;
  max-width: 900px;
  margin-inline: auto;
}

.hero__label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 24px;
}

.hero__title-line {
  display: block;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.hero__title-accent {
  display: block;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--text-primary);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 28ch;
  margin-inline: auto;
}

.hero__head {
  will-change: transform;
}

/* ============================================
   Sections — Shared
   ============================================ */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 10px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.6;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   About
   ============================================ */
.about {
  background: rgba(6, 6, 8, 0.72);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.about__frame img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.about__frame:hover img {
  transform: scale(1.03);
}

.about__frame-glow {
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), transparent 50%, rgba(59, 130, 246, 0.15));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.about__frame:hover .about__frame-glow {
  opacity: 1;
}

.about__lead {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.about__body {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.about__body p {
  margin-bottom: 16px;
}

.about__emphasis {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent) !important;
  padding: 12px 0;
}

.about__closing {
  font-size: 1.15rem;
  color: var(--text-primary) !important;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  line-height: 1.8;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.about__tags span {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: transparent;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
}

.about__tags span:hover {
  border-color: var(--accent-dim);
  color: var(--text-primary);
}

/* ============================================
   Gameplay
   ============================================ */
.gameplay {
  background: rgba(6, 6, 8, 0.65);
}

.gameplay__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.game-card {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
}

.game-card__icon {
  width: 48px;
  height: 48px;
  color: var(--neon-purple);
  margin-bottom: 20px;
  transition: color 0.3s, transform 0.3s;
}

.game-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.game-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.game-card__border {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-magenta), var(--neon-blue)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-dim);
}

.game-card:hover .game-card__border {
  opacity: 0;
}

.game-card:hover .game-card__icon {
  color: var(--accent);
}

.gameplay__showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.showcase__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--border-subtle);
}

.showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.showcase__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(0deg, rgba(5, 5, 8, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.showcase__overlay span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
}

.showcase__item:hover img {
  transform: scale(1.08);
}

.showcase__item:hover .showcase__overlay {
  opacity: 1;
}

/* ============================================
   Bosses
   ============================================ */
.bosses {
  background: rgba(6, 6, 8, 0.72);
}

.bosses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.boss-card {
  position: relative;
  padding: 36px 32px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  transition: all 0.5s var(--ease-out);
  overflow: hidden;
}

.boss-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.boss-card__id {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

.boss-card__threat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid;
}

.boss-card[data-threat="extreme"] .boss-card__threat {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
}

.boss-card[data-threat="critical"] .boss-card__threat {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.08);
}

.boss-card[data-threat="absolute"] .boss-card__threat {
  color: var(--neon-magenta);
  border-color: rgba(217, 70, 239, 0.4);
  background: rgba(217, 70, 239, 0.08);
}

.boss-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  transition: color 0.3s;
}

.boss-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.boss-card__meter span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.boss-card__bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.boss-card__fill {
  height: 100%;
  width: var(--fill);
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out);
}

.boss-card.visible .boss-card__fill {
  transform: scaleX(1);
}

.boss-card__glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.boss-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-dim);
}

.boss-card:hover .boss-card__glow {
  opacity: 1;
}

.boss-card:hover .boss-card__name {
  color: var(--neon-purple);
}

.boss-card[data-threat="absolute"]:hover .boss-card__name {
  color: var(--neon-magenta);
}

/* ============================================
   Story Timeline
   ============================================ */
.story {
  background: rgba(6, 6, 8, 0.65);
}

.timeline {
  position: relative;
  max-width: 700px;
  margin-inline: auto;
  padding-left: 40px;
}

.timeline__line {
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--neon-purple), var(--neon-magenta));
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
  transition: height 0.1s linear;
}

.timeline__item {
  position: relative;
  padding-bottom: 56px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--text-muted);
  transition: all 0.4s var(--ease-out);
  z-index: 2;
}

.timeline__item.visible .timeline__dot {
  border-color: var(--neon-purple);
  background: var(--neon-purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.timeline__content {
  padding: 24px 28px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease-out);
}

.timeline__item.visible .timeline__content {
  border-color: rgba(168, 85, 247, 0.25);
}

.timeline__item:hover .timeline__content {
  transform: translateX(8px);
  box-shadow: -8px 0 30px rgba(168, 85, 247, 0.08);
}

.timeline__year {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.timeline__content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.timeline__content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
  background: rgba(6, 6, 8, 0.72);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 12px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 8, 0.85) 0%, rgba(5, 5, 8, 0.2) 50%, transparent 100%);
  transition: background 0.4s;
}

.gallery__item figcaption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-out);
}

.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.gallery__item:hover::after {
  background: linear-gradient(0deg, rgba(5, 5, 8, 0.7) 0%, rgba(168, 85, 247, 0.1) 100%);
}

.gallery__item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Studio
   ============================================ */
.studio__inner {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(48px, 8vw, 80px);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.studio__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-purple), var(--neon-magenta), transparent);
}

.studio__mark {
  flex-shrink: 0;
  animation: studioFloat 6s ease-in-out infinite;
}

.studio__logo {
  display: block;
  width: clamp(140px, 22vw, 220px);
  height: auto;
  object-fit: contain;
}

@keyframes studioFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.studio__content .section__tag {
  text-align: left;
}

.studio__content .section__title {
  text-align: left;
  margin-bottom: 24px;
}

.studio__content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 600px;
}

.studio__content p strong {
  color: var(--text-primary);
}

/* ============================================
   Footer bar (ASCII hero: ascii-footer.css)
   ============================================ */
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer__game {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out);
}

.footer__icon svg {
  width: 18px;
  height: 18px;
}

.footer__icon:hover {
  color: var(--neon-purple);
  border-color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
  transform: translateY(-2px);
}

.footer__copy {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__visual {
    order: -1;
  }

  .gameplay__showcase {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery__item--large,
  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__item {
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__logo-text {
    font-size: 0.85rem;
  }

  .nav__inner {
    width: calc(100vw - 24px);
  }

  .nav__mobile {
    display: flex;
  }

  .hero__download {
    width: 100%;
    padding-inline: 16px;
  }

  .gameplay__grid {
    grid-template-columns: 1fr;
  }

  .bosses__grid {
    grid-template-columns: 1fr;
  }

  .studio__inner {
    flex-direction: column;
    text-align: center;
  }

  .studio__content .section__tag,
  .studio__content .section__title {
    text-align: center;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__copy {
    text-align: center;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item--large,
  .gallery__item--wide {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
