/* =========================================================
   Y2KAVE.NET — LANDING PAGE
   Designed specifically for y2kave.html
   ========================================================= */

:root {
  --bg: #080014;
  --bg2: #120025;
  --pink: #ff78d5;
  --pink2: #d84ac5;
  --purple: #8b35c9;
  --purple-dark: #39106e;
  --cyan: #55ffff;
  --blue: #527cff;
  --green: #39ff9b;
  --yellow: #ffcf00;
  --white: #f8eaff;
  --gray: #c7c7d1;
  --gray-dark: #777783;
  --black: #050008;
  --dark: #09000f;
  --display: "Press Start 2P", monospace;
  --body: "VT323", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0 0 55px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(138, 40, 210, 0.30), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(255, 70, 190, 0.20), transparent 35%),
    linear-gradient(135deg, #05000d, #11001f 45%, #05000d);
  color: var(--white);
  font-family: var(--body);
  font-size: 21px;
  overflow-x: hidden;
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.crt {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.42));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 49;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 2px,
    transparent 4px
  );
  mix-blend-mode: screen;
}

.site {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 24px));
  margin: 25px auto 75px;
}

.window {
  background: var(--gray);
  border: 2px solid #050505;
  box-shadow:
    inset 2px 2px 0 #ffffff,
    inset -2px -2px 0 #4b4b5a,
    7px 7px 0 rgba(0, 0, 0, 0.50);
  margin-bottom: 22px;
}

.titlebar {
  height: 30px;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #39106e, #8633ae 50%, #ff63c9);
  border-bottom: 2px solid #000;
  font-family: var(--display);
  font-size: 10px;
  color: #ffffff;
  text-shadow: 1px 1px #2c003d;
  user-select: none;
}

.window-buttons {
  display: flex;
  gap: 4px;
}

.window-buttons span {
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c9c9d2;
  color: #000;
  border: 1px solid #000;
  box-shadow: inset 1px 1px #ffffff, inset -1px -1px #555;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 11px;
  line-height: 1;
  user-select: none;
}

.top-window {
  margin-bottom: 22px;
}

.menu-bar {
  min-height: 29px;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 0 12px;
  background: #c7c7d1;
  color: #160022;
  border-bottom: 1px solid #777;
  font-family: var(--display);
  font-size: 8px;
}

.menu-bar span {
  cursor: default;
}

.menu-bar span::first-letter {
  text-decoration: underline;
}

.address-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  background: #c7c7d1;
  color: #12001c;
  font-family: var(--display);
  font-size: 8px;
}

.address-input {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border: 2px inset #aaa;
  padding: 5px 8px;
  font-family: var(--body);
  font-size: 17px;
  color: #180020;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.address-bar button,
.retro-button {
  background: linear-gradient(#ef9be0, #c643b8);
  border: 2px solid #000;
  box-shadow: inset 1px 1px #ffdcf7, inset -1px -1px #67105d;
  padding: 5px 10px;
  font-family: var(--display);
  font-size: 8px;
  cursor: pointer;
  color: #ffffff;
}

.address-bar button:hover,
.retro-button:hover {
  filter: brightness(1.1);
}

.address-bar button:active,
.retro-button:active {
  box-shadow: inset -1px -1px #ffffff;
  transform: translate(1px, 1px);
}

.window-content {
  padding: 20px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 100, 210, 0.08), transparent 35%),
    #10001b;
  color: var(--white);
}

.hero {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.small-terminal {
  margin: 0;
  font-family: var(--display);
  font-size: 9px;
  color: var(--green);
  letter-spacing: 1px;
  text-shadow: 0 0 7px rgba(57, 255, 155, 0.6);
}

.hero h1 {
  margin: 22px 0 12px;
  font-family: var(--display);
  font-size: clamp(30px, 7vw, 70px);
  letter-spacing: 8px;
  color: var(--pink);
  text-shadow:
    3px 3px 0 var(--purple),
    -2px -2px 0 var(--cyan),
    0 0 20px rgba(255, 100, 210, 0.65);
  line-height: 1.25;
}

.blink {
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.subtitle {
  max-width: 700px;
  margin: 0 auto;
  font-size: 28px;
  color: #ead8f7;
  line-height: 1.05;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.badges span {
  padding: 7px 9px;
  background: #050008;
  border: 2px solid var(--pink);
  color: var(--cyan);
  font-family: var(--display);
  font-size: 8px;
  box-shadow: 0 0 8px rgba(255, 90, 210, 0.30);
}

.pc-stage {
  position: relative;
  width: min(760px, 100%);
  height: 250px;
  margin-top: 35px;
  overflow: hidden;
}

.pc-pos {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 105px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--pink);
  cursor: pointer;
  z-index: 5;
  transition:
    left 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    top 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  appearance: none;
}

.pc-pos:hover {
  filter:
    drop-shadow(0 0 8px var(--pink))
    drop-shadow(0 0 14px var(--cyan));
}

.pc-pos:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.pc-spin {
  width: 90px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: linear-gradient(135deg, #30303b, #15151d);
  border: 4px solid #050505;
  box-shadow:
    inset 3px 3px #686875,
    inset -3px -3px #080808,
    0 0 15px rgba(255, 120, 213, 0.35);
}

.pc-spin svg {
  width: 55px;
  height: 45px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 5px rgba(255, 120, 213, 0.70));
}

.pc-caption {
  font-family: var(--display);
  font-size: 8px;
  color: var(--cyan);
  text-shadow:
    2px 2px 0 #260034,
    0 0 8px rgba(85, 255, 255, 0.60);
}

.pc-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  margin: 0;
  text-align: center;
  font-family: var(--display);
  font-size: 8px;
  color: var(--pink);
  pointer-events: none;
  text-shadow: 0 0 8px rgba(255, 120, 213, 0.60);
}

.pc-pos.launching {
  transition:
    left 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    top 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.construction {
  margin: 22px 0;
  padding: 11px;
  text-align: center;
  font-family: var(--display);
  font-size: 9px;
  color: #17001c;
  background: repeating-linear-gradient(45deg, #ffcf00 0 10px, #000 10px 20px);
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  gap: 20px;
  align-items: start;
}

.main-column,
.side-column {
  min-width: 0;
}

.side-column {
  display: flex;
  flex-direction: column;
}

.section-heading {
  display: inline-block;
  margin-bottom: 15px;
  padding: 6px 8px;
  background: #050008;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--display);
  font-size: 9px;
  box-shadow: 3px 3px 0 var(--purple);
}

.big-text {
  font-size: 28px;
  color: var(--pink);
  line-height: 1.05;
}

.main-column p {
  line-height: 1.15;
}

.pixel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pixel-list li {
  position: relative;
  padding: 8px 5px 8px 25px;
  border-bottom: 1px dashed rgba(255, 120, 213, 0.40);
  font-size: 23px;
  line-height: 1.05;
}

.pixel-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--pink);
  text-shadow: 0 0 6px rgba(255, 120, 213, 0.6);
}

.message-box {
  margin-top: 22px;
  padding: 15px;
  background: #050008;
  border: 2px solid var(--purple);
  color: #dffcff;
  font-size: 24px;
  line-height: 1.15;
  box-shadow: 4px 4px 0 rgba(85, 255, 255, 0.25);
}

.terminal-box {
  background: #020804;
  border: 2px solid var(--green);
  padding: 15px;
  color: var(--green);
  font-family: var(--body);
  font-size: 22px;
  box-shadow: inset 0 0 20px rgba(57, 255, 155, 0.08);
}

.terminal-header {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 9px;
  margin-bottom: 15px;
}

.terminal-box p {
  margin: 8px 0;
}

.terminal-cursor {
  display: inline-block;
  animation: blink 0.7s steps(1) infinite;
}

.green { color: var(--green); }
.cyan { color: var(--cyan); }
.pink { color: var(--pink); }

.mini-window {
  margin-bottom: 20px;
}

.mini-window .window-content {
  padding: 14px;
}

.music-box {
  text-align: center;
}

.music-disc {
  width: 70px;
  height: 70px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--pink), var(--purple), var(--cyan), var(--pink));
  border: 4px solid #050008;
  box-shadow: 0 0 15px rgba(255, 100, 210, 0.50);
  font-size: 32px;
  color: #fff;
}

.music-title {
  font-family: var(--display);
  font-size: 9px;
  color: var(--cyan);
}

.music-artist {
  font-size: 20px;
  color: #d7c3e5;
}

.music-bar {
  height: 8px;
  background: #050008;
  border: 1px solid #555;
  margin: 12px 0;
}

.music-bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--pink));
}

.music-controls {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.music-controls button {
  width: 35px;
  height: 28px;
  background: #c7c7d1;
  border: 2px solid #000;
  cursor: pointer;
}

.music-controls button:hover {
  background: #eeeef4;
}

.tiny {
  font-size: 16px;
  color: #a997b5;
}

.picture-box {
  text-align: center;
}

.fake-picture {
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle, #ff78d5 1px, transparent 2px),
    linear-gradient(135deg, #240047, #02000a);
  background-size: 10px 10px, 100% 100%;
  border: 3px solid #000;
  box-shadow: inset 0 0 20px #000;
}

.fake-picture span {
  font-size: 35px;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan);
}

.fake-picture p {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: 9px;
  line-height: 1.8;
  color: #fff;
}

.movie-box {
  text-align: center;
}

.movie-star {
  font-size: 35px;
  color: var(--yellow);
  text-shadow: 0 0 10px var(--yellow);
}

.movie-title {
  font-family: var(--display);
  font-size: 9px;
  color: var(--cyan);
}

.movie-name {
  font-family: var(--display);
  font-size: 13px;
  color: var(--pink);
  margin-top: 8px;
}

.movie-info {
  font-size: 18px;
  color: #bca9c7;
}

.movie-note {
  font-style: italic;
  color: #fff;
}

.guestbook-box {
  background: #020804;
  border: 2px solid var(--green);
  padding: 15px;
  color: var(--green);
  font-size: 21px;
  box-shadow: inset 0 0 15px rgba(57, 255, 155, 0.08);
}

.guestbook-box p {
  margin: 7px 0;
}

.link-list {
  display: grid;
  gap: 8px;
}

.link-list a {
  display: block;
  padding: 10px;
  background: #090010;
  border: 2px solid var(--purple);
  color: var(--cyan);
  font-family: var(--display);
  font-size: 9px;
  text-decoration: none;
  transition: 0.15s ease;
}

.link-list a:hover {
  background: #25003b;
  border-color: var(--pink);
  color: #fff;
  transform: translateX(3px);
}

.coming-soon {
  margin-top: 15px;
  color: var(--pink);
  font-size: 20px;
}

.forum-status {
  font-family: var(--display);
  font-size: 8px;
  color: var(--green);
  margin-bottom: 10px;
}

.forum-box a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(85, 255, 255, 0.30);
  color: var(--cyan);
  text-decoration: none;
  font-size: 19px;
  transition: 0.12s ease;
}

.forum-box a:hover {
  color: var(--pink);
  padding-left: 4px;
}

footer {
  margin-top: 20px;
}

.footer-window {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #c7c7d1;
  border: 2px solid #000;
  box-shadow: inset 2px 2px #fff, inset -2px -2px #555;
  color: #18001f;
  font-family: var(--display);
  font-size: 8px;
}

.hack-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 0, 10, 0.84);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.hack-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hack-window {
  width: min(720px, 100%);
  max-height: min(650px, 90vh);
  background: #050008;
  border: 3px solid #000;
  box-shadow:
    inset 2px 2px #fff,
    inset -2px -2px #555,
    10px 10px 0 rgba(0, 0, 0, 0.60),
    0 0 35px rgba(255, 80, 210, 0.35);
  overflow: hidden;
}

.hack-titlebar {
  height: 32px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #12002c, #7b20a7, #ff63c9);
  border-bottom: 2px solid #000;
  color: #fff;
  font-family: var(--display);
  font-size: 9px;
}

.hack-titlebar button {
  width: 20px;
  height: 20px;
  padding: 0;
  background: #c7c7d1;
  color: #000;
  border: 1px solid #000;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #555;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
}

.hack-titlebar button:active {
  box-shadow: inset -1px -1px #fff;
  transform: translate(1px, 1px);
}

.hack-body {
  padding: 25px;
  background:
    radial-gradient(circle at center, rgba(57, 255, 155, 0.07), transparent 55%),
    #020804;
  color: var(--green);
  font-family: var(--body);
  font-size: 24px;
  min-height: 350px;
  overflow-y: auto;
}

#terminalLines {
  min-height: 125px;
}

.terminal-line {
  min-height: 27px;
  white-space: pre-wrap;
  text-shadow: 0 0 6px rgba(57, 255, 155, 0.55);
}

.terminal-granted {
  margin-top: 15px;
  color: var(--pink);
  font-family: var(--display);
  font-size: 14px;
  text-align: center;
  text-shadow:
    0 0 8px var(--pink),
    0 0 15px rgba(255, 120, 213, 0.70);
  animation: grantedPulse 0.7s infinite alternate;
}

@keyframes grantedPulse {
  from { opacity: 0.65; }
  to { opacity: 1; }
}

.hack-menu {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.hack-menu.show {
  display: grid;
}

.hack-menu a {
  min-height: 100px;
  padding: 14px;
  display: grid;
  grid-template-columns: 45px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  background: linear-gradient(135deg, #110018, #26002f);
  border: 2px solid var(--purple);
  color: var(--white);
  text-decoration: none;
  transition: 0.15s ease;
  box-shadow: 3px 3px 0 rgba(85, 255, 255, 0.15);
}

.hack-menu a:hover {
  background: linear-gradient(135deg, #250035, #42004d);
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(255, 120, 213, 0.30);
}

.hack-icon {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--cyan);
}

.hack-menu a > span:not(.hack-icon) {
  font-family: var(--display);
  font-size: 9px;
  color: var(--pink);
}

.hack-menu small {
  color: #bca9c7;
  font-family: var(--body);
  font-size: 18px;
}

.hack-body::-webkit-scrollbar {
  width: 10px;
}

.hack-body::-webkit-scrollbar-track {
  background: #050008;
}

.hack-body::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--purple), var(--pink));
  border: 2px solid #050008;
}

.taskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 6px;
  background: linear-gradient(#d8d8e0, #aaaab5);
  border-top: 2px solid #fff;
  box-shadow: 0 -2px 0 #555;
  color: #08000d;
  font-family: var(--display);
  font-size: 8px;
}

.start-button {
  height: 31px;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(#eeeef4, #bcbcc7);
  border: 2px solid #000;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #555;
  color: #08000d;
  font-family: var(--display);
  font-size: 8px;
  cursor: pointer;
}

.start-button:hover {
  filter: brightness(1.04);
}

.start-button:active {
  box-shadow: inset -1px -1px #fff;
  transform: translate(1px, 1px);
}

.start-logo {
  width: 15px;
  height: 15px;
  display: inline-block;
  background: conic-gradient(from 45deg, var(--pink), var(--purple), var(--cyan), var(--pink));
  border: 1px solid #000;
  transform: rotate(45deg);
}

.task-divider {
  width: 2px;
  height: 28px;
  background: #777;
  box-shadow: 1px 0 #fff;
}

.task-window {
  height: 31px;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  background: #c7c7d1;
  border: 2px solid #000;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #555;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.task-clock {
  height: 31px;
  min-width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c7c7d1;
  border: 2px inset #aaa;
  color: #100019;
  font-family: var(--body);
  font-size: 20px;
}

@media (max-width: 800px) {
  .site {
    width: calc(100% - 12px);
    margin-top: 10px;
    margin-bottom: 65px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 540px;
  }

  .menu-bar {
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
  }

  .address-bar {
    flex-wrap: wrap;
  }

  .address-input {
    min-width: 150px;
  }

  .pc-stage {
    width: 100%;
    height: 240px;
  }

  .side-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .side-column .window {
    margin-bottom: 0;
  }

  .hack-window {
    width: 100%;
    max-height: 90vh;
  }

  .hack-body {
    padding: 18px;
    font-size: 21px;
  }

  .hack-menu {
    grid-template-columns: 1fr;
  }

  .hack-menu a {
    min-height: 80px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 19px;
    padding-bottom: 50px;
  }

  .site {
    width: calc(100% - 8px);
    margin-top: 6px;
  }

  .window {
    margin-bottom: 16px;
    box-shadow:
      inset 2px 2px 0 #fff,
      inset -2px -2px 0 #4b4b5a,
      4px 4px 0 rgba(0, 0, 0, 0.5);
  }

  .titlebar {
    height: 28px;
    font-size: 8px;
  }

  .window-buttons span {
    width: 15px;
    height: 15px;
    font-size: 10px;
  }

  .menu-bar {
    display: none;
  }

  .address-bar {
    padding: 6px;
  }

  .address-bar > span:first-child {
    display: none;
  }

  .address-input {
    font-size: 16px;
    min-width: 0;
  }

  .address-bar button {
    font-size: 7px;
    padding: 5px 7px;
  }

  .window-content {
    padding: 14px;
  }

  .hero {
    min-height: 510px;
    padding: 10px;
  }

  .hero h1 {
    font-size: 27px;
    letter-spacing: 3px;
    margin-top: 18px;
  }

  .small-terminal {
    font-size: 8px;
  }

  .subtitle {
    font-size: 22px;
  }

  .badges {
    gap: 5px;
    margin-top: 15px;
  }

  .badges span {
    font-size: 7px;
    padding: 6px;
  }

  .pc-stage {
    height: 230px;
    margin-top: 25px;
  }

  .pc-pos {
    width: 135px;
  }

  .pc-spin {
    width: 80px;
    height: 62px;
  }

  .pc-hint {
    font-size: 7px;
    bottom: 5px;
  }

  .construction {
    font-size: 7px;
    padding: 9px 5px;
  }

  .section-heading {
    font-size: 8px;
  }

  .pixel-list li {
    font-size: 21px;
    padding-left: 23px;
  }

  .message-box {
    font-size: 21px;
  }

  .big-text {
    font-size: 24px;
  }

  .terminal-box {
    font-size: 20px;
  }

  .side-column {
    grid-template-columns: 1fr;
  }

  .footer-window {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .taskbar {
    height: 38px;
    padding: 3px;
  }

  .start-button {
    min-width: 70px;
    height: 30px;
    font-size: 7px;
  }

  .task-window {
    height: 30px;
    padding: 0 6px;
    font-size: 7px;
  }

  .task-clock {
    min-width: 55px;
    height: 30px;
    font-size: 18px;
  }

  .task-divider {
    display: none;
  }

  .hack-overlay {
    padding: 8px;
  }

  .hack-window {
    max-height: 94vh;
  }

  .hack-titlebar {
    height: 29px;
    font-size: 8px;
  }

  .hack-body {
    padding: 15px;
    min-height: 300px;
    font-size: 20px;
  }

  #terminalLines {
    min-height: 115px;
  }

  .terminal-line {
    min-height: 24px;
  }

  .terminal-granted {
    font-size: 11px;
  }

  .hack-menu {
    gap: 8px;
    margin-top: 12px;
  }

  .hack-menu a {
    min-height: 72px;
    padding: 10px;
  }

  .hack-icon {
    font-size: 24px;
  }

  .hack-menu a > span:not(.hack-icon) {
    font-size: 8px;
  }

  .hack-menu small {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 23px;
    letter-spacing: 2px;
  }

  .subtitle {
    font-size: 20px;
  }

  .pc-stage {
    height: 215px;
  }

  .pc-pos {
    width: 120px;
  }

  .pc-caption {
    font-size: 7px;
  }

  .pc-hint {
    font-size: 6px;
  }

  .start-button {
    min-width: 60px;
    font-size: 6px;
  }

  .task-clock {
    min-width: 48px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
