@charset "utf-8";

:root {
  color-scheme: dark;
  --background: #151f1a;
  --surface: #1c2a21;
  --ink: #f8f0dd;
  --muted: #d0d0bc;
  --gold: #f2cc80;
  --line: #525742;
  font-family: system-ui, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  background-color: var(--background);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 0.3em; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
p, h1, h2 { margin: 0; }
img { display: block; }

.page {
  width: min(75rem, 100% - 5rem);
  margin-inline: auto;
}

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  min-height: 5rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 720;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 0.55rem;
  border: 1px solid #746449;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 3vw, 1.8rem);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-header nav a { text-decoration: none; }
.site-header nav a:hover, .site-footer a:hover { color: var(--gold); }

.language {
  border: 1px solid var(--line);
  border-radius: 99rem;
  padding: 0.36rem 0.78rem;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(20rem, 0.85fr) minmax(0, 1.15fr);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  min-height: 29rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.15rem;
  padding: clamp(1.75rem, 4.8vw, 4.25rem);
}

.genre {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}

h1 {
  color: var(--ink);
  font-family: Georgia, "Batang", "Songti SC", serif;
  font-size: clamp(3rem, 6.2vw, 5.15rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

html[lang="en"] h1 {
  font-size: clamp(3rem, 5.7vw, 5rem);
  letter-spacing: -0.055em;
}

.lede {
  max-width: 22rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
  word-break: keep-all;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding: 0.78rem 1.05rem;
  min-height: 2.9rem;
  border-radius: 0.55rem;
  background: var(--gold);
  color: #1c221a;
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}
.store-link:hover { background: #ffe0a2; }
.store-link span { font-size: 1rem; }

.hero-art {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
  background-color: #403b2a;
}

.hero-art img {
  position: absolute;
  right: 0;
  width: 185%;
  height: 100%;
  object-fit: cover;
  object-position: right 54%;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  padding-block: 2.2rem 2.5rem;
}

.features article {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.features h2 {
  color: var(--gold);
  font-size: 1rem;
  line-height: 1.4;
}

.features p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  max-width: 23rem;
  word-break: keep-all;
}

.site-footer {
  padding-block: 1.25rem 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.83rem;
}

@media (max-width: 55rem) {
  .page { width: min(100% - 2.5rem, 42rem); }
  .hero { grid-template-columns: 1fr; }
  .hero-art { grid-row: 1; min-height: 0; height: clamp(14rem, 55vw, 21rem); }
  .hero-copy { padding: 2rem 1.6rem 2.3rem; }
  .features { gap: 1rem; }
}

@media (max-width: 34rem) {
  .page { width: calc(100% - 1.5rem); }
  .site-header, .site-footer { flex-wrap: wrap; }
  .site-header { gap: 0.65rem; }
  .hero-art { height: 15.5rem; }
  .features { grid-template-columns: 1fr; gap: 1.15rem; padding-block: 1.6rem 1.9rem; }
}

@media (max-width: 25rem) {
  .brand img { width: 28px; height: 28px; }
  .brand { font-size: 0.88rem; gap: 0.4rem; }
  .site-header nav { font-size: 0.78rem; gap: 0.54rem; }
  .language { padding-inline: 0.55rem; }
  .hero-art { height: 13rem; }
}
