@import url("https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Wallpoet&display=swap");

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

html,
body,
#app {
  height: 100%;
  overflow: auto;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  margin: 0;
  background: #1a1a1a;
  color: #33ff33;
  font-family: "Courier Prime", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

::-webkit-scrollbar {
  display: none;
}

a {
  color: inherit;
  text-decoration: inherit;
}

button,
input {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.shell {
  background: #1a1a1a;
  width: 100%;
  min-height: 100%;
  padding: 2px;
}

@media (min-width: 640px) {
  .shell {
    padding: 0.5rem;
  }
}

.shell-inner {
  height: 100%;
  padding: 0.75rem;
  overflow: hidden;
  border-radius: 0.25rem;
}

@media (min-width: 768px) {
  .shell-inner {
    padding-top: 2rem;
    padding-left: 2rem;
  }
}

.scroll {
  height: 100%;
  overflow-y: auto;
}

.row {
  display: flex;
  flex-direction: row;
  column-gap: 0.5rem;
}

.grow {
  flex-grow: 1;
}

.shrink {
  flex-shrink: 0;
}

.history {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.block {
  margin-bottom: 0.75rem;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-art {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .hero-art {
    gap: 1.25rem;
  }
}

.wordmark {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.raptor {
  width: 100%;
  max-width: 70px;
  height: auto;
}

.buynow {
  width: 100%;
  max-width: 80px;
  height: auto;
  cursor: pointer;
  transition: transform 0.1s ease-in-out;
}

.buynow:hover {
  transform: scale(1.05);
}

.buynow:active {
  transform: scale(0.95);
}

@media (min-width: 640px) {
  .wordmark { max-width: 300px; }
  .raptor { max-width: 130px; }
  .buynow { max-width: 200px; }
}

@media (min-width: 1024px) {
  .wordmark { max-width: 450px; }
  .raptor { max-width: 200px; }
}

@media (min-width: 1536px) {
  .wordmark { max-width: 700px; }
  .raptor { max-width: 350px; }
}

.type-wrap {
  position: relative;
  font-family: "Courier Prime", monospace;
}

.type-sizer {
  visibility: hidden;
}

.type-live {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

.intro {
  max-width: 21rem;
}

@media (min-width: 768px) {
  .intro {
    max-width: 40rem;
  }
}

.hints {
  font-weight: 400;
}

.hints p {
  margin: 0 0 0.15rem;
}

.yellow,
.hints .yellow,
.clock {
  color: #cccc00;
}

.green {
  color: #33ff33;
}

.lime {
  color: #66ff66;
}

.red {
  color: #ff3f33;
}

.muted {
  color: #999;
}

.meta {
  display: grid;
  gap: 0.5rem;
}

.meta-row {
  display: grid;
  grid-template-columns: 100px 20px auto;
  align-items: center;
  width: max-content;
  max-width: 100%;
}

.meta-row p {
  margin: 0;
}

.meta-row a,
.meta-value {
  word-break: break-word;
  max-width: 220px;
}

@media (min-width: 640px) {
  .meta-row a,
  .meta-value {
    max-width: 250px;
  }
}

@media (min-width: 768px) {
  .meta-row a,
  .meta-value {
    max-width: none;
  }
}

.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #33ff33;
}

.social-icon {
  display: inline-flex;
  color: #1a1a1a;
  background: #33ff33;
  padding: 0.25rem;
  border-radius: 9999px;
}

.prompt-row {
  display: flex;
  flex-direction: row;
  column-gap: 0.5rem;
  align-items: center;
  margin-top: 0.25rem;
}

.clock {
  color: #cccc00;
  flex-shrink: 0;
}

#prompt {
  background: #1a1a1a;
  color: #66ff66;
  outline: none;
  flex-grow: 1;
  caret-color: #66ff66;
}

.output {
  margin: 0.5rem 0 1rem;
  white-space: pre-wrap;
  max-width: 300px;
  line-height: normal;
}

@media (min-width: 640px) {
  .output {
    max-width: none;
  }
}

.section-title {
  margin: 0.75rem 0 0.35rem;
}

.section-title p {
  margin: 0;
}

.section-title .label {
  text-transform: uppercase;
  color: #cccc00;
}

.who {
  max-width: 20rem;
}

@media (min-width: 768px) {
  .who {
    max-width: 40rem;
  }
}

.sumfetch {
  display: flex;
  flex-direction: column-reverse;
}

@media (min-width: 768px) {
  .sumfetch {
    flex-direction: row;
  }
}

.sumfetch img {
  width: 100%;
  max-width: 350px;
  height: auto;
}

@media (min-width: 768px) {
  .sumfetch img {
    max-width: 500px;
  }
}

.coming {
  color: #cccc00;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  background: rgba(0, 0, 0, 0.5);
}

.popup-overlay.hidden {
  display: none;
}

.popup {
  background: #171717;
  border: 1px dashed #d1d153;
  padding: 2.5rem 2rem;
  position: relative;
  font-family: "Courier Prime", monospace;
  width: min(600px, 92vw);
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  color: #0f0;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
}

.popup-title {
  color: #0f0;
  font-size: clamp(28px, 5vw, 56px);
  margin: 0 0 1.5rem;
  font-family: Wallpoet, sans-serif;
}

.popup-text {
  color: #0f0;
  margin: 0.75rem 0 0;
  font-size: clamp(14px, 2vw, 20px);
}

.text-xs {
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .text-xs {
    font-size: 1rem;
  }
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  background: #33ff33;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.riddle-line {
  color: #cccc00;
}

.space-y p {
  margin: 0;
}
