/* VARIABLES & THEME */
:root {
  --bg-color: #0D0B1E;
  --panel-color: #16132E;
  --border-color: #332E63;
  --teal: #3FE0C5;
  --blue: #4FC3F7;
  --gold: #FFCC00;
  --pink: #FF6B9D;
  --text-color: #DCD9EC;
  --text-muted: #8A85B3;
  
  --font-pixel: 'Press Start 2P', cursive;
  --font-body: 'Inter', sans-serif;
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* TEXT SELECTION */
::selection {
  background-color: var(--pink);
  color: #fff;
}

/* LAYERS */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

#game-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
}

#cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  pointer-events: none;
}

/* CRT EFFECTS */
#crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 3px 100%;
  box-shadow: inset 0 0 100px rgba(0,0,0,0.9);
}

/* UI LAYER */
#ui-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  pointer-events: none;
}

#fly-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-pixel);
  font-size: 14px;
  color: var(--gold);
  text-shadow: 2px 2px 0px rgba(0,0,0,1);
  transition: transform 0.2s, color 0.5s;
}

#fly-counter.pulse {
  transform: scale(1.2);
  color: #FFF;
}

#dpad {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

#dpad.hidden {
  display: none;
}

.dpad-btn {
  background: var(--panel-color);
  border: 2px solid var(--border-color);
  color: var(--teal);
  font-family: var(--font-pixel);
  width: 48px;
  height: 48px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  user-select: none;
  box-shadow: 0 4px 0 var(--border-color);
}

.dpad-btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--border-color);
}

/* BOOT SCREEN */
#boot-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #050505;
  z-index: 9999;
  display: flex;
  padding: 40px;
  font-family: var(--font-pixel);
  color: #3FE0C5;
  transition: opacity 0.5s ease-out;
}

#boot-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.terminal {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

#boot-text {
  font-size: 16px;
  line-height: 2;
  white-space: pre-wrap;
  text-shadow: 0 0 5px rgba(63, 224, 197, 0.5);
}

#skip-boot {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-pixel);
  cursor: pointer;
  font-size: 12px;
}

#skip-boot:hover {
  color: #FFF;
}

/* CELEBRATION OVERLAY */
#celebration-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 11, 30, 0.9);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

#celebration-overlay.hidden {
  display: none;
}

.celebration-box {
  background: var(--panel-color);
  border: 4px solid var(--gold);
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(255, 204, 0, 0.2);
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.celebration-box h2 {
  font-family: var(--font-pixel);
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 20px;
}

#btn-close-celebration {
  margin-top: 30px;
  background: var(--gold);
  color: #000;
  border: none;
  padding: 10px 20px;
  font-family: var(--font-pixel);
  cursor: pointer;
  border-radius: 4px;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* TYPOGRAPHY & COMMON COMPONENTS */
h1, h2, h3, .font-pixel {
  font-family: var(--font-pixel);
  font-weight: normal;
  text-transform: uppercase;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--blue);
}

.btn {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 12px;
  padding: 12px 20px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  background: transparent;
  color: inherit;
  position: relative;
  z-index: 20;
}

.btn-primary {
  background-color: var(--teal);
  color: #000;
  border-color: var(--teal);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
}

.btn-primary:hover {
  background-color: #FFF;
  color: #000;
  border-color: #FFF;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
}

.btn-secondary {
  border-color: var(--border-color);
  color: var(--text-color);
  background-color: var(--panel-color);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-sm {
  font-size: 10px;
  padding: 8px 12px;
}

/* CONTENT LAYOUT */
#content {
  position: relative;
  z-index: 5;
}

.room {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  border-bottom: 2px dashed var(--border-color);
  position: relative;
}

.room-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  opacity: 0.1;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.room.room-active .room-container {
  opacity: 1;
  transform: translateY(0);
}

.no-js .room-container {
  opacity: 1;
  transform: none;
}

/* If JavaScript never runs, the boot screen must not trap the visitor,
   and every piece of content must still be readable. */
.no-js #boot-screen,
.no-js #game-layer,
.no-js #cursor-trail,
.no-js #fly-counter {
  display: none !important;
}

.no-js .card-details {
  max-height: none;
  opacity: 1;
  overflow: visible;
  margin-top: 20px;
}

.no-js .contact-info {
  opacity: 1;
  pointer-events: auto;
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 24px;
  color: var(--pink);
  margin: 0 0 10px 0;
  letter-spacing: 2px;
}

.subheading {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* GLITCH EFFECT */
.glitch-text {
  position: relative;
}

.room.room-active .glitch-text::before,
.room.room-active .glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.room.room-active .glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 red;
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim 2s infinite linear alternate-reverse;
}

.room.room-active .glitch-text::after {
  left: -2px;
  text-shadow: -2px 0 blue;
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(10px, 9999px, 86px, 0); }
  20% { clip: rect(31px, 9999px, 14px, 0); }
  40% { clip: rect(69px, 9999px, 10px, 0); }
  60% { clip: rect(44px, 9999px, 57px, 0); }
  80% { clip: rect(89px, 9999px, 4px, 0); }
  100% { clip: rect(15px, 9999px, 78px, 0); }
}

@keyframes glitch-anim-2 {
  0% { clip: rect(65px, 9999px, 100px, 0); }
  20% { clip: rect(10px, 9999px, 55px, 0); }
  40% { clip: rect(89px, 9999px, 12px, 0); }
  60% { clip: rect(42px, 9999px, 79px, 0); }
  80% { clip: rect(24px, 9999px, 44px, 0); }
  100% { clip: rect(78px, 9999px, 13px, 0); }
}

/* ROOM 1: HERO */
.hero-name {
  font-family: var(--font-pixel);
  font-size: 42px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 2px;
  text-shadow: 5px 5px 0 #2E2A5E, 0 0 26px rgba(63, 224, 197, 0.35);
}

.hero-role {
  font-family: var(--font-pixel);
  font-size: 13px;
  color: var(--gold, #FFCC00);
  margin-bottom: 26px;
  letter-spacing: 1px;
}

#room-1 h1 {
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 30px;
  color: var(--teal);
  text-shadow: 4px 4px 0 rgba(0,0,0,0.8);
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 20;
}

.lead {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

.sub {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 16px;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* ROOM 2: GAME ARCADE */
.arcade-cabinet {
  background: var(--panel-color);
  border: 4px solid #2A2552;
  border-radius: 12px 12px 0 0;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 20px rgba(0,0,0,0.5);
  width: 100%;
  max-width: 800px;
  position: relative;
  transition: all 0.3s ease;
  z-index: 20;
}

.arcade-cabinet.expanded {
  position: fixed;
  top: 5vh;
  left: 5vw;
  width: 90vw;
  height: 90vh;
  max-width: none;
  z-index: 9000;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.arcade-cabinet.expanded .screen-bezel {
  flex: 1;
}

.marquee {
  background: #111;
  border: 2px solid #222;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.marquee h2 {
  margin: 0;
  color: var(--gold);
  font-size: 18px;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.lights.blink {
  color: var(--pink);
  animation: blink-fast 0.5s infinite alternate;
}

.screen-bezel {
  background: #000;
  border: 15px solid #0a0a0a;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
}

.screen-bezel iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.cabinet-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px 0;
  font-family: var(--font-pixel);
  font-size: 12px;
}

.insert-coin {
  color: var(--gold);
}

.badge {
  background: var(--teal);
  color: #000;
  padding: 5px 10px;
  border-radius: 4px;
}

.expand-btn {
  background: none;
  border: 2px solid var(--border-color);
  color: var(--text-color);
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 16px;
}

.expand-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.game-caption {
  margin-top: 30px;
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
}

.fallback-link {
  display: inline-block;
  margin-top: 15px;
  font-family: var(--font-pixel);
  font-size: 12px;
}

@keyframes blink-fast {
  from { opacity: 0.2; }
  to { opacity: 1; }
}

@keyframes blink-slow {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}
.blink-slow {
  animation: blink-slow 2s infinite;
}

/* ROOM 3 & 4: CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 20;
}

.project-card {
  background: var(--panel-color);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card:hover, .project-card:focus {
  border-color: var(--teal);
  transform: translateY(-5px);
  outline: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 15px rgba(63, 224, 197, 0.1);
}

.circuit-card:hover, .circuit-card:focus {
  border-color: var(--blue);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 15px rgba(79, 195, 247, 0.1);
}

.card-marquee {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.card-marquee h3 {
  font-size: 16px;
  margin: 0;
  color: #FFF;
  max-width: 70%;
  line-height: 1.4;
}

.status-badge {
  font-family: var(--font-pixel);
  font-size: 8px;
  padding: 4px 8px;
  border-radius: 4px;
}

.status-released { background: rgba(63, 224, 197, 0.2); color: var(--teal); border: 1px solid var(--teal); }
.status-playable { background: rgba(79, 195, 247, 0.2); color: var(--blue); border: 1px solid var(--blue); }
.status-systems { background: rgba(255, 107, 157, 0.2); color: var(--pink); border: 1px solid var(--pink); }

.card-summary p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.stack-tags span {
  font-family: var(--font-pixel);
  font-size: 8px;
  background: #000;
  padding: 4px 8px;
  border-radius: 2px;
  color: #999;
}

.card-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.project-card:hover .card-details,
.project-card:focus .card-details,
.project-card.expanded .card-details {
  max-height: 500px;
  opacity: 1;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.card-details ul {
  padding-left: 20px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #CCC;
}

.card-details li {
  margin-bottom: 8px;
}

.card-links {
  display: flex;
  gap: 10px;
}

/* ROOM 5: INVENTORY */
.inventory-shelves {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 20;
}

.shelf-title {
  font-size: 14px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.text-teal { color: var(--teal); border-color: rgba(63,224,197,0.3) !important; }
.text-blue { color: var(--blue); border-color: rgba(79,195,247,0.3) !important; }
.text-gold { color: var(--gold); border-color: rgba(255,204,0,0.3) !important; }
.text-pink { color: var(--pink); border-color: rgba(255,107,157,0.3) !important; }
.text-muted { color: var(--text-muted); }

.chip-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-chip {
  background: var(--panel-color);
  border: 2px solid;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: default;
  transition: all 0.3s;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.skill-chip:hover {
  transform: translateY(-5px) rotate(2deg);
  box-shadow: 4px 6px 0 rgba(0,0,0,0.5);
}

.chip-teal { border-color: var(--teal); color: var(--teal); }
.chip-teal:hover { background: rgba(63,224,197,0.1); }

.chip-blue { border-color: var(--blue); color: var(--blue); }
.chip-blue:hover { background: rgba(79,195,247,0.1); }

.chip-gold { border-color: var(--gold); color: var(--gold); }
.chip-gold:hover { background: rgba(255,204,0,0.1); }

.chip-pink { border-color: var(--pink); color: var(--pink); }
.chip-pink:hover { background: rgba(255,107,157,0.1); }

.chip-learning {
  border-color: var(--text-muted);
  border-style: dashed;
  opacity: 0.6;
  color: var(--text-muted);
}
.chip-learning:hover {
  opacity: 1;
  background: rgba(255,255,255,0.05);
}
.learning-star {
  color: var(--gold);
}

/* ROOM 6: ABOUT */
.split-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  position: relative;
  z-index: 20;
}

.about-story {
  flex: 1;
}

.story-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #CCC;
}

.about-stats {
  flex: 1;
  background: var(--panel-color);
  border: 2px solid var(--border-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.stat-group {
  margin-bottom: 25px;
}
.stat-group:last-child {
  margin-bottom: 0;
}

.stat-title {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--gold);
  margin: 0 0 10px 0;
}

.stat-group p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.stat-group p strong {
  color: #FFF;
}

.stat-list {
  padding-left: 15px;
  margin: 10px 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* ROOM 7: CONTACT */
.chest-container {
  margin: 40px auto;
  width: 120px;
  height: 100px;
  position: relative;
  cursor: pointer;
  z-index: 20;
}

.chest {
  width: 100px;
  height: 80px;
  margin: 0 auto;
  position: relative;
}

.chest-base {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
  background: #8B5A2B;
  border: 4px solid #3E2723;
  border-radius: 4px;
  box-shadow: inset 0 -10px 0 rgba(0,0,0,0.3);
}
.chest-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 15px;
  background: #FFD700;
  border: 2px solid #B8860B;
  border-radius: 0 0 4px 4px;
}

.chest-lid {
  position: absolute;
  top: 10px;
  width: 100%;
  height: 35px;
  background: #A0522D;
  border: 4px solid #3E2723;
  border-radius: 15px 15px 0 0;
  transform-origin: bottom center;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chest-container.open .chest-lid {
  transform: rotateX(70deg) translateY(-20px);
}

.chest-hint {
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--gold);
  margin-top: 15px;
}

.chest-container.open .chest-hint {
  display: none;
}

.contact-info {
  margin-top: 40px;
  opacity: 1;
  transition: opacity 0.5s ease;
  position: relative;
  z-index: 20;
}

.contact-info.hidden {
  opacity: 0;
  pointer-events: none;
  display: block;
}

.contact-pitch {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--teal);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.site-footer {
  text-align: center;
  padding: 40px 20px;
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  background: rgba(13, 11, 30, 0.8);
  position: relative;
  z-index: 5;
}

/* COINS */
.fly-collectible {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--gold);
  border: 3px solid #B8860B;
  border-radius: 50%;
  cursor: pointer;
  z-index: 30;
  animation: coin-spin 1.4s infinite linear, coin-bob 2.6s infinite ease-in-out;
  box-shadow: 0 0 14px var(--gold), inset -3px -3px 0 rgba(0,0,0,0.25);
  image-rendering: pixelated;
}

/* inner star notch, so it reads as a coin not a dot */
.fly-collectible::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  background: #FFF3B0;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* shine sweep */
.fly-collectible::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 8px;
  background: rgba(255,255,255,0.75);
  border-radius: 50%;
}

@keyframes coin-spin {
  0%   { transform: rotateY(0deg)   scaleX(1); }
  50%  { transform: rotateY(180deg) scaleX(0.18); }
  100% { transform: rotateY(360deg) scaleX(1); }
}

@keyframes coin-bob {
  0%, 100% { margin-top: 0; }
  50%      { margin-top: -12px; }
}

.fly-collectible.collected {
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s;
}

/* SCREEN SHAKE */
@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}
.shake {
  animation: shake 0.5s;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .split-layout {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 24px !important; }
  .hero-name { font-size: 22px; letter-spacing: 1px; text-shadow: 3px 3px 0 #2E2A5E; }
  .hero-role { font-size: 9px; margin-bottom: 20px; }
  .section-header h2 { font-size: 20px; }
  .room { padding: 60px 15px; }
  .arcade-cabinet.expanded {
    top: 0; left: 0; width: 100vw; height: 100vh;
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .glitch-text::before, .glitch-text::after { display: none; }
  .room-container { opacity: 1; transform: none; transition: none; }
}


