/* ============================================================
   style.css — compile life.story_
   CRT → Modern 変形ランディングページ
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* CRT Theme */
  --crt-green: #33ff33;
  --crt-amber: #ffb000;
  --crt-dim: #0d5e0d;
  --crt-bg: #0a0a0a;
  --crt-glow: 0 0 8px rgba(51, 255, 51, 0.6);

  /* Modern Theme */
  --modern-primary: #6C3483;
  --modern-accent: #D4AC0D;
  --modern-bg: #FAF8F5;
  --modern-text: #2D2D2D;
  --modern-card-bg: #FFFFFF;

  /* Shared */
  --section-max: 1100px;
  --transition-speed: 0.8s;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Noto Sans KR', sans-serif;
  line-height: 1.8;
  color: var(--modern-text);
  background: var(--crt-bg);
  overflow-x: hidden;
  transition: background var(--transition-speed);
}

/* Body era transitions */
body[data-era="crt"] { background: var(--crt-bg); color: var(--crt-green); }
body[data-era="transition"] { background: #1a1a2e; color: #c0c0c0; }
body[data-era="modern"] { background: var(--modern-bg); color: var(--modern-text); }

/* --- Language Switcher --- */
#lang-nav {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 1000;
  display: flex;
  gap: 6px;
}
.lang-btn {
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--crt-green);
  color: var(--crt-green);
  font-family: 'VT323', monospace;
  font-size: 14px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 0;
}
.lang-btn:hover, .lang-btn.active {
  background: var(--crt-green);
  color: #000;
}
body[data-era="modern"] .lang-btn {
  border-color: var(--modern-primary);
  color: var(--modern-primary);
  background: rgba(255,255,255,0.9);
  border-radius: 20px;
}
body[data-era="modern"] .lang-btn:hover,
body[data-era="modern"] .lang-btn.active {
  background: var(--modern-primary);
  color: #fff;
}
.lang-cmd { opacity: 0.5; }

/* --- Section Titles --- */
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 2rem;
  transition: all var(--transition-speed);
}
body[data-era="crt"] .section-title,
body[data-era="transition"] .section-title {
  font-family: 'VT323', monospace;
  color: var(--crt-green);
  text-shadow: var(--crt-glow);
}
body[data-era="modern"] .section-title {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--modern-text);
  text-shadow: none;
}

/* ============================================================
   Section 1: CRT Hero
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.crt-frame {
  max-width: 800px;
  width: 100%;
}

.crt-screen {
  background: #0a0a0a;
  border: 3px solid #333;
  border-radius: 16px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(51, 255, 51, 0.1);
}

/* Scanline overlay */
.crt-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15) 0px,
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 2;
}

/* Screen flicker */
.crt-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(51, 255, 51, 0.02);
  animation: flicker 0.15s infinite alternate;
  pointer-events: none;
  z-index: 1;
}

@keyframes flicker {
  0% { opacity: 0.97; }
  100% { opacity: 1; }
}

.crt-content {
  position: relative;
  z-index: 3;
  font-family: 'VT323', monospace;
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--crt-green);
  text-shadow: var(--crt-glow);
  line-height: 1.6;
}

.crt-content .line {
  margin-bottom: 4px;
  opacity: 0;
  animation: lineAppear 0.05s forwards;
}
.crt-content .line.visible { opacity: 1; }
.crt-content .highlight { color: var(--crt-amber); }
.crt-content .dim { color: var(--crt-dim); }

#cursor {
  display: inline;
  animation: blink-cursor 1s step-end infinite;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.crt-base {
  background: #2a2a2a;
  height: 16px;
  border-radius: 0 0 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.crt-led {
  width: 8px;
  height: 8px;
  background: #33ff33;
  border-radius: 50%;
  box-shadow: 0 0 6px #33ff33;
  animation: led-pulse 2s ease-in-out infinite;
}
@keyframes led-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

#scroll-hint {
  margin-top: 40px;
  text-align: center;
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: var(--crt-dim);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ============================================================
   Section 2: Timeline
   ============================================================ */
#timeline {
  padding: 80px 20px;
  max-width: var(--section-max);
  margin: 0 auto;
  transition: all var(--transition-speed);
}

.timeline-track {
  position: relative;
  padding-left: 40px;
}
.timeline-track::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--crt-green);
  transition: background var(--transition-speed);
}
body[data-era="modern"] .timeline-track::before {
  background: var(--modern-primary);
}

.timeline-item {
  margin-bottom: 60px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--crt-green);
  box-shadow: 0 0 10px var(--crt-green);
  transition: all var(--transition-speed);
}
body[data-era="modern"] .timeline-item::before {
  background: var(--modern-primary);
  box-shadow: 0 0 10px rgba(108, 52, 131, 0.3);
}

.timeline-year {
  font-family: 'VT323', monospace;
  font-size: 28px;
  color: var(--crt-amber);
  margin-bottom: 8px;
  transition: color var(--transition-speed);
}
body[data-era="modern"] .timeline-year {
  color: var(--modern-primary);
  font-family: 'Fira Code', monospace;
  font-size: 22px;
}

.timeline-progress {
  margin-bottom: 16px;
}
.progress-bar {
  height: 24px;
  background: rgba(51, 255, 51, 0.1);
  border: 1px solid var(--crt-green);
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-speed);
}
body[data-era="modern"] .progress-bar {
  border-color: var(--modern-primary);
  background: rgba(108, 52, 131, 0.05);
  border-radius: 12px;
}
.progress-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--progress, 0%);
  background: var(--crt-green);
  transition: width 1s ease-out, background var(--transition-speed);
}
body[data-era="modern"] .progress-bar::after {
  background: linear-gradient(90deg, var(--modern-primary), var(--modern-accent));
}
.progress-label {
  position: relative;
  z-index: 1;
  font-family: 'VT323', monospace;
  font-size: 14px;
  padding: 0 10px;
  line-height: 24px;
  color: #000;
}

.timeline-card {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(51, 255, 51, 0.2);
  padding: 24px;
  border-radius: 0;
  transition: all var(--transition-speed);
}
body[data-era="modern"] .timeline-card {
  background: var(--modern-card-bg);
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.timeline-card h3 {
  font-size: clamp(1rem, 3vw, 1.3rem);
  margin-bottom: 16px;
  font-family: 'VT323', monospace;
  color: var(--crt-green);
  transition: all var(--transition-speed);
}
body[data-era="modern"] .timeline-card h3 {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--modern-text);
}

.timeline-card p {
  font-size: 15px;
  line-height: 1.8;
  margin-top: 16px;
}

/* Code blocks */
.code-block {
  background: #000;
  border: 1px solid #333;
  padding: 16px;
  font-family: 'Fira Code', 'VT323', monospace;
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  margin: 12px 0;
  border-radius: 4px;
}
.code-block code {
  display: block;
  color: var(--crt-green);
}
.warning-block code.warning { color: var(--crt-amber); }
.warning-block code.info { color: #66bbff; }
.ai-block .prompt-label { color: var(--crt-amber); font-weight: bold; }
.ai-block .ai-label { color: #66bbff; font-weight: bold; }

/* Launch Grid */
.launch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.launch-item {
  background: rgba(108, 52, 131, 0.1);
  border: 1px solid rgba(108, 52, 131, 0.2);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.2s;
}
.launch-item:hover { transform: translateY(-4px); }
.launch-icon { font-size: 32px; margin-bottom: 8px; }
.launch-item strong { display: block; margin-bottom: 4px; }
.launch-item span { font-size: 13px; opacity: 0.8; }

.build-success {
  margin-top: 20px;
  text-align: center;
}
.build-success code {
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: var(--crt-green);
  text-shadow: var(--crt-glow);
}

/* ============================================================
   Section 3: AI Collaboration
   ============================================================ */
#ai-collab {
  padding: 80px 20px;
  max-width: var(--section-max);
  margin: 0 auto;
}

.collab-split {
  display: flex;
  gap: 20px;
  align-items: stretch;
  flex-wrap: wrap;
}
.collab-human, .collab-ai {
  flex: 1;
  min-width: 280px;
  padding: 24px;
  border-radius: 16px;
  transition: all var(--transition-speed);
}
.collab-human {
  background: rgba(212, 172, 13, 0.08);
  border: 1px solid rgba(212, 172, 13, 0.3);
}
.collab-ai {
  background: rgba(108, 52, 131, 0.08);
  border: 1px solid rgba(108, 52, 131, 0.3);
}
body[data-era="crt"] .collab-human,
body[data-era="crt"] .collab-ai {
  background: rgba(0,0,0,0.5);
  border-color: var(--crt-green);
}

.collab-label {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.collab-split ul {
  list-style: none;
  padding: 0;
}
.collab-split li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
}
.collab-split li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--crt-green);
  font-family: 'VT323', monospace;
}
body[data-era="modern"] .collab-split li::before {
  content: '✓';
  color: var(--modern-primary);
  font-family: inherit;
}

.collab-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}
.collab-plus {
  font-size: 48px;
  font-weight: 300;
  color: var(--modern-primary);
  opacity: 0.5;
}

.collab-quote {
  text-align: center;
  font-style: italic;
  font-size: 16px;
  margin-top: 40px;
  padding: 24px;
  border-left: 4px solid var(--modern-accent);
  background: rgba(212, 172, 13, 0.05);
  border-radius: 0 12px 12px 0;
  line-height: 2;
}
body[data-era="crt"] .collab-quote {
  border-color: var(--crt-green);
  background: rgba(51, 255, 51, 0.03);
}

/* ============================================================
   Section 4: Products
   ============================================================ */
#products {
  padding: 80px 20px;
  max-width: var(--section-max);
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--modern-card-bg);
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
  position: relative;
}
body[data-era="crt"] .product-card {
  background: rgba(0,0,0,0.8);
  border-color: var(--crt-green);
  border-radius: 0;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.product-card.featured {
  border: 2px solid var(--modern-primary);
}
body[data-era="crt"] .product-card.featured {
  border-color: var(--crt-amber);
}

.product-badge {
  display: inline-block;
  background: var(--modern-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.product-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 700;
}
.product-card p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
  opacity: 0.8;
}
.product-link {
  display: inline-block;
  color: var(--modern-primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s;
}
.product-link:hover { opacity: 0.7; }
.product-link.coming { color: #999; font-weight: 400; }

.subsection-title {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.video-placeholder {
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
  border: 2px dashed #444;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
  text-align: center;
}
.video-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* ============================================================
   Section 5: Mini Game
   ============================================================ */
#game {
  padding: 80px 20px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.game-desc {
  font-size: 15px;
  margin-bottom: 24px;
  opacity: 0.8;
}

#game-container {
  position: relative;
  border: 2px solid var(--crt-green);
  border-radius: 8px;
  overflow: hidden;
  background: #0a0a0a;
  transition: border-color var(--transition-speed);
}
body[data-era="modern"] #game-container {
  border-color: var(--modern-primary);
  border-radius: 16px;
}

#game-hud {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: var(--crt-green);
  background: rgba(0,0,0,0.8);
}

#game-field {
  height: 300px;
  position: relative;
  font-family: 'Fira Code', monospace;
  font-size: 13px;
  color: #444;
  padding: 16px;
  overflow: hidden;
  user-select: none;
  line-height: 1.5;
}

#game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
#game-overlay.hidden { display: none; }

#game-start-btn, #game-retry-btn, #game-share-btn {
  font-family: 'VT323', monospace;
  font-size: 24px;
  padding: 12px 32px;
  border: 2px solid var(--crt-green);
  background: transparent;
  color: var(--crt-green);
  cursor: pointer;
  transition: all 0.2s;
  margin: 4px;
}
#game-start-btn:hover, #game-retry-btn:hover, #game-share-btn:hover {
  background: var(--crt-green);
  color: #000;
}

#game-result {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
#game-result.hidden { display: none; }
#game-result-text {
  font-family: 'VT323', monospace;
  font-size: 28px;
  color: var(--crt-green);
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   Section 6: Dengonban
   ============================================================ */
#dengonban {
  padding: 80px 20px;
  max-width: var(--section-max);
  margin: 0 auto;
}
.dengonban-desc {
  text-align: center;
  font-size: 15px;
  margin-bottom: 24px;
  opacity: 0.8;
}

#dengonban-wall {
  min-height: 400px;
  position: relative;
  margin-bottom: 32px;
  padding: 20px;
}

/* Post-it Notes */
.postit {
  position: absolute;
  width: 180px;
  min-height: 120px;
  padding: 16px 14px 12px;
  font-family: 'Yomogi', cursive;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 0 0 0 3px;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.15);
  cursor: default;
  transition: transform 0.2s;
  word-break: break-word;
}
.postit:hover { transform: scale(1.05); z-index: 100 !important; }
.postit .postit-name {
  font-size: 11px;
  opacity: 0.6;
  margin-top: 8px;
  display: block;
}
.postit .postit-char {
  font-size: 20px;
  position: absolute;
  top: -8px;
  right: 8px;
}
.postit .postit-like {
  position: absolute;
  bottom: 6px;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.postit .postit-like:hover { opacity: 1; }

/* Post-it Colors */
.postit-yellow  { background: #FFF9C4; }
.postit-pink    { background: #F8BBD0; }
.postit-blue    { background: #B3E5FC; }
.postit-green   { background: #C8E6C9; }
.postit-orange  { background: #FFE0B2; }
.postit-purple  { background: #E1BEE7; }

/* Pinned (operator) note */
.postit-pinned {
  background: #E3F2FD;
  border: 2px solid #42A5F5;
}
.postit-pinned::before {
  content: '📌';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
}

/* Mobile: vertical scroll */
@media (max-width: 768px) {
  #dengonban-wall {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: auto;
  }
  .postit {
    position: relative !important;
    width: 100% !important;
    left: auto !important;
    top: auto !important;
    min-height: auto;
  }
}

/* Dengonban Form */
#dengonban-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.dengonban-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}
#dengonban-name {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}
#dengonban-chars {
  display: flex;
  gap: 4px;
  font-size: 22px;
}
#dengonban-chars span {
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
}
#dengonban-chars span:hover, #dengonban-chars span.selected { opacity: 1; }

#dengonban-msg {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  resize: none;
  margin-bottom: 10px;
}
body[data-era="crt"] #dengonban-name,
body[data-era="crt"] #dengonban-msg {
  background: #0a0a0a;
  border-color: var(--crt-green);
  color: var(--crt-green);
  font-family: 'VT323', monospace;
}

#dengonban-submit {
  padding: 12px 32px;
  background: var(--modern-primary);
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
#dengonban-submit:hover { transform: scale(1.05); }
body[data-era="crt"] #dengonban-submit {
  background: transparent;
  border: 2px solid var(--crt-green);
  color: var(--crt-green);
  font-family: 'VT323', monospace;
  border-radius: 0;
}

/* ============================================================
   Footer
   ============================================================ */
#footer {
  padding: 60px 20px;
  text-align: center;
  background: #0a0a0a;
  color: #888;
  transition: all var(--transition-speed);
}

.visitor-counter {
  margin-bottom: 24px;
  font-size: 16px;
}
.counter-digits {
  display: inline-block;
  font-family: 'VT323', monospace;
  font-size: 36px;
  color: var(--crt-green);
  text-shadow: var(--crt-glow);
  background: #000;
  padding: 4px 16px;
  border: 1px solid #333;
  letter-spacing: 4px;
  margin: 0 8px;
  min-width: 120px;
}

.footer-terminal {
  margin-bottom: 24px;
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: var(--crt-green);
}
.footer-terminal code {
  display: block;
  margin: 4px 0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.social-btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #555;
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
  border-radius: 4px;
}
.social-btn:hover {
  border-color: var(--crt-green);
  color: var(--crt-green);
}

.footer-copy {
  font-size: 13px;
  opacity: 0.6;
}
.footer-exit code {
  font-family: 'VT323', monospace;
  font-size: 16px;
  color: var(--crt-dim);
  cursor: pointer;
  transition: color 0.2s;
}
.footer-exit code:hover { color: var(--crt-green); }

/* ============================================================
   Easter Eggs
   ============================================================ */
#easter-egg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crt-green);
  font-family: 'VT323', monospace;
}
#easter-egg.hidden { display: none; }
.easter-content {
  text-align: center;
  max-width: 600px;
  padding: 20px;
}
#easter-ascii {
  font-size: 10px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--crt-green);
  text-shadow: var(--crt-glow);
}
#easter-msg { font-size: 22px; margin-bottom: 20px; }
#easter-close {
  font-family: 'VT323', monospace;
  font-size: 20px;
  padding: 8px 24px;
  border: 1px solid var(--crt-green);
  background: transparent;
  color: var(--crt-green);
  cursor: pointer;
}

/* BSOD */
#bsod {
  position: fixed;
  inset: 0;
  background: #0078D7;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  padding: 40px;
  cursor: pointer;
}
#bsod.hidden { display: none; }
.bsod-content { max-width: 700px; }
.bsod-content h1 { font-size: 100px; font-weight: 100; margin-bottom: 20px; }

/* ============================================================
   Utility
   ============================================================ */
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 768px) {
  .crt-screen { padding: 24px 16px; min-height: 300px; }
  .crt-content { font-size: 14px; }
  #lang-nav { top: 8px; right: 8px; }
  .lang-btn { font-size: 12px; padding: 3px 7px; }
  .collab-split { flex-direction: column; }
  .collab-divider { transform: rotate(90deg); padding: 10px 0; }
  .launch-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  #game-field { height: 240px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
  .crt-scanlines { display: none; }
  .crt-screen::after { display: none; }
}
