﻿@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

:root {
  --bg: #09131f;
  --bg2: #10283d;
  --card: #142a3d;
  --line: #76f3b1;
  --text: #e8fff3;
  --accent: #ffcb48;
  --danger: #ff6a6a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'VT323', monospace;
  font-size: 28px;
  line-height: 1.25;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, #154466 0 20%, transparent 21%),
    radial-gradient(circle at 85% 20%, #13324c 0 18%, transparent 19%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg) 70%);
  min-height: 100vh;
  position: relative;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
}

.cats-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.cat {
  position: absolute;
  width: 12px;
  height: 12px;
  image-rendering: pixelated;
  opacity: 0.42;
  background: #ffcf5f;
  animation: floaty 4s steps(2, end) infinite;
}

.cat-dev {
  background: #8fe8ff;
  box-shadow:
    12px 0 #8fe8ff, 24px 0 #8fe8ff, 48px 0 #8fe8ff, 60px 0 #8fe8ff,
    0 12px #8fe8ff, 12px 12px #8fe8ff, 24px 12px #8fe8ff, 36px 12px #8fe8ff, 48px 12px #8fe8ff, 60px 12px #8fe8ff,
    0 24px #8fe8ff, 12px 24px #0e171a, 24px 24px #8fe8ff, 36px 24px #8fe8ff, 48px 24px #0e171a, 60px 24px #8fe8ff,
    0 36px #8fe8ff, 12px 36px #8fe8ff, 24px 36px #8fe8ff, 36px 36px #8fe8ff, 48px 36px #8fe8ff, 60px 36px #8fe8ff,
    12px 48px #8fe8ff, 24px 48px #8fe8ff, 36px 48px #8fe8ff, 48px 48px #8fe8ff,
    72px 24px #6f8cff, 84px 24px #6f8cff, 72px 36px #6f8cff, 84px 36px #6f8cff;
}

.cat-admin {
  background: #b9ff95;
  box-shadow:
    12px 0 #b9ff95, 24px 0 #b9ff95, 48px 0 #b9ff95, 60px 0 #b9ff95,
    0 12px #b9ff95, 12px 12px #b9ff95, 24px 12px #b9ff95, 36px 12px #b9ff95, 48px 12px #b9ff95, 60px 12px #b9ff95,
    0 24px #b9ff95, 12px 24px #1d2a16, 24px 24px #b9ff95, 36px 24px #b9ff95, 48px 24px #1d2a16, 60px 24px #b9ff95,
    0 36px #b9ff95, 12px 36px #b9ff95, 24px 36px #b9ff95, 36px 36px #b9ff95, 48px 36px #b9ff95, 60px 36px #b9ff95,
    12px 48px #b9ff95, 24px 48px #b9ff95, 36px 48px #b9ff95, 48px 48px #b9ff95,
    72px 12px #2a2f3d, 84px 12px #2a2f3d, 72px 24px #2a2f3d, 84px 24px #2a2f3d, 72px 36px #2a2f3d, 84px 36px #2a2f3d,
    96px 24px #76f3b1;
}

.cat-1c {
  background: #ffcf5f;
  box-shadow:
    12px 0 #ffcf5f, 24px 0 #ffcf5f, 48px 0 #ffcf5f, 60px 0 #ffcf5f,
    0 12px #ffcf5f, 12px 12px #ffcf5f, 24px 12px #ffcf5f, 36px 12px #ffcf5f, 48px 12px #ffcf5f, 60px 12px #ffcf5f,
    0 24px #ffcf5f, 12px 24px #1c2f2e, 24px 24px #ffcf5f, 36px 24px #ffcf5f, 48px 24px #1c2f2e, 60px 24px #ffcf5f,
    0 36px #ffcf5f, 12px 36px #ffcf5f, 24px 36px #ffcf5f, 36px 36px #ffcf5f, 48px 36px #ffcf5f, 60px 36px #ffcf5f,
    12px 48px #ffcf5f, 24px 48px #ffcf5f, 36px 48px #ffcf5f, 48px 48px #ffcf5f,
    72px 18px #ffe95d, 84px 18px #ffe95d, 72px 30px #ffe95d, 84px 30px #ffe95d, 96px 18px #d74a3b;
}

.cat-a { top: 8%; left: 7%; transform: scale(1.1); }
.cat-b { top: 20%; right: 8%; transform: scale(0.9) scaleX(-1); animation-delay: .7s; }
.cat-c { top: 43%; left: 5%; transform: scale(1.3); animation-delay: 1.4s; }
.cat-d { top: 57%; right: 6%; transform: scale(1); animation-delay: 2s; }
.cat-e { top: 77%; left: 10%; transform: scale(0.95) scaleX(-1); animation-delay: 2.6s; }
.cat-f { top: 83%; right: 13%; transform: scale(1.15); animation-delay: 3.2s; }

@keyframes floaty {
  0% { translate: 0 0; }
  50% { translate: 0 -6px; }
  100% { translate: 0 0; }
}

.container {
  width: min(980px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero {
  padding: 40px 0 20px;
  text-align: center;
}

.badge {
  display: inline-block;
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: #041018;
  background: var(--line);
  padding: 10px 14px;
  border: 3px solid #041018;
  box-shadow: 5px 5px 0 #041018;
  margin-bottom: 24px;
}

h1,
h2 {
  font-family: 'Press Start 2P', monospace;
  margin: 0 0 16px;
  line-height: 1.35;
}

h1 {
  font-size: clamp(34px, 8vw, 64px);
  text-shadow: 4px 4px 0 #0a1b2a;
}

h2 {
  font-size: clamp(20px, 3vw, 30px);
}

.subtitle {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(24px, 3.5vw, 34px);
}

.hero-art {
  margin: 34px auto 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pixel {
  width: 18px;
  height: 18px;
  image-rendering: pixelated;
}

.bot {
  background: #7cf4b2;
  box-shadow:
    18px 0 #7cf4b2, 36px 0 #7cf4b2,
    0 18px #7cf4b2, 36px 18px #7cf4b2,
    0 36px #7cf4b2, 36px 36px #7cf4b2,
    0 54px #7cf4b2, 18px 54px #7cf4b2, 36px 54px #7cf4b2,
    72px 18px #ffcb48, 90px 18px #ffcb48,
    72px 36px #ffcb48, 90px 36px #ffcb48,
    72px 54px #ffcb48, 90px 54px #ffcb48;
}

.server {
  background: #94b3ff;
  box-shadow:
    18px 0 #94b3ff, 36px 0 #94b3ff, 54px 0 #94b3ff,
    0 18px #94b3ff, 54px 18px #94b3ff,
    0 36px #94b3ff, 54px 36px #94b3ff,
    0 54px #94b3ff, 18px 54px #94b3ff, 36px 54px #94b3ff, 54px 54px #94b3ff,
    18px 18px var(--accent), 36px 18px var(--danger),
    18px 36px var(--line), 36px 36px #ffffff;
}

.duck {
  background: #ffcb48;
  box-shadow:
    18px 0 #ffcb48, 36px 0 #ffcb48,
    0 18px #ffcb48, 18px 18px #ffcb48, 36px 18px #ffcb48,
    0 36px #ffcb48, 18px 36px #ffcb48, 36px 36px #ffcb48, 54px 36px #ff7b47,
    18px 54px #ffcb48, 36px 54px #ffcb48,
    18px 18px #1f2e1f;
  transform: translateY(8px);
}

.card {
  border: 3px solid #0a1b2a;
  background: var(--card);
  margin: 18px 0;
  padding: 22px;
  box-shadow: 8px 8px 0 #0a1b2a;
}

ul {
  margin: 10px 0 0;
  padding-left: 24px;
}

a {
  color: var(--line);
}

.hint {
  color: #b4d9cd;
  font-size: 24px;
}

.footer {
  padding: 20px 0 36px;
  text-align: center;
}

.tiny {
  opacity: 0.8;
  font-size: 24px;
}

@media (max-width: 700px) {
  body {
    font-size: 24px;
  }

  .card {
    padding: 16px;
  }

  .hero {
    padding-top: 26px;
  }

  .cat-c,
  .cat-f {
    display: none;
  }
}
