:root {
  --ink: #14232b; --paper: #f7efe0; --sun: #ffd97a; --coral: #e06a4c;
  --sea: #2f97a8; --deep: #0d1c24; --moss: #63b86b;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--paper); color: var(--ink); overflow-x: hidden;
}
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: linear-gradient(180deg, #16323e 0%, #1f4a52 45%, #e07a52 100%);
  overflow: hidden;
}
#hero-preview {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.hero-copy {
  position: relative; z-index: 2; padding: 8vh 8vw;
  max-width: 640px;
}
.kicker {
  color: #ffe6a6; text-transform: uppercase; letter-spacing: .18em;
  font-size: 12px; font-weight: 700; margin-bottom: 12px;
}
h1 {
  font-size: clamp(44px, 9vw, 96px); line-height: 0.95; color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .45); margin-bottom: 14px;
  font-weight: 900; letter-spacing: -0.02em;
}
.tagline { color: #fde9c8; font-size: clamp(15px, 2.2vw, 20px); margin-bottom: 26px; max-width: 34ch; }
#play-now, #play-now-2 {
  display: inline-block; background: var(--sun); color: var(--deep);
  padding: 16px 42px; border-radius: 999px; text-decoration: none;
  font-weight: 900; font-size: 19px; box-shadow: 0 8px 30px rgba(255, 217, 122, .45);
  transition: transform .15s, box-shadow .15s;
}
#play-now:hover, #play-now-2:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 38px rgba(255,217,122,.6); }
.hint { margin-top: 12px; color: #cfe0d8; font-size: 13px; }
.wave {
  position: absolute; bottom: -2px; left: 0; right: 0; height: 90px; z-index: 3;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 90"><path d="M0 45 C 180 90 360 0 540 45 C 720 90 900 0 1080 45 C 1260 90 1380 30 1440 50 L1440 90 L0 90 Z" fill="%23f7efe0"/></svg>') no-repeat bottom / cover;
}
main { max-width: 1080px; margin: 0 auto; padding: 60px 24px 40px; }
.block { margin-bottom: 64px; }
h2 { font-size: clamp(24px, 4vw, 34px); margin-bottom: 8px; letter-spacing: -0.01em; }
.sub { color: #5b6e62; margin-bottom: 22px; }
#gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px;
}
#gallery figure {
  background: #fff; border-radius: 14px; padding: 10px 10px 6px;
  box-shadow: 0 6px 24px rgba(20, 35, 43, .12); border: 1px solid #e8ddc9;
}
#gallery img { width: 100%; height: auto; aspect-ratio: 8/5; border-radius: 8px; display: block; background: #16323e; }
#gallery figcaption { font-size: 12px; color: #7a8a7e; padding: 6px 2px 2px; text-transform: uppercase; letter-spacing: .12em; }
#features { list-style: none; display: grid; gap: 12px; max-width: 720px; }
#features li {
  background: #fff; border-left: 5px solid var(--sun); border-radius: 10px;
  padding: 13px 16px; box-shadow: 0 3px 12px rgba(20, 35, 43, .08); line-height: 1.5;
}
#features b { color: #b3541e; }
#controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.ctl { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 3px 12px rgba(20, 35, 43, .08); }
.key {
  display: inline-block; background: var(--deep); color: var(--sun); border-radius: 7px;
  padding: 4px 10px; font-size: 13px; font-weight: 700; margin: 0 6px 6px 0;
  font-family: ui-monospace, monospace;
}
.ctl p { font-size: 14px; line-height: 1.55; color: #40514a; margin-top: 6px; }
.cta {
  text-align: center; background: linear-gradient(135deg, #16323e, #1f4a52);
  border-radius: 22px; padding: 56px 24px; color: #fff;
}
.cta h2 { color: var(--sun); }
.cta .sub { color: #cfe0d8; margin-bottom: 26px; }
footer { text-align: center; padding: 28px; color: #7a8a7e; font-size: 13px; }
@media (max-width: 480px) {
  .hero-copy { padding: 12vh 6vw 16vh; }
  .hero { min-height: 82vh; }
  #play-now { padding: 14px 34px; }
}
