/* Scoped to the public account entry. The hero uses static local game stills. */
body.landing-page {
  --ink: #f3f5f9;
  --muted: #b3becb;
  --cyan: #86f4eb;
  --violet: #c9b3fa;
  --line: #364654;
  --warm: #ffc48e;
  --mono: 'IBM Plex Mono', ui-monospace, 'DejaVu Sans Mono', monospace;
  --gutter: clamp(18px, 4.5vw, 74px);
  margin: 0;
  color: var(--ink);
  background: #0b111a;
  font: 16px/1.55 'Inter', system-ui, sans-serif;
}
.landing-page :is(.header-inner,.hero-inner,.lower-deck,.landing-footer) {
  width: min(100%, 1540px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.landing-page a { color: inherit; }
.landing-page :is(a,button,summary,select,input):focus-visible,
.landing-page #account-access:focus-visible {
  outline: 3px solid #ffd391;
  outline-offset: 3px;
}
.sr-only,.skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 12px; background: #101922; }
.landing-header { background: #0b111a; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: clamp(24px, 4vw, 58px); min-height: 70px; }
.brand,.landing-header nav a,.preview-link,.landing-card a {
  display: inline-flex; align-items: center; min-height: 44px;
}
.brand img { width: 128px; height: auto; filter: brightness(0) invert(1); }
.landing-header nav { display: flex; align-items: center; gap: 26px; }
.landing-header nav a { color: #c2cbd5; text-decoration: none; font-size: .86rem; }
.landing-header nav a:hover,.preview-link:hover,.landing-card a:hover { color: var(--cyan); text-decoration: underline; }
.landing-page .ui-language { margin: 0 0 0 auto; }
.landing-page .ui-language select {
  min-height: 44px; width: auto; max-width: 100%; padding: 7px 9px; border: 1px solid #536372;
  border-radius: 4px; color: var(--ink); background: #121d28; font-size: .8rem;
}
.island-hero { position: relative; isolation: isolate; border-bottom: 1px solid #546775; background: #152633; }
.landing-scenery,.landing-scenery::after,.scene-image { position: absolute; inset: 0; }
.landing-scenery { z-index: -1; overflow: hidden; }
.scene-image { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; opacity: 0; transition: opacity .25s ease; }
.scene-image.is-active { opacity: 1; }
.landing-scenery::after {
  content: ''; background: linear-gradient(90deg, #070d18f5 0%, #080d19d9 24%, #10152374 45%, transparent 66%), linear-gradient(0deg,#070e19cb,transparent 28%);
}
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-content: center; align-items: flex-end; justify-content: space-between; gap: 24px; min-height: clamp(420px, 37vw, 552px); padding-block: 48px; }
.hero-copy { max-width: 550px; }
.landing-page .genre,.map-ref,.console-heading,.new-venue,#world-caption {
  font: 700 .68rem/1.45 var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.landing-page .genre { display: flex; align-items: center; gap: 12px; color: var(--cyan); margin: 0 0 17px; }
.genre i { display: inline-block; width: 25px; height: 6px; transform: skewX(-24deg); background: repeating-linear-gradient(90deg,var(--cyan) 0 4px,transparent 4px 8px); }
.hero-copy h1 {
  margin: 0; font: 900 clamp(4.4rem, 7.6vw, 7.4rem)/.87 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  letter-spacing: -.065em; text-transform: uppercase; font-style: italic;
}
.hero-copy h1 strong { display: block; color: var(--cyan); font-weight: inherit; }
.landing-page .hero-desc { max-width: 43ch; color: #f2f4f8; font-size: clamp(.98rem,1.3vw,1.12rem); margin: 20px 0 21px; text-wrap: pretty; }
.hero-actions,.scene-options,.device-link-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 49px; padding: 10px 20px; font-weight: 750; text-decoration: none; border-radius: 3px; }
.hero-actions .login-entry { color: #0c2429; background: var(--cyan); border: 1px solid var(--cyan); }
.hero-actions .login-entry:hover { background: #c8fffa; }
.direction-icon { position: relative; width: .64em; height: .64em; border-top: 2px solid; border-right: 2px solid; }
.direction-icon::before { content: ''; position: absolute; top: -1px; right: 0; width: .78em; height: 2px; background: currentColor; transform: rotate(-45deg); transform-origin: right; }
.login-entry .direction-icon { transform: rotate(90deg); }
.landing-page .beta-note { font-size: .8rem; color: #d1dce3; margin: 8px 0 0; }
.view-strip { align-self: flex-end; margin: 0 0 -12px auto; padding: 8px 10px 2px; background: #0c1420ec; border: 1px solid #536372; border-radius: 4px; }
#world-caption { display: block; color: var(--violet); margin: 0 5px; font-size: .61rem; }
.scene-options { gap: 2px; }
.landing-page .scene-choice { min-height: 44px; padding: 4px 9px; color: #d4dce5; font-family: inherit; font-size: .78rem; line-height: 1.35; font-weight: 650; background: transparent; border: 0; border-radius: 0; border-bottom: 2px solid transparent; }
.landing-page .scene-choice:hover { color: #fff; background: #263442; }
.landing-page .scene-choice[aria-pressed=true] { color: var(--cyan); border-bottom-color: var(--cyan); }
.lower-deck { display: grid; grid-template-columns: minmax(0,1.86fr) minmax(300px,.87fr); grid-template-areas: 'guide account' 'info account'; gap: 18px clamp(22px,3.2vw,54px); align-items: start; padding-block: clamp(24px,3.1vw,48px) 25px; }
.destinations { grid-area: guide; min-width: 0; }
.section-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.landing-page .section-bar h2 { font-size: clamp(1.6rem,2.3vw,2.4rem); font-weight: 750; letter-spacing: -.05em; line-height: 1.1; margin: 0; }
.preview-link { gap: 7px; color: #d2c8f5; font-size: .83rem; text-underline-offset: 4px; }
.dest-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 14px; }
.place { min-width: 0; overflow: hidden; border: 1px solid #314351; border-radius: 5px; background: #131d29; }
.place-image { position: relative; height: clamp(134px,14vw,220px); overflow: hidden; background: #1d2a36; }
.place-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.new-venue { position: absolute; top: 11px; left: 11px; background: var(--warm); color: #301c0e; padding: 4px 8px; font-size: .6rem; }
.place-body { padding: 15px clamp(15px,1.5vw,24px) 19px; }
.place .map-ref { margin: 0 0 5px; color: var(--violet); font-size: .65rem; }
.wave .map-ref { color: var(--warm); }
.landing-page .place h3 { margin: 0; font-size: clamp(1.28rem,1.85vw,1.85rem); line-height: 1.16; letter-spacing: -.045em; }
.place-body p:last-child { margin: 9px 0 0; font-size: .89rem; line-height: 1.55; color: #c2cbd6; }
.landing-account { grid-area: account; min-width: 0; scroll-margin: 14px; background: #111c27; border: 1px solid #485766; border-top: 2px solid var(--violet); border-radius: 4px; }
.console-heading { display: flex; align-items: center; gap: 9px; color: var(--violet); padding: 11px 20px; background: #17212e; border-bottom: 1px solid var(--line); }
.console-glyph { font-size: .92rem; letter-spacing: -.1em; }
.landing-page .landing-card { padding: 20px clamp(18px,2vw,29px) 10px; background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow-wrap: anywhere; }
.landing-card .card-intro h2 { font-size: clamp(1.4rem,2vw,1.92rem); letter-spacing: -.045em; line-height: 1.12; }
.landing-card .card-intro p { margin: 4px 0 17px; font-size: .87rem; }
.landing-card label,.entry-info label { margin: 12px 0 5px; color: #dae3ed; }
.landing-page .landing-card input,.landing-page .entry-info input { min-height: 46px; padding: 9px 12px; background: #0a131e; border: 1px solid #657687; color: var(--ink); border-radius: 3px; font-size: 1rem; }
.landing-card input::placeholder { color: #a1adbd; opacity: 1; }
.password-wrap { position: relative; }
.landing-page .password-wrap input { padding-right: 54px; }
.landing-page .password-toggle { position: absolute; right: 1px; top: 1px; min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; color: #c1cee0; background: transparent; }
.password-toggle svg { width: 21px; height: 21px; }
.password-toggle .eye-slash,.password-toggle[aria-pressed=true] svg circle { display: none; }
.password-toggle[aria-pressed=true] .eye-slash { display: inline; }
.landing-page .landing-card .primary { min-height: 46px; margin-top: 17px; border-radius: 3px; color: #251a36; background: #d4befb; font-weight: 750; }
.landing-page .landing-card .primary:hover { background: #e5d6ff; }
.landing-page button:disabled { cursor: not-allowed; }
.landing-card .tab-row { margin: 0 0 16px; }
.landing-card .tab-row button,.landing-page .retry-button,.entry-info button { min-height: 44px; border-radius: 3px; background: #233443; }
.landing-card .tab-row button[aria-selected=true] { color: #101922; background: #c9b3fa; }
.landing-card .status { min-height: 0; margin: 10px 0 0; }
.landing-card .status:empty,.entry-info p:empty { display: none; }
.landing-card .status.success { color: #c1d9d3; }
.landing-card .status.error { color: #ffb9b5; }
.landing-card .field-hint { font-size: .78rem; margin: 4px 0 10px; }
.landing-card input[aria-invalid=true] { border-color: #ffaaa8; }
.landing-card .age-declaration { display: flex; align-items: center; gap: 10px; cursor: pointer; min-height: 44px; }
.landing-page .age-declaration input { width: 22px; min-height: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--violet); }
.landing-card a { color: #d6c8f4; text-underline-offset: 3px; font-size: .84rem; }
.landing-card > p { margin: 3px 0; }
.landing-card #signup-event { margin-top: 12px; border-block: 1px solid var(--line); padding: 5px 0; }
.landing-page summary { min-height: 44px; padding: 11px 0; cursor: pointer; }
.entry-info { grid-area: info; min-width: 0; border-top: 1px solid var(--line); padding-block: 9px; }
.entry-info,.landing-footer { color: var(--muted); font-size: .83rem; overflow-wrap: anywhere; }
.entry-info p { margin: 6px 0; }
.entry-info .device-link { margin-top: 5px; }
.device-link-actions { margin-top: 8px; }
.landing-footer { border-top: 1px solid #33404d; padding-block: 9px 24px; }
.landing-footer p { max-width: 80ch; margin: 0 0 8px; }
@media (max-width: 920px) {
  .hero-inner { min-height: 415px; padding-block: 34px; }
  .hero-copy h1 { font-size: clamp(4rem,8vw,5.5rem); }
  .view-strip { margin-bottom: 0; }
  .lower-deck { grid-template-columns: minmax(0,1fr) minmax(275px,.75fr); }
  .dest-grid { grid-template-columns: 1fr; }
  .park { display: grid; grid-template-columns: 32% 1fr; }
  .park .place-image { height: auto; }
}
@media (max-width: 720px) {
  .landing-header nav { display: none; }
  .header-inner { min-height: 59px; }
  .brand img { width: 110px; }
  .hero-inner { display: block; min-height: 0; padding-block: clamp(100px,28vw,145px) 16px; }
  .landing-scenery::after { background: linear-gradient(180deg,transparent 0,#080e18b3 100px,#080e18c4 56%,#080e18f5 78%,#080f1a 95%); }
  .scene-image { top: -52px; height: calc(82% + 52px); object-position: 63% 68%; }
  /* Bring the boardwalk and coaster into the portrait frame above the title. */
  .scene-image[src$="island-cover.webp"] { top: -132px; mask-image: linear-gradient(#000 76%, transparent); }
  .hero-desc { max-width: 36ch; }
  .hero-copy h1 { font-size: clamp(3.45rem,12vw,5.4rem); }
  .hero-actions a { padding: 9px 14px; min-height: 46px; font-size: .94rem; }
  .view-strip { display: flex; align-items: center; gap: 7px; width: fit-content; max-width: 100%; flex-wrap: wrap; background: transparent; border: 0; border-top: 1px solid #72808d80; border-radius: 0; padding: 4px 0 0; margin: 20px 0 0; }
  .scene-options { flex-wrap: wrap; }
  #world-caption { margin-left: 0; }
  .lower-deck { grid-template-areas: 'guide' 'account' 'info'; grid-template-columns: minmax(0,1fr); }
  .place-image { height: clamp(144px,37vw,225px); }
  .landing-account { max-width: 550px; width: 100%; }
  .section-bar { align-items: center; }
  .entry-info { padding-bottom: 0; }
}
@media (max-width: 380px) {
  .hero-inner { padding-top: 55px; }
  .landing-scenery::after { background: linear-gradient(180deg,transparent 0,#080e18b3 51px,#080e18c4 56%,#080e18f5 78%,#080f1a 95%); }
  .hero-copy .genre { margin-bottom: 12px; }
  .landing-page .hero-desc { margin-block: 13px 15px; }
  .hero-actions { gap: 7px; }
  .hero-actions a { gap: 8px; padding-inline: 11px; }
  .view-strip { display: block; }
}
@media (max-height: 500px) and (min-width: 500px) {
  .hero-inner { min-height: 0; padding-block: 22px; }
  .hero-copy h1 { font-size: 3.7rem; }
  .landing-page .genre { margin-bottom: 8px; }
  .landing-page .hero-desc { margin-block: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-page *, .landing-page *::before, .landing-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
