/* Nectaris remake: thanks page. Dark lunar palette shared with the game. */

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: #14110c;
  color: #fff;
  font-family: "Segoe UI", system-ui, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
}
:lang(ja) { font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", system-ui, sans-serif; }
a { color: #8cc4ff; }
a:hover, a:focus-visible { color: #d2e8ff; }

.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 18px 3vw 10px; }
.brand { color: #e9cb69; font-size: clamp(34px, 4vw, 54px); font-weight: 800; letter-spacing: 8px;
  line-height: 1; text-decoration: none; }
.page-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.page-tabs a { padding: 8px 16px; border: 1px solid #685b40; border-radius: 4px; color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.page-tabs a:hover, .page-tabs a:focus-visible { background: #2c261a; border-color: #ffdb59; }
.page-tabs a[aria-current="page"] { background: #43381f; border-color: #ffda76; color: #ffe498; }

main { padding: 0 3vw 36px; }
section { padding: 30px 0; border-top: 1px solid #3a3326; }
section.hero { border-top: none; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4vw; }

h1 { font-size: clamp(44px, 6vw, 88px); font-weight: 800; line-height: 1.05; margin: 0 0 18px; color: #ffe498; }
h2 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 800; line-height: 1.2; margin: 0 0 14px; }
h3 { font-size: 23px; font-weight: 800; line-height: 1.3; margin: 6px 0 4px; }
p, li, td, th { font-size: 17px; line-height: 1.7; }
p:lang(ja), li:lang(ja), td:lang(ja) { line-height: 1.9; }
p { margin: 0 0 14px; }

.kicker { font-size: 21px; font-weight: 700; margin: 0 0 8px; }
.lead { font-size: 19px; }

.hero { display: grid; grid-template-columns: 1fr 1fr minmax(240px, 0.8fr); gap: 0 4vw; align-items: start; }
.hero-figure { grid-column: 3; grid-row: 1 / span 2; }
.play { grid-column: 1 / span 2; margin: 4px 0 0; }
.play-link { display: inline-block; padding: 12px 24px; border: 2px solid #ffda76; border-radius: 6px;
  background: #43381f; color: #ffe498; font-size: 21px; font-weight: 800; text-decoration: none; }
.play-link:hover, .play-link:focus-visible { background: #5a4a27; color: #fff3c4; }

figure { margin: 0; }
figcaption { font-size: 15px; line-height: 1.6; margin-top: 8px; }
.photo { width: 100%; background-size: contain; background-repeat: no-repeat; background-position: center; }
.photo.on-white { background-color: #fff; background-origin: content-box; padding: 10px; border-radius: 6px; }
.hero-figure .photo { max-height: 72vh; }

.beginning-extras { display: grid; grid-template-columns: minmax(180px, 0.3fr) 1fr; gap: 3vw; align-items: center; margin-top: 16px; }
.quote { padding: 6px 0 6px 22px; border-left: 4px solid #e9cb69; }
.quote blockquote { margin: 0; }
.quote-original { font-size: clamp(21px, 1.9vw, 28px); font-weight: 700; margin: 0 0 8px; }
.quote-translation { font-size: 18px; margin: 0 0 10px; }
.quote figcaption { font-size: 15px; font-weight: 700; }

.table-scroll { overflow-x: auto; margin: 8px 0 16px; }
.people-table { width: 100%; border-collapse: collapse; }
.people-table th { text-align: left; font-size: 16px; font-weight: 800; padding: 8px 18px 8px 0;
  border-bottom: 2px solid #685b40; white-space: nowrap; }
.people-table td { padding: 7px 18px 7px 0; border-bottom: 1px solid #3a3326; white-space: nowrap; }
.people-table td:first-child { font-size: 19px; font-weight: 800; }
.people-table td:nth-child(2) { font-weight: 700; }
.notes p { font-size: 16px; }

.versions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 22px; margin-top: 12px; }
.version { min-width: 0; padding: 18px 20px; border: 1px solid #685b40; border-radius: 8px; background: #1c1812; }
.version p { margin: 0 0 8px; }
.card-figure { margin-bottom: 12px; }
.card-figure .photo { max-height: 220px; }
.card-figure.portrait .photo { max-height: 300px; }
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.year { font-size: clamp(42px, 3.6vw, 58px); font-weight: 800; line-height: 1; color: #ffe498;
  font-variant-numeric: tabular-nums; }
.version .year { margin: 0; }
.platform { font-size: 16px; font-weight: 700; }
.people { list-style: none; margin: 10px 0; padding: 0; overflow-x: auto; }
.people li { font-size: 15px; line-height: 1.8; white-space: nowrap; }
.people-note, .source, .winners { font-size: 15px; }

.refs, .picture-credits { margin: 0; padding-left: 22px; overflow-x: auto; }
.refs li { margin-bottom: 6px; white-space: nowrap; }
.picture-credits li { font-size: 15px; white-space: nowrap; }

.site-footer { display: flex; flex-wrap: wrap; gap: 10px 30px; padding: 20px 3vw 32px; border-top: 1px solid #3a3326; }
.site-footer a { font-size: 16px; font-weight: 700; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-figure { grid-column: 1 / span 2; grid-row: auto; margin-top: 12px; }
  .hero-figure .photo { max-height: 60vh; }
}
@media (max-width: 800px) {
  .brand { letter-spacing: 4px; }
  .pair, .hero, .beginning-extras { grid-template-columns: 1fr; }
  .hero-figure, .play { grid-column: 1; }
}
