:root {
  --bg-strong: #07111d;
  --bg-soft: #101a31;
  --surface: rgba(12, 20, 36, 0.82);
  --surface-soft: rgba(255, 255, 255, 0.06);
  --surface-line: rgba(255, 255, 255, 0.1);
  --text-light: #eef4ff;
  --text-light-muted: rgba(238, 244, 255, 0.74);
  --accent-cyan: #67e8f9;
  --accent-gold: #ffd166;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --shadow-lg: 0 28px 80px rgba(3, 8, 20, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text-light);
  background:
    radial-gradient(circle at 14% 14%, rgba(103, 232, 249, 0.16), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(249, 115, 193, 0.16), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(255, 209, 102, 0.08), transparent 32%),
    linear-gradient(160deg, var(--bg-strong) 0%, #0c1730 52%, #121730 100%);
}

h1,
h2,
h3,
.eyebrow,
.game-stat strong {
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

a,
button,
canvas {
  -webkit-tap-highlight-color: transparent;
}

.arcade-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.arcade-stage {
  width: min(100%, 980px);
  display: grid;
  gap: 1rem;
}

.arcade-copy {
  display: grid;
  gap: 0.7rem;
}

.arcade-hook {
  margin: 0;
  max-width: 30rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.2rem, 4vw, 1.65rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-points {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  display: grid;
  gap: 0.1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-points strong {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.95rem;
}

.hero-points span {
  color: var(--text-light-muted);
  font-size: 0.95rem;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-cta {
  appearance: none;
  min-height: 3.2rem;
  border-radius: 18px;
  border: 1px solid transparent;
  padding: 0.85rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-1px);
}

.hero-cta-primary {
  background: linear-gradient(135deg, #ffd166, #fb923c);
  color: #07111d;
}

.hero-cta-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
}

.hero-preview {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 20%, rgba(103, 232, 249, 0.14), transparent 34%),
    linear-gradient(160deg, rgba(8, 17, 29, 0.94), rgba(14, 19, 37, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.hero-preview-top,
.preview-pulse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-preview-label,
.hero-preview-tag,
.preview-pulse-copy,
.intel-eyebrow,
.impulse-eyebrow,
.tutorial-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-preview-tag {
  color: var(--accent-gold);
}

.preview-grid {
  position: relative;
  min-height: 9rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(5, 11, 20, 0.86);
  overflow: hidden;
}

.preview-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(103, 232, 249, 0.08) 1px, transparent 1px) 0 0 / 18% 100%,
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 25%;
  opacity: 0.65;
}

.preview-block {
  position: absolute;
  display: block;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 28px rgba(0, 0, 0, 0.28);
  animation: previewFloat 4.8s ease-in-out infinite;
}

.preview-block-a {
  left: 16%;
  top: 12%;
  background: linear-gradient(140deg, #9ff7ff, #38bdf8 70%, #0f172a);
}

.preview-block-b {
  left: 34%;
  top: 12%;
  background: linear-gradient(140deg, #ffe29f, #fb923c 70%, #3b0a06);
}

.preview-block-c {
  left: 52%;
  top: 12%;
  background: linear-gradient(140deg, #ffbadb, #f472b6 70%, #3f0526);
}

.preview-block-d {
  left: 34%;
  top: 30%;
  background: linear-gradient(140deg, #9ff7ff, #34d399 70%, #052e2b);
}

.preview-block-e {
  left: 52%;
  top: 30%;
  background: linear-gradient(140deg, #ffe29f, #ffd166 70%, #3b2a06);
}

.preview-block-f {
  left: 52%;
  top: 48%;
  background: linear-gradient(140deg, #ffbadb, #fb7185 70%, #3f0b11);
}

.preview-block-g {
  left: 70%;
  top: 48%;
  background: linear-gradient(140deg, #bfb6ff, #a78bfa 70%, #1f1537);
}

.preview-block-b,
.preview-block-e {
  animation-delay: 0.24s;
}

.preview-block-c,
.preview-block-f {
  animation-delay: 0.48s;
}

.preview-block-d,
.preview-block-g {
  animation-delay: 0.72s;
}

.preview-pulse-bar {
  flex: 1;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.preview-pulse-bar span {
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #67e8f9, #ffd166, #f472b6);
  animation: previewCharge 2.8s ease-in-out infinite;
}

.intel-grid {
  display: grid;
  gap: 0.8rem;
}

.intel-card {
  padding: 1rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(10, 17, 30, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.intel-card h2,
.impulse-panel h2 {
  margin: 0.15rem 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.15;
}

.intel-card p,
.access-copy p,
.impulse-copy p {
  margin: 0;
  color: var(--text-light-muted);
}

.intel-card-primary {
  background:
    radial-gradient(circle at 15% 18%, rgba(249, 115, 193, 0.14), transparent 34%),
    linear-gradient(160deg, rgba(10, 17, 30, 0.92), rgba(17, 21, 40, 0.88));
}

.access-copy {
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.mode-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 700;
}

.difficulty-strip {
  display: grid;
  gap: 0.55rem;
}

.difficulty-label {
  color: var(--text-light-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.difficulty-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.difficulty-btn {
  appearance: none;
  min-height: 2.9rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.difficulty-btn.is-active {
  background: linear-gradient(135deg, rgba(34, 193, 220, 0.24), rgba(22, 146, 199, 0.24));
  border-color: rgba(103, 232, 249, 0.34);
  color: #f5fbff;
}

.eyebrow {
  margin: 0;
  color: var(--accent-cyan);
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 10vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.arcade-lead {
  margin: 0;
  max-width: 34rem;
  color: var(--text-light-muted);
  font-size: clamp(1rem, 3.4vw, 1.15rem);
}

.game-shell {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    var(--surface);
  border: 1px solid rgba(103, 232, 249, 0.18);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transform: translateZ(0);
}

.game-shell.is-launching {
  animation: stageLaunch 920ms cubic-bezier(0.2, 0.9, 0.24, 1);
}

.game-shell.is-crashing {
  animation: stageCrash 1200ms cubic-bezier(0.22, 0.7, 0.22, 1);
}

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

.game-stat {
  padding: 0.75rem 0.8rem;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--surface-line);
}

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

.game-stat strong {
  display: block;
  margin-top: 0.28rem;
  font-size: 1.05rem;
}

.game-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 14;
  border-radius: calc(var(--radius-lg) + 2px);
  background: #050b14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.game-shell-actions {
  display: grid;
  gap: 0.7rem;
}

.game-shell-controls {
  display: grid;
  gap: 0.65rem;
}

.action-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.action-group-utility .btn {
  min-height: 2.8rem;
  font-size: 0.92rem;
}

.impulse-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 20%, rgba(103, 232, 249, 0.16), transparent 34%),
    linear-gradient(155deg, rgba(7, 15, 27, 0.95), rgba(15, 22, 40, 0.88));
  border: 1px solid rgba(103, 232, 249, 0.18);
}

.impulse-panel[data-ready="true"] {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 38px rgba(249, 115, 193, 0.14);
}

.impulse-copy {
  display: grid;
  gap: 0.35rem;
}

.impulse-meter {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.impulse-meter-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.impulse-meter-top span:first-child {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 800;
}

.impulse-meter-top span:last-child {
  color: var(--text-light-muted);
  font-size: 0.9rem;
}

.impulse-meter-track {
  display: block;
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.impulse-meter-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #67e8f9, #ffd166, #f472b6);
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.32);
  transition: width 0.18s ease;
}

.impulse-tooltip {
  color: var(--text-light-muted);
}

.impulse-tooltip summary {
  cursor: pointer;
  font-weight: 700;
}

.impulse-tooltip p {
  margin-top: 0.45rem;
  font-size: 0.94rem;
}

.btn-impulse {
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.96), rgba(249, 115, 193, 0.92));
  color: #07111d;
  min-height: 3.4rem;
  box-shadow: 0 18px 34px rgba(103, 232, 249, 0.18);
}

.btn-impulse[data-ready="true"] {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 18px 42px rgba(249, 115, 193, 0.26);
}

.tutorial-overlay {
  position: absolute;
  inset: auto 1rem 9.5rem 1rem;
  z-index: 4;
  display: grid;
  align-items: end;
  pointer-events: none;
}

.tutorial-overlay[hidden] {
  display: none;
}

.tutorial-card {
  pointer-events: auto;
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(5, 11, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(2, 6, 16, 0.4);
}

.tutorial-card h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.08;
}

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

.tutorial-card::before {
  content: "";
  display: block;
  min-height: 5.8rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 20%, rgba(103, 232, 249, 0.26), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 16% 100%,
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(160deg, rgba(9, 16, 29, 0.94), rgba(20, 24, 42, 0.84));
}

.tutorial-card[data-scene="2"]::before {
  background:
    radial-gradient(circle at 24% 42%, rgba(167, 139, 250, 0.3), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 16% 100%,
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(160deg, rgba(12, 17, 31, 0.94), rgba(28, 20, 45, 0.84));
}

.tutorial-card[data-scene="3"]::before {
  background:
    radial-gradient(circle at 74% 38%, rgba(255, 209, 102, 0.32), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 16% 100%,
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(160deg, rgba(13, 20, 34, 0.94), rgba(42, 20, 37, 0.84));
}

.tutorial-card[data-scene="4"]::before {
  background:
    radial-gradient(circle at 50% 30%, rgba(110, 231, 183, 0.28), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 16% 100%,
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(160deg, rgba(8, 19, 30, 0.94), rgba(16, 36, 35, 0.84));
}

.tutorial-progress {
  display: grid;
  gap: 0.45rem;
}

.tutorial-progress span:first-child {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.tutorial-progress-bar {
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.tutorial-progress-bar span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #67e8f9, #ffd166);
  transition: width 0.25s ease;
}

.tutorial-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.8rem 1rem;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:focus-visible,
.hero-cta:focus-visible,
.touch-btn:focus-visible,
.difficulty-btn:focus-visible,
.impulse-tooltip summary:focus-visible {
  outline: 2px solid rgba(103, 232, 249, 0.92);
  outline-offset: 2px;
}

.btn:disabled,
.touch-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, #22c1dc, #1692c7);
  color: #08111f;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-light);
}

.btn[data-audio-state="on"] {
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.22), rgba(249, 115, 193, 0.18));
  border-color: rgba(103, 232, 249, 0.32);
}

.touch-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

body[data-device-profile="desktop"] .touch-controls {
  display: none;
}

body[data-device-profile="desktop"] .game-shell {
  border-color: rgba(249, 115, 193, 0.18);
  box-shadow:
    0 28px 80px rgba(3, 8, 20, 0.38),
    inset 0 0 0 1px rgba(249, 115, 193, 0.08);
}

body[data-device-profile="mobile"] .game-shell {
  border-color: rgba(103, 232, 249, 0.22);
  box-shadow:
    0 28px 80px rgba(3, 8, 20, 0.38),
    inset 0 0 0 1px rgba(103, 232, 249, 0.08);
}

body[data-device-profile="mobile"] .touch-controls {
  display: grid;
}

.touch-btn {
  appearance: none;
  min-height: 3.55rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(103, 232, 249, 0.14), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  padding: 0.8rem 0.7rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  touch-action: manipulation;
}

.touch-btn:hover,
.touch-btn:focus-visible {
  background:
    linear-gradient(180deg, rgba(103, 232, 249, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
}

.controls-section {
  display: grid;
  gap: 0.8rem;
}

.controls-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.controls-header h2 {
  margin: 0;
  font-size: 1.15rem;
}

.controls-grid {
  display: grid;
  gap: 0.8rem;
}

.controls-card {
  padding: 1rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(9, 15, 28, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.controls-card-active,
body[data-device-profile="desktop"] .controls-card-desktop,
body[data-device-profile="mobile"] .controls-card-touch {
  border-color: rgba(103, 232, 249, 0.22);
}

.controls-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.controls-list {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.controls-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

kbd,
.controls-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.2rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.controls-list span:last-child {
  color: var(--text-light-muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 620px) {
  .hero-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-preview {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

  .touch-controls {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .arcade-page {
    padding: 1.4rem;
  }

  .arcade-stage {
    gap: 1.2rem;
  }

  .arcade-copy {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: start;
    column-gap: 1rem;
  }

  .arcade-copy > .eyebrow,
  .arcade-copy > h1,
  .arcade-copy > .arcade-hook,
  .arcade-copy > .arcade-lead,
  .arcade-copy > .hero-points,
  .arcade-copy > .hero-actions,
  .arcade-copy > .mode-strip,
  .arcade-copy > .difficulty-strip {
    grid-column: 1;
  }

  .arcade-copy > .hero-preview {
    grid-column: 2;
    grid-row: 1 / span 6;
    align-self: stretch;
  }

  .intel-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .game-shell {
    padding: 1rem;
  }

  .game-canvas {
    aspect-ratio: 49 / 36;
  }

  .game-shell-top {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

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

  .impulse-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@keyframes previewFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes previewCharge {
  0%,
  100% {
    width: 24%;
    transform: translateX(0);
  }

  50% {
    width: 84%;
    transform: translateX(12%);
  }
}

@keyframes stageLaunch {
  0% {
    transform: scale(0.976) translateY(18px);
    filter: saturate(0.7) brightness(0.82);
  }

  38% {
    transform: scale(1.016) translateY(-5px);
    filter: saturate(1.2) brightness(1.08);
  }

  100% {
    transform: scale(1) translateY(0);
    filter: saturate(1) brightness(1);
  }
}

@keyframes stageCrash {
  0% {
    transform: scale(1);
    filter: saturate(1) brightness(1);
  }

  24% {
    transform: scale(1.012) translateY(-2px);
    filter: saturate(1.28) brightness(1.12);
  }

  52% {
    transform: scale(0.992) translateY(4px);
    filter: saturate(0.8) brightness(0.9);
  }

  100% {
    transform: scale(1) translateY(0);
    filter: saturate(1) brightness(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
