@charset "UTF-8";

:root {
  color-scheme: dark;
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: #101913;
  color: #f0f0e6;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: 32px 24px 24px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 24px;
  text-align: center;
  word-break: keep-all;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #101913;
  background-image: url("./backgrounds/world.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, #08120d70 0%, #08120d40 38%, #08120d0d 82%),
    linear-gradient(180deg, #09110f33 0%, #09110f1a 55%, #09110f99 100%);
}

.landing {
  display: grid;
  place-items: center;
  min-width: 0;
}

.intro { width: 100%; max-width: 480px; text-shadow: 0 2px 18px #030b0999; }

.home-link { position: fixed; top: 24px; left: 24px; color: #d0d5c8; font-size: 12px; line-height: 1.6; text-decoration: none; text-shadow: 0 2px 10px #030b09; z-index: 1; padding: 8px 0; }
.home-link:hover { color: #f0f0e6; }
.home-link:focus-visible { outline: 2px solid #d6e8a8; outline-offset: 5px; }

.creator {
  margin: 0;
  color: #c2c9b4;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .12em;
}

h1 {
  margin: 20px 0 0;
  font-family: "Batang", "Noto Serif KR", "Songti SC", serif;
  font-size: clamp(52px, 11vw, 88px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .1em;
  text-indent: .1em;
}

.description {
  margin: 26px 0 0;
  color: #d0d5c8;
  font-size: 14px;
  line-height: 1.95;
}

.start-button {
  min-width: 188px;
  min-height: 48px;
  margin-top: 36px;
  padding: 12px 28px;
  border: 1px solid #d6e8a8;
  border-radius: 3px;
  background: #d6e8a8;
  color: #203025;
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .15s;
}

.start-button:enabled:hover { background: #e3f2c2; }
.start-button:focus-visible { outline: 2px solid #d6e8a8; outline-offset: 5px; }
.start-button:disabled { background: #0b1710a8; border-color: #b4c59c80; color: #d2ddc2; cursor: default; backdrop-filter: blur(8px); }

.footer {
  color: #b4bea9;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .04em;
}

::selection { background: #d6e8a8; color: #101913; }

@media (max-width: 480px) {
  .backdrop { background-position: 55% center; }
  .creator { font-size: 11px; }
  .description { font-size: 13px; }
}

@media (max-height: 600px) {
  body { padding: 20px 24px 16px; gap: 16px; }
  h1 { margin-top: 12px; font-size: clamp(48px, 10vw, 64px); }
  .description { margin-top: 16px; }
  .start-button { margin-top: 24px; }
}

@media (max-height: 420px) {
  body { padding: 16px 20px 12px; gap: 12px; }
  h1 { margin-top: 8px; font-size: 48px; }
  .description { margin-top: 10px; font-size: 12px; line-height: 1.8; }
  .start-button { margin-top: 18px; min-height: 44px; padding-block: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .start-button { transition: none; }
}
