@font-face {
  font-family: 'VCR_OSD_MONO';
  src: url('assets/vcr.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-black: #000000;
  --text-white: #ffffff;
  --text-gray: #a8a8a8;
  --text-dim: #707070;
  --border-white: #ffffff;
  --border-dim: #333333;
  --border-subtle: #222222;
    --highlight-blue: #3c8cff;
  --font-pixel: 'VCR_OSD_MONO', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-pixel);
  scrollbar-color: #ffffff #000000;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #ffffff;
}

::-webkit-scrollbar-thumb:hover {
  background: #e0e0e0;
}

::-webkit-scrollbar-corner {
  background: #000000;
}

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-pixel);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--bg-black);
  border-top: 2px solid var(--border-white);
  border-bottom: 2px solid var(--border-white);
  z-index: 100;
}

.nav-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-white);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.nav-brand img {
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-menu a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.nav-menu a:hover {
  text-decoration: underline;
}

.hero-section {
  padding: 48px 0 36px;
  text-align: center;
  background: var(--bg-black);
  border-bottom: 2px solid var(--border-white);
}

.hero-art-box {
  display: inline-block;
  margin-bottom: 24px;
  line-height: 0;
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.hero-gif {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  image-rendering: auto;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 2px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.hero-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.hero-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-black);
  border: 2px solid var(--border-white);
  color: var(--text-white);
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  padding: 8px 18px;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.1s ease, color 0.1s ease, transform 0.05s ease;
}

.hero-social-btn:hover {
  background: var(--text-white);
  color: var(--bg-black);
}

.hero-social-btn:active {
  transform: translate(2px, 2px);
}

.social-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
  transition: fill 0.1s ease;
}

.overview-band {
  background: linear-gradient(180deg, #004FDE 0%, #001F7E 100%);
  border-top: 3px solid #3c8cff;
  border-bottom: 3px solid #001557;
  padding: 50px 0;
  text-align: center;
}

.overview-box {
  max-width: 680px;
  margin: 0 auto;
}

.overview-title {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  color: #ffffff;
  letter-spacing: 1.5px;
  text-shadow: 2px 2px 0px #000000;
  margin-bottom: 18px;
}

.overview-desc {
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.7;
  margin-bottom: 30px;
}

.overview-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.overview-bullet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid #ffffff;
  box-shadow: inset 0 0 0 1px #000000;
  padding: 12px 16px;
}

.overview-bullet img {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  flex-shrink: 0;
  image-rendering: pixelated;
}

.overview-punchline {
  margin-top: 24px;
  font-size: 1.05rem;
  color: #ffff00;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0px #000000;
}

.characters-section {
  padding: 56px 0;
  background: var(--bg-black);
  border-bottom: 2px solid var(--border-white);
}

.characters-section .section-heading-center {
  margin-bottom: 32px;
}

.section-heading-center {
  font-size: 1.75rem;
  letter-spacing: 2px;
  color: var(--text-white);
  text-align: center;
  margin-bottom: 8px;
}

.section-sub-center {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.characters-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rpg-dialogue-window {
  background: var(--bg-black);
  border: 3px solid var(--border-white);
  box-shadow: inset 0 0 0 2px #000000;
  padding: 20px;
  display: flex;
  gap: 18px;
}

.portrait-frame {
  width: 68px;
  height: 68px;
  background: var(--bg-black);
  border: 2px solid var(--border-white);
  display: block;
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.portrait-face {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  display: block;
}

.dialogue-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.speaker-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.speaker-name {
  font-size: 1.25rem;
  letter-spacing: 1px;
  color: var(--text-white);
}

.speaker-tag {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.dialogue-speech {
  font-size: 1.05rem;
  color: var(--text-white);
  line-height: 1.6;
}

.dialogue-bio {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin-top: 4px;
}

.updates-section {
  padding: 50px 0;
  background: var(--bg-black);
  border-bottom: 2px solid var(--border-white);
  text-align: center;
}

.updates-box {
  max-width: 640px;
  margin: 0 auto;
}

.updates-desc {
  color: var(--text-gray);
  font-size: 1rem;
  margin-bottom: 20px;
}

.soon-callout {
  display: inline-block;
  background: var(--bg-black);
  border: 2px solid var(--border-white);
  color: var(--text-white);
  font-family: var(--font-pixel);
  font-size: 1.25rem;
  letter-spacing: 2px;
  padding: 10px 32px;
  margin-top: 16px;
}

.signup-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.dr-input {
  flex: 1;
  min-width: 240px;
  background: var(--bg-black);
  border: 2px solid var(--border-white);
  color: var(--text-white);
  font-family: var(--font-pixel);
  font-size: 1rem;
  padding: 10px 14px;
  outline: none;
}

.dr-input:focus {
  border-color: var(--border-white);
}

.subscribe-btn {
  background: var(--text-white);
  border: 2px solid var(--border-white);
  color: var(--bg-black);
  font-family: var(--font-pixel);
  font-size: 1rem;
  padding: 10px 22px;
  cursor: pointer;
}

.subscribe-btn:hover {
  background: transparent;
  color: var(--text-white);
}

.signup-feedback {
  min-height: 24px;
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 24px;
}

.dev-logs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  border-top: 1px solid var(--border-dim);
  padding-top: 20px;
}

.dev-log-row {
  display: flex;
  gap: 16px;
  font-size: 0.92rem;
  color: var(--text-gray);
}

.dev-log-date {
  color: var(--text-white);
  font-size: 0.85rem;
  flex-shrink: 0;
  width: 90px;
}

.faq-section {
  padding: 50px 0 60px;
  background: var(--bg-black);
}

.faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-black);
  border: 2px solid var(--border-white);
  box-shadow: inset 0 0 0 1px #000000;
  padding: 18px 20px;
}

.faq-q {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.faq-q .q-bullet {
  color: var(--text-white);
}

.faq-a {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
  padding-left: 18px;
}

.site-footer {
  border-top: 2px solid var(--border-white);
  background: var(--bg-black);
  padding: 36px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-top {
  color: var(--text-dim);
  text-decoration: none;
}

.footer-top:hover {
  color: var(--text-white);
  text-decoration: underline;
}

.subscribe-btn:active, .store-btn:active, .footer-top:active {
  transform: translate(2px, 2px);
}

.overview-bullet img {
  transition: transform 0.15s ease;
}

.overview-bullet:hover img {
  transform: scale(1.2);
}

.riley-companion {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.companion-bubble {
  pointer-events: auto;
  max-width: 320px;
  background: var(--bg-black);
  border: 3px solid var(--border-white);
  box-shadow: inset 0 0 0 2px #000000, 4px 4px 0px rgba(0, 0, 0, 0.7);
  padding: 12px 14px;
  font-family: var(--font-pixel);
  animation: bubblePop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.companion-bubble.minimized {
  opacity: 0;
  transform: scale(0.8) translateY(10px);
  pointer-events: none;
  display: none;
}

.bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  border-bottom: 1px dashed var(--border-dim);
  padding-bottom: 4px;
}

.bubble-speaker {
  font-size: 0.9rem;
  color: var(--text-white);
  letter-spacing: 1px;
}

.bubble-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}

.bubble-close:hover {
  color: var(--text-white);
}

.bubble-text {
  font-size: 0.95rem;
  color: var(--text-white);
  line-height: 1.5;
}

.companion-avatar-frame {
  pointer-events: auto;
  background: var(--bg-black);
  border: 2px solid var(--border-white);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.7);
  padding: 0;
  width: 58px;
  height: 58px;
  display: block;
  overflow: hidden;
  line-height: 0;
}

.companion-face {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  display: block;
}

@media (max-width: 640px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .container {
    padding: 0 16px;
  }

    .nav-inner {
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
    text-align: center;
  }

  .nav-brand {
    font-size: 1.05rem;
  }

  .nav-menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 0.88rem;
  }

  .nav-menu a {
    padding: 4px 6px;
  }

    .hero-section {
    padding: 34px 0 26px;
  }

  .hero-art-box {
    margin-bottom: 16px;
  }

  .hero-gif {
    max-width: 320px;
  }

  .hero-title {
    font-size: clamp(1.7rem, 6.5vw, 2.3rem);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }

  .hero-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }

  .hero-social-btn {
    padding: 8px 14px;
    font-size: 0.88rem;
    gap: 6px;
    flex: 1 1 calc(50% - 8px);
    max-width: 200px;
  }

    .overview-band {
    padding: 38px 0;
  }

  .overview-title {
    font-size: clamp(1.25rem, 5vw, 1.7rem);
    letter-spacing: 1px;
    margin-bottom: 14px;
  }

  .overview-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .overview-bullets {
    gap: 10px;
  }

  .overview-bullet {
    padding: 10px 12px;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .overview-punchline {
    font-size: 0.95rem;
    margin-top: 20px;
  }

    .characters-section {
    padding: 40px 0;
  }

  .characters-section .section-heading-center {
    margin-bottom: 22px;
  }

  .section-heading-center {
    font-size: 1.45rem;
    letter-spacing: 1.5px;
  }

  .section-sub-center {
    font-size: 0.88rem;
    margin-bottom: 24px;
  }

  .characters-stack {
    gap: 14px;
  }

  .rpg-dialogue-window {
    padding: 12px;
    gap: 12px;
    flex-direction: row;
    align-items: flex-start;
  }

  .portrait-frame {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
  }

  .speaker-name {
    font-size: 1.1rem;
  }

  .dialogue-speech {
    font-size: 0.92rem;
    line-height: 1.5;
  }

    .updates-section {
    padding: 38px 0;
  }

  .soon-callout {
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    padding: 8px 26px;
    margin-top: 14px;
  }

    .faq-section {
    padding: 38px 0 44px;
  }

  .faq-list {
    gap: 12px;
  }

  .faq-item {
    padding: 14px 14px;
  }

  .faq-q {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .faq-a {
    font-size: 0.9rem;
    padding-left: 14px;
  }

    .site-footer {
    padding: 24px 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    font-size: 0.8rem;
  }

  .footer-top {
    display: inline-block;
    padding: 6px 12px;
    border: 1px dashed var(--border-dim);
  }

    .riley-companion {
    bottom: 12px;
    right: 12px;
    max-width: min(290px, calc(100vw - 24px));
    gap: 6px;
  }

  .companion-bubble {
    padding: 10px 12px;
  }

  .bubble-speaker {
    font-size: 0.82rem;
  }

  .bubble-close {
    font-size: 1.25rem;
    padding: 4px 8px;
    min-width: 28px;
    min-height: 28px;
  }

  .bubble-text {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .companion-avatar-frame {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 360px) {
  .hero-social-btn {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .portrait-frame {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }
}

.site-wrapper {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-left: 2px solid var(--border-white);
  border-right: 2px solid var(--border-white);
  border-bottom: 2px solid var(--border-white);
  background: var(--bg-black);
  min-height: 100vh;
  position: relative;
}

@media (max-width: 820px) {
  .site-wrapper {
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
  .site-nav {
    border-top: none;
  }
}
