
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #000033;
  --bg-dark: #000022;
  --blue: #0055AA;
  --blue-light: #0066CC;
  --light: #FFFFFF;
  --orange: #FF8800;
  --green: #44CC44;
  --red: #FF4444;
  --text: #CCCCCC;
  --dim: #6688AA;
  --dark: #334466;
  --muted: #445577;
  --input-bg: #000044;
  --border: rgba(255, 255, 255, 0.12);
  --border-light: rgba(255, 255, 255, 0.06);
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  background: var(--bg);
  font-family: 'JetBrains Mono', monospace;
  color: var(--text);
}

.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.12) 0px,
    rgba(0, 0, 0, 0.12) 1px,
    transparent 1px,
    transparent 3px
  );
}

.crt-flicker {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  background: rgba(255, 255, 255, 0.02);
  animation: flicker 0.15s infinite;
}

@keyframes flicker {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  10%  { opacity: 0; }
  50%  { opacity: 0; }
  55%  { opacity: 1; }
  60%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

.screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boot-screen {
  background: #000;
  z-index: 100;
  padding: 0;
  align-items: flex-start;
  justify-content: flex-start;
}

.boot-content {
  width: 100%;
  max-width: 900px;
  padding: 40px 50px;
  min-height: 100%;
  position: relative;
}

.boot-logo {
  position: fixed;
  top: 40px;
  right: 60px;
  font-family: 'Press Start 2P', monospace;
  font-size: 13px;
  color: var(--dim);
  border: 2px solid var(--dim);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.boot-line {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  line-height: 2;
  color: var(--dim);
  white-space: pre;
  overflow: hidden;
}

.boot-line.white  { color: var(--light); }
.boot-line.cyan   { color: var(--orange); }
.boot-line.yellow { color: var(--orange); }
.boot-line.green  { color: var(--green); }

.cursor {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: var(--dim);
  animation: blink 0.6s step-end infinite;
}

.skip-hint {
  position: fixed;
  bottom: 30px;
  right: 40px;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--dark);
  animation: blink 1s step-end infinite;
}

.site {
  display: none;
}

.site.visible {
  display: block;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.section-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-hero {
  flex-direction: column;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-logo {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(20px, 5vw, 42px);
  color: var(--light);
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.4),
    0 0 60px rgba(0, 85, 170, 0.4);
  letter-spacing: 2px;
}

.hero-logo .dot {
  color: var(--orange);
  text-shadow:
    0 0 20px rgba(255, 136, 0, 0.6),
    0 0 60px rgba(255, 136, 0, 0.3);
}

.hero-tagline {
  font-size: clamp(11px, 2vw, 15px);
  color: var(--dim);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.game-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
}

.menu-item {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(12px, 2vw, 16px);
  color: var(--dim);
  cursor: pointer;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: color 0.15s, text-shadow 0.15s, transform 0.15s;
  user-select: none;
}

.menu-arrow {
  opacity: 0;
  color: var(--orange);
  transition: opacity 0.15s, transform 0.15s;
  min-width: 20px;
}

.menu-item.active { color: var(--light); }
.menu-item.active .menu-arrow { opacity: 1; }

.menu-item:hover {
  color: var(--light);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

.menu-item:hover .menu-arrow {
  opacity: 0.5;
  transform: translateX(2px);
}

.menu-item.active:hover .menu-arrow {
  opacity: 1;
}

.menu-hint {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  color: var(--dark);
  margin-top: 20px;
  letter-spacing: 1px;
}

.menu-hint .key { color: var(--dim); }
.menu-hint .key-sep { margin: 0 8px; }

.hero-footer {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.lang-btn,
.replay-btn {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  color: var(--dim);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s, text-shadow 0.3s;
  padding: 8px;
}

.lang-btn:hover,
.replay-btn:hover {
  color: var(--light);
  text-shadow: 0 0 10px rgba(0, 85, 170, 0.5);
}

.wb-titlebar {
  display: flex;
  align-items: center;
  padding: 0;
  background: var(--blue);
  color: var(--light);
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  border-bottom: 2px solid var(--light);
  height: 28px;
}

.wb-gadget {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--light);
  background: var(--blue);
  color: var(--light);
  font-size: 10px;
  cursor: default;
  flex-shrink: 0;
}

.wb-close { border-right: none; border-top: none; border-left: none; }
.wb-depth { border-left: none; border-right: none; border-top: none; }

.wb-title-stripe {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      0deg,
      var(--light) 0px,
      var(--light) 2px,
      var(--blue) 2px,
      var(--blue) 5px
    );
  padding: 0 8px;
}

.wb-title {
  background: var(--blue);
  padding: 2px 8px;
  color: var(--light);
  white-space: nowrap;
}

.wb-body {
  padding: 20px 24px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--light);
}

.section-services {
  background: var(--bg);
  min-height: auto;
  padding: 40px 0 80px;
}

.svc-header {
  text-align: center;
  margin-bottom: 40px;
}

.svc-header-number {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.svc-header-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(16px, 3vw, 24px);
  color: var(--light);
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.svc-header-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(12px, 1.5vw, 14px);
  color: var(--dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

.svc-inner {
  max-width: 1100px;
}

.nc-commander {
  display: flex;
  border: 2px solid var(--light);
  margin: 0 auto;
  background: var(--blue);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
  font-family: 'Press Start 2P', monospace;
  min-height: 480px;
}

.nc-left {
  flex: 0 0 280px;
  border-right: 2px solid var(--light);
  display: flex;
  flex-direction: column;
  background: var(--blue);
}

.nc-panel-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.nc-path {
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 1px;
}

.nc-dir-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 9px;
  color: var(--dim);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nc-dir-row {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.15s;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--border-light);
}

.nc-dir-row:hover {
  background: var(--blue-light);
  border-left-color: rgba(255, 136, 0, 0.3);
  padding-left: 28px;
}

.nc-dir-row:hover .nc-dir-name {
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.nc-dir-row.nc-dir-active {
  background: rgba(0, 0, 0, 0.2);
  border-left-color: var(--orange);
}

.nc-dir-icon {
  font-size: 14px;
  color: var(--orange);
  width: 24px;
  flex-shrink: 0;
}

.nc-dir-name {
  font-size: 14px;
  color: var(--light);
  flex: 1;
}

.nc-dir-active .nc-dir-name {
  color: var(--orange);
}

.nc-dir-size {
  font-size: 10px;
  color: var(--dim);
}

.nc-dir-hint {
  padding: 12px 20px;
  font-size: 8px;
  color: var(--dark);
  text-align: center;
  letter-spacing: 1px;
}

.nc-dir-footer {
  margin-top: auto;
  padding: 12px 20px;
  font-size: 9px;
  color: var(--dim);
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.nc-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.1);
}

.nc-detail {
  display: none;
  flex-direction: column;
  height: 100%;
}

.nc-detail-desc {
  padding: 24px 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--light);
  line-height: 1.8;
  border-bottom: 1px solid var(--border);
}

.nc-row {
  display: flex;
  align-items: center;
  padding: 14px 28px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s;
}

.nc-row:last-of-type {
  border-bottom: none;
}

.nc-row:hover {
  background: rgba(0, 85, 170, 0.2);
}

.nc-row:hover .nc-fname {
  text-shadow: 0 0 8px rgba(255, 136, 0, 0.5);
}

.nc-row:hover .nc-status {
  text-shadow: 0 0 6px rgba(68, 204, 68, 0.5);
}

.nc-sigil {
  font-size: 12px;
  color: var(--orange);
  width: 24px;
  flex-shrink: 0;
}

.nc-fname {
  font-size: 13px;
  color: var(--orange);
  min-width: 120px;
  flex-shrink: 0;
}

.nc-fdesc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text);
  flex: 1;
  padding: 0 16px;
}

.nc-status {
  font-size: 9px;
  color: var(--green);
  flex-shrink: 0;
  letter-spacing: 1px;
}

.nc-footer {
  padding: 12px 28px;
  border-top: 1px solid var(--border);
  font-size: 9px;
  color: var(--dim);
  background: rgba(0, 0, 0, 0.15);
}

.nc-detail .nc-footer {
  margin-top: auto;
}

.section-howwework {
  min-height: auto;
  padding: 40px 0 80px;
  background: var(--bg);
}

.hww-header {
  text-align: center;
  margin-bottom: 60px;
}

.hww-header-number {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.hww-header-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(16px, 3vw, 24px);
  color: var(--light);
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.hww-header-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(12px, 1.5vw, 14px);
  color: var(--dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

.hww-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.hww-step {
  position: relative;
  padding-left: 40px;
}

.hww-step::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: -40px;
  width: 2px;
  background: var(--border);
}

.hww-step:last-child::before {
  bottom: 0;
  height: 20px;
}

.hww-step-marker {
  position: absolute;
  left: 0;
  top: 14px;
  z-index: 3;
}

.hww-marker-dot {
  width: 14px;
  height: 14px;
  border: 2px solid var(--orange);
  background: var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 136, 0, 0.3);
}

.hww-marker-line { display: none; }

.hww-window {
  display: block !important;
  border: 2px solid var(--light);
  background: var(--blue);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
  cursor: default;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hww-window:hover {
  transform: translateY(-3px);
  box-shadow: 6px 8px 0 rgba(0, 0, 0, 0.5);
}

.hww-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
}

.hww-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.2;
  white-space: pre;
  color: var(--orange);
  flex-shrink: 0;
  opacity: 0.6;
}

.hww-text { flex: 1; }

.hww-lead {
  font-size: 13px;
  color: var(--light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.hww-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hww-list li {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.hww-list li::before {
  content: '►';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 8px;
  top: 3px;
}

.section-contact {
  min-height: auto;
  padding: 40px 0 80px;
  background: var(--bg);
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header-number {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.contact-header-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(16px, 3vw, 24px);
  color: var(--light);
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.contact-header-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(12px, 1.5vw, 14px);
  color: var(--dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

.contact-terminal {
  max-width: 650px;
  margin: 0 auto;
  border: 2px solid var(--light);
  background: var(--blue);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
}

.contact-body {
  padding: 24px 28px;
  position: relative;
}

.contact-prompt {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.cp-dim { color: var(--dim); }
.cp-cmd { color: var(--orange); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ff-prompt {
  color: var(--dim);
  font-size: 8px;
}

.retro-input {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--light);
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid var(--dim);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.retro-input::placeholder {
  color: var(--dim);
  opacity: 0.6;
}

.retro-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 12px rgba(255, 136, 0, 0.15);
  background: rgba(0, 0, 0, 0.4);
}

.retro-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.retro-btn {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  padding: 14px 24px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid var(--light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-send {
  background: var(--orange);
  color: var(--bg);
  border-color: var(--orange);
  flex: 1;
  justify-content: center;
}

.btn-send:hover {
  background: var(--light);
  border-color: var(--light);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transform: scale(1.03);
}

.btn-icon {
  font-size: 14px;
}

.btn-cancel {
  background: transparent;
  color: var(--dim);
  border-color: var(--dim);
}

.btn-cancel:hover {
  color: var(--light);
  border-color: var(--light);
}

.send-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 51, 0.95);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 10;
}

.send-overlay.active {
  display: flex;
}

.send-text {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: var(--orange);
  letter-spacing: 2px;
}

.send-bar {
  width: 250px;
  height: 6px;
  border: 2px solid var(--dim);
}

.send-fill {
  height: 100%;
  width: 0%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 136, 0, 0.5);
}

.send-result {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: var(--green);
  min-height: 20px;
}

.contact-status-bar {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  color: var(--dim);
  padding: 10px 20px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  gap: 8px;
}

.csb-sep { color: var(--dark); }

.site-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
}

.footer-text { color: var(--dim); }
.footer-sep { color: var(--dark); }

.load-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  background: var(--bg);
}

.load-text {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.load-name {
  color: var(--orange);
}

.load-bar {
  width: 280px;
  height: 8px;
  border: 2px solid var(--dim);
  background: transparent;
  overflow: hidden;
}

.load-fill {
  height: 100%;
  width: 0%;
  background: var(--orange);
  box-shadow: 0 0 6px rgba(255, 136, 0, 0.4);
}

.load-pct {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--dim);
  margin-top: 10px;
}

.new-quest-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
}

.new-quest-overlay.active {
  display: flex;
}

.nq-form {
  width: 100%;
  max-width: 500px;
  padding: 24px;
}

.nq-step {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.nq-step.active {
  display: flex;
}

.nq-step-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nq-question {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: clamp(14px, 3vw, 20px);
  color: var(--orange);
  letter-spacing: 2px;
  text-shadow: 0 0 16px rgba(255, 136, 0, 0.4);
  line-height: 1.6;
  text-transform: uppercase;
}

.nq-border {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 2px;
}

.nq-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(16px, 4vw, 28px);
  color: var(--orange);
  letter-spacing: 4px;
  text-shadow: 0 0 20px rgba(255, 136, 0, 0.5);
}

.nq-success {
  color: var(--green);
  text-shadow: 0 0 20px rgba(68, 204, 68, 0.5);
}

.nq-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nq-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(13px, 2vw, 16px);
  color: var(--text);
  line-height: 2;
}

.nq-input {
  width: 100%;
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: var(--light);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--dim);
  padding: 16px 4px;
  outline: none;
  text-align: center;
  transition: border-color 0.2s;
}

.nq-input:focus {
  border-color: var(--orange);
}

.nq-input::placeholder {
  color: var(--dark);
  font-size: 12px;
}

.nq-textarea {
  min-height: 100px;
  resize: none;
  text-align: left;
  border: 2px solid var(--dim);
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.nq-textarea:focus {
  border-color: var(--orange);
}

.nq-characters {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.nq-char-arrow {
  font-family: 'Press Start 2P', monospace;
  font-size: 24px;
  color: var(--dim);
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px;
  transition: color 0.15s;
  flex-shrink: 0;
}

.nq-char-arrow:hover {
  color: var(--orange);
}

.nq-char-cards {
  position: relative;
  width: 220px;
  height: 280px;
}

.nq-char {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
  background: none;
  border: 2px solid var(--orange);
  cursor: pointer;
  text-align: center;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  box-shadow: 0 0 20px rgba(255, 136, 0, 0.15);
}

.nq-char.active {
  display: flex;
}

.nq-char:hover,
.nq-char.selected {
  background: rgba(255, 136, 0, 0.08);
  box-shadow: 0 0 30px rgba(255, 136, 0, 0.25);
}

.nq-char-art {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  line-height: 1.3;
  white-space: pre;
  color: var(--orange);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.nq-char-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nq-char-name {
  font-family: 'Press Start 2P', monospace;
  font-size: 16px;
  color: var(--light);
  letter-spacing: 2px;
}

.nq-char-class {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--orange);
  line-height: 1.6;
}

.nq-char-hint {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--dark);
  margin-top: 8px;
}

.nq-btn {
  font-family: 'Press Start 2P', monospace;
  font-size: 13px;
  color: var(--light);
  background: none;
  border: 2px solid var(--orange);
  padding: 14px 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  transition: all 0.2s;
}

.nq-btn:hover {
  background: var(--orange);
  color: #000;
}

.nq-submit-btn {
  background: var(--orange);
  color: #000;
}

.nq-submit-btn:hover {
  background: var(--light);
  border-color: var(--light);
}

.nq-arrow { color: var(--orange); }
.nq-btn:hover .nq-arrow { color: #000; }
.nq-submit-btn .nq-arrow { color: #000; }

.nq-blink {
  animation: blink 0.8s step-end infinite;
}

.nq-esc {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--dark);
}

.float-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  background: rgba(0, 0, 51, 0.8);
  backdrop-filter: blur(4px);
}

.float-link {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  color: var(--dim);
  text-decoration: none;
  padding: 12px 10px;
  display: block;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  letter-spacing: 1px;
}

.float-link:hover {
  color: var(--orange);
  background: rgba(255, 136, 0, 0.1);
  text-shadow: 0 0 8px rgba(255, 136, 0, 0.5);
}

.float-sep {
  width: 100%;
  height: 1px;
  background: var(--border);
}

@keyframes glitch-1 {
  0%   { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 2px); }
  20%  { clip-path: inset(60% 0 10% 0); transform: translate(3px, -1px); }
  40%  { clip-path: inset(40% 0 30% 0); transform: translate(-2px, 1px); }
  60%  { clip-path: inset(80% 0 5% 0);  transform: translate(1px, -2px); }
  80%  { clip-path: inset(10% 0 70% 0); transform: translate(2px, 1px); }
  100% { clip-path: inset(50% 0 30% 0); transform: translate(-1px, -1px); }
}

.glitch { position: relative; }

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
}

.glitch::before {
  color: var(--red);
  animation: glitch-1 0.3s linear 1;
  mix-blend-mode: screen;
}

.glitch::after {
  color: var(--orange);
  animation: glitch-1 0.3s linear 0.05s 1 reverse;
  mix-blend-mode: screen;
}

@media (max-width: 700px) {
  html, body { overflow-x: hidden; }
  .section-inner { padding: 40px 16px; }

  .boot-content { padding: 12px; }
  .boot-logo { top: 10px; right: 10px; font-size: 7px; padding: 6px 8px; }
  .boot-line { font-size: 7px; line-height: 1.6; white-space: pre-wrap; }
  .cursor { font-size: 7px; }
  .skip-hint { bottom: 12px; right: 12px; font-size: 8px; }

  .menu-hint { display: none; }
  .hero-logo { letter-spacing: 0; }

  .svc-header-number,
  .hww-header-number,
  .contact-header-number { font-size: 10px; }

  .nc-commander { flex-direction: column; min-height: auto; }
  .nc-left { flex: 0 0 auto; border-right: none; border-bottom: 2px solid var(--light); }
  .nc-dir-row { padding: 12px 16px; padding-left: 20px; }
  .nc-dir-name { font-size: 12px; }
  .nc-detail-desc { font-size: 12px; padding: 14px 16px; }
  .nc-detail .nc-row { padding: 10px 16px; }
  .nc-fname { font-size: 10px; min-width: 80px; }
  .nc-fdesc { font-size: 9px; padding: 0 6px; }
  .nc-status { display: none; }
  .nc-footer { padding: 10px 16px; }

  .hww-step { padding-left: 30px; }
  .hww-body { flex-direction: column; padding: 14px 16px; }
  .hww-icon { display: none; }
  .hww-lead { font-size: 12px; }
  .hww-list li { font-size: 11px; }

  .contact-terminal { margin: 0; }
  .contact-body { padding: 16px; }
  .contact-prompt { font-size: 8px; word-break: break-all; }
  .retro-input { font-size: 16px; padding: 10px 12px; }
  .retro-btn { font-size: 10px; padding: 12px 16px; }
  .form-actions { flex-direction: column; }
  .send-text { font-size: 11px; }
  .send-bar { width: 200px; }
  .send-result { font-size: 9px; }

  .load-screen { padding: 60px 16px; }
  .load-text { font-size: 10px; }
  .load-bar { width: 200px; }

  .float-bar { right: 8px; }
  .float-link { font-size: 8px; padding: 10px 8px; }

  .nq-form { padding: 16px; max-width: 100%; }
  .nq-step { gap: 16px; }
  .nq-question { letter-spacing: 1px; }
  .nq-title { letter-spacing: 2px; }
  .nq-border { font-size: 7px; letter-spacing: 0; }
  .nq-line { line-height: 1.5; }
  .nq-input { font-size: 16px; padding: 12px 4px; }
  .nq-input::placeholder { font-size: 10px; }
  .nq-textarea { font-size: 11px; padding: 12px; min-height: 80px; }
  .nq-btn { font-size: 11px; padding: 12px 20px; }
  .nq-characters { gap: 4px; }
  .nq-char-arrow { font-size: 28px; padding: 16px; min-width: 56px; min-height: 56px; }
  .nq-char-cards { width: 170px; height: 230px; }
  .nq-char { padding: 16px 12px; gap: 10px; }
  .nq-char-art { font-size: 13px; height: 70px; }
  .nq-char-name { font-size: 12px; letter-spacing: 1px; }
  .nq-char-class { font-size: 8px; }
  .nq-char-hint { font-size: 7px; }
  .nq-esc { font-size: 7px; bottom: 12px; }

  .footer-content { font-size: 7px; gap: 6px; flex-wrap: wrap; justify-content: center; }
}
