/*
  rescuewarsonline.com in the game's style: the game's theme colours (as in the PC launcher and the game's rwo-theme.uss:
  royal blue, gold, cream panels, ink text), Fredoka for headings and Inter for the rest, bundled (no request to Google
  Fonts). Two layouts, each its own: the phone's (the base rules: portrait, stacked, big touch targets, a menu button,
  swipeable phone pictures) and the PC's (the rules under "The PC layout" at the end: wide splits, inline navigation,
  grids, side arrows in the picture viewer).
*/

@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/fonts/Fredoka-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/fonts/Fredoka-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/Inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/Inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #092c43;
  --ink-soft: #3a5468;
  --text: #f2f9ff;
  --muted: #b7d3dc;
  --gold: #f4cb66;
  --gold-rim: #ffe6a3;
  --gold-deep: #e0a530;
  --cream: #fff3d9;
  --cream-soft: #fff9ee;
  --cream-line: #ecdcb8;
  --royal: #1f4fa3;
  --royal-hi: #3b74d6;
  --royal-rim: #5d8ee0;
  --royal-tint: #e4edfb;
  --sky: #eef5ff;
  --night: #0a1f45;
  --night-deep: #061430;
  --leaf: #6fe08c;
  --leaf-deep: #2f9e57;
  --red: #e2463c;
  --display: "Fredoka", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --nav-h: 64px;
  --gutter: 16px;
  --radius: 16px;
  --shadow-sm: 0 2px 6px rgba(6, 20, 48, 0.08);
  --shadow-md: 0 10px 28px rgba(6, 20, 48, 0.14);
  --shadow-lg: 0 22px 60px rgba(6, 20, 48, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream-soft); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: 0.2px; }
p { margin: 0 0 1em; }
a { color: var(--royal); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.paw, .socials svg { fill: currentColor; stroke: none; }

/* Buttons: gold for the main action, a glass outline on dark, royal on light. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0; font: 700 16px/1.1 var(--body); text-decoration: none; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease; }
.btn svg { width: 18px; height: 18px; transition: transform 0.18s ease; }
.btn-gold { background: linear-gradient(180deg, var(--gold-rim), var(--gold) 45%, var(--gold-deep)); color: var(--ink); box-shadow: 0 3px 0 #b07a16, 0 8px 18px rgba(224, 165, 48, 0.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #b07a16, 0 14px 26px rgba(224, 165, 48, 0.42); }
.btn-gold:hover svg { transform: translateX(3px); }
.btn-gold:active { transform: translateY(1px); box-shadow: 0 1px 0 #b07a16; }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--text); border: 2px solid rgba(255, 230, 163, 0.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--gold-rim); transform: translateY(-2px); }
.btn-royal { background: var(--royal); color: #fff; box-shadow: 0 3px 0 #163a7c; }
.btn-royal:hover { background: var(--royal-hi); transform: translateY(-2px); }
.btn-big { min-height: 54px; padding: 14px 26px; font-size: 17px; }

/* Section labels and headings. */
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: var(--royal-tint); color: var(--royal); font: 700 13px/1.2 var(--body); letter-spacing: 0.6px; text-transform: uppercase; }
.pill::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='6' cy='10' rx='2.2' ry='2.8'/%3E%3Cellipse cx='10' cy='6' rx='2.2' ry='2.9'/%3E%3Cellipse cx='14.5' cy='6' rx='2.2' ry='2.9'/%3E%3Cellipse cx='18.5' cy='10' rx='2.2' ry='2.8'/%3E%3Cpath d='M12.2 11.5c-3 0-6 3.8-6 6.2 0 1.9 1.6 2.6 3 2.3 1.2-.3 2-.9 3-.9s1.8.6 3 .9c1.4.3 3-.4 3-2.3 0-2.4-3-6.2-6-6.2Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='6' cy='10' rx='2.2' ry='2.8'/%3E%3Cellipse cx='10' cy='6' rx='2.2' ry='2.9'/%3E%3Cellipse cx='14.5' cy='6' rx='2.2' ry='2.9'/%3E%3Cellipse cx='18.5' cy='10' rx='2.2' ry='2.8'/%3E%3Cpath d='M12.2 11.5c-3 0-6 3.8-6 6.2 0 1.9 1.6 2.6 3 2.3 1.2-.3 2-.9 3-.9s1.8.6 3 .9c1.4.3 3-.4 3-2.3 0-2.4-3-6.2-6-6.2Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.pill-gold { background: rgba(244, 203, 102, 0.16); color: var(--gold); border: 1px solid rgba(244, 203, 102, 0.4); }
section h2 { font-size: clamp(1.85rem, 7vw, 3.1rem); margin-bottom: 16px; }
.head { margin-bottom: 28px; }
.head .sub { max-width: 640px; font-size: 1.06rem; color: var(--ink-soft); }
.head-light h2 { color: #fff; }
.head-light .sub { color: var(--muted); }
section { padding: 64px 0; position: relative; }

/* Platform tags on every game picture. */
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font: 700 12px/1.3 var(--body); letter-spacing: 0.4px; text-transform: uppercase; }
.tag-pc { background: var(--royal); color: #fff; }
.tag-phone { background: var(--gold); color: var(--ink); }

/* The navigation: a menu button on phones. */
.nav { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--nav-h); transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.nav.scrolled, .nav.open { background: rgba(10, 31, 69, 0.94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(6, 20, 48, 0.35); }
.nav-in { height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 46px; width: auto; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35)); }
.nav-menu { margin-left: 4px; width: 48px; height: 48px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.1); display: grid; place-content: center; gap: 5px; cursor: pointer; }
.nav-menu span:not(.sr) { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav.open .nav-menu span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.open .nav-menu span:nth-child(2) { opacity: 0; }
.nav.open .nav-menu span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-lang { color: var(--gold-rim); font: 700 14px var(--body); text-decoration: none; }
.nav-lang-phone { margin-left: auto; min-width: 48px; min-height: 48px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255, 230, 163, 0.35); }
.nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; display: none; flex-direction: column; padding: 8px var(--gutter) 20px; background: rgba(10, 31, 69, 0.97); box-shadow: 0 18px 30px rgba(6, 20, 48, 0.4); }
.nav.open .nav-links { display: flex; }
.nav-links a { color: #fff; text-decoration: none; font: 600 18px var(--body); padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav-links .nav-lang { display: none; }
.nav-links .nav-cta { margin-top: 14px; border-bottom: 0; color: var(--ink); }

/* The hero: the game itself. On a phone its picture fills the top and the words sit below it, on the dark. */
.hero { min-height: 100svh; padding: calc(var(--nav-h) + 28px) 0 64px; background: var(--night-deep); color: var(--text); overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: blur(3px) saturate(1.1); transform: scale(1.05); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 20, 48, 0.72) 0%, rgba(6, 20, 48, 0.82) 45%, rgba(6, 20, 48, 0.95) 80%, var(--night-deep) 100%); }
.hero-in { display: flex; flex-direction: column; gap: 38px; }
/* The hero's teddy: on a phone he jumps above the words, on a PC beside them. */
.hero-teddy { position: relative; margin: 0; order: -1; display: flex; justify-content: center; }
.hero-teddy::before { content: ""; position: absolute; left: 50%; top: 52%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 230, 163, 0.5), rgba(244, 203, 102, 0.16) 55%, transparent); z-index: -1; }
.hero-teddy::after { content: ""; position: absolute; left: 50%; bottom: -2%; width: 46%; height: 6%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.45), transparent); z-index: -1; }
.hero-teddy img, .hero-teddy video { width: auto; height: 34svh; aspect-ratio: 684 / 876; max-height: 360px; filter: drop-shadow(0 18px 26px rgba(6, 20, 48, 0.5)); }
.hero-title-2 { display: block; margin-top: 6px; font-size: 0.56em; color: #fff; }
.screen video { display: block; width: 100%; height: auto; object-fit: cover; background: #0b1730; }
.device-pc .screen video { border-radius: 8px; aspect-ratio: 16 / 9; }
.device-phone .screen video { border-radius: 17px; aspect-ratio: 9 / 19.5; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 42px; z-index: -1; background: var(--cream-soft); clip-path: ellipse(75% 100% at 50% 100%); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 7px 14px; border-radius: 999px; background: rgba(6, 20, 48, 0.55); border: 1px solid rgba(255, 230, 163, 0.35); color: var(--gold-rim); font: 600 14px/1.3 var(--body); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(111, 224, 140, 0.22); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(111, 224, 140, 0); } }
.hero h1 { font-size: clamp(2.3rem, 10.5vw, 4.4rem); color: #fff; text-shadow: 0 4px 22px rgba(6, 20, 48, 0.55); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold); background: linear-gradient(180deg, var(--gold-rim), var(--gold) 60%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: 1.12rem; color: #dfeaf6; max-width: 560px; }
.cta-row { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 18px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-weight: 600; }
.hero-note .paw { width: 18px; height: 18px; color: var(--gold); }
/* The hero's one small card of the real Rescue Zoo (its photo, two lines, down to the zoo's section). */
.hero-real { display: flex; align-items: center; gap: 12px; max-width: 470px; margin-top: 22px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(6, 20, 48, 0.6); border: 1px solid rgba(111, 224, 140, 0.5); color: #fff; text-decoration: none; backdrop-filter: blur(6px); transition: background-color 0.18s ease, transform 0.18s ease; }
.hero-real:hover { background: rgba(6, 20, 48, 0.8); transform: translateY(-2px); }
.hero-real img { flex: none; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.hero-real span { display: grid; gap: 2px; font-size: 0.92rem; line-height: 1.35; color: #dfeaf6; }
.hero-real strong { color: var(--leaf); font: 600 1.05rem var(--display); }
.hero-real svg { flex: none; width: 22px; height: 22px; color: var(--leaf); }

.devices { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 1fr); gap: 4%; align-items: center; }
.devices figure { margin: 0; position: relative; }
.device-pc .screen { border-radius: 14px; padding: 7px; background: linear-gradient(180deg, #1a2c52, #0b1730); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.device-pc .screen img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.device-pc::after { content: ""; display: block; width: 28%; height: 12px; margin: 0 auto; background: linear-gradient(180deg, #13244a, #0b1730); border-radius: 0 0 10px 10px; }
.device-phone { position: relative; }
.device-phone .screen { border-radius: 22px; padding: 5px; background: #0b1730; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.device-phone .screen img { border-radius: 17px; aspect-ratio: 9 / 19.5; object-fit: cover; width: 100%; }
.devices .tag { position: absolute; top: -10px; left: 14px; box-shadow: var(--shadow-sm); }
.device-phone .tag { left: auto; right: 10px; }



/* The game modes: on a phone one big card after another, the coming ones two across; each picture a mural from the game's walls. */
.modes { background: radial-gradient(1200px 520px at 12% 0%, rgba(59, 116, 214, 0.34), transparent 60%), var(--night); color: var(--text); }
.mode-grid { display: grid; gap: 18px; }
.mode { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; border: 3px solid var(--gold); background: var(--cream-soft); color: var(--ink); box-shadow: var(--shadow-lg); }
.mode-pic { position: relative; }
.mode-pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mode-badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 700 12.5px/1.3 var(--body); letter-spacing: 0.3px; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.mode-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; }
.mode-body h3 { font-size: 1.55rem; margin-bottom: 6px; }
.mode-body p { flex: 1; margin: 0 0 12px; color: var(--ink-soft); }
.mode-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.mode-chips li { padding: 3px 10px; border-radius: 999px; background: var(--royal-tint); color: var(--royal); font: 700 12.5px/1.4 var(--body); }
.soon-title { margin: 38px 0 14px; color: #fff; font-size: 1.45rem; }
.soon-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; }
.soon { overflow: hidden; border-radius: 14px; border: 1px solid rgba(255, 230, 163, 0.35); background: #0d2147; }
.soon img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.soon-text { display: grid; gap: 2px; padding: 10px 12px 12px; color: var(--muted); font-size: 0.86rem; line-height: 1.3; }
.soon-text strong { color: #fff; font: 600 1.05rem/1.2 var(--display); }
.soon-note { margin: 14px 0 0; color: var(--muted); font-size: 0.95rem; }
.home-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 34px; padding: 20px 18px; border-radius: 20px; background: var(--cream); color: var(--ink); border: 3px solid var(--gold); box-shadow: var(--shadow-md); }
.home-note .paw { flex: none; width: 36px; height: 36px; color: var(--royal); }
.home-note h3 { font-size: 1.45rem; margin-bottom: 6px; }
.home-note p { margin: 0; color: var(--ink-soft); }

/* The real Rescue Zoo. */
.animals { background: linear-gradient(180deg, var(--cream-soft), var(--cream)); }

/* Pictures: PC pictures in a grid, phone pictures swiped sideways on a phone. */
.pictures { background: var(--night-deep); color: var(--text); }
.shot { display: block; width: 100%; padding: 0; border: 0; margin: 0; background: #0d2147; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; text-align: left; color: inherit; font: inherit; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.shot:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s ease; }
.shot:hover img { transform: scale(1.03); }
.shot-cap { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 0.95rem; color: #dbe7f3; line-height: 1.35; }
.shots-pc { display: grid; gap: 16px; }
.shots-phone { display: grid; grid-auto-flow: column; grid-auto-columns: 64%; gap: 14px; margin: 26px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shots-phone .shot { scroll-snap-align: start; display: flex; flex-direction: column; }
.shots-phone .shot-cap { flex: 1; }
.shots-phone .shot img { aspect-ratio: 9 / 16; }
.shots-phone .shot-cap { flex-direction: column; align-items: flex-start; gap: 6px; }
.shots-note { margin: 20px 0 0; color: var(--muted); font-size: 0.95rem; }

/* Phone and PC. */
.platforms { background: var(--cream-soft); }
.platform-grid { display: grid; gap: 16px; }
.platform { background: #fff; border-radius: 20px; padding: 24px 22px; border: 1px solid var(--cream-line); box-shadow: var(--shadow-sm); }
.platform-icon { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--royal-tint); color: var(--royal); margin-bottom: 14px; }
.platform h3 { font-size: 1.4rem; margin-bottom: 8px; }
.platform p { margin: 0; color: var(--ink-soft); }
.platform-fair { border-top: 5px solid var(--gold-deep); background: linear-gradient(180deg, #fffaf0, #fff); }
.platform-fair .platform-icon { background: #fff0c9; color: #a86f0b; }
.same-account { margin: 22px 0 0; padding: 16px 18px; border-radius: var(--radius); background: var(--royal); color: #fff; font-weight: 600; }

/* The dev log. */
.news { background: #fff; }
.log { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 3px solid var(--royal-tint); display: grid; gap: 22px; }
.log-item { position: relative; display: grid; gap: 6px; }
.log-item::before { content: ""; position: absolute; left: -27px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold-deep); }
.log-item time { font: 700 14px var(--body); color: var(--royal); }
.log-item h3 { font-size: 1.3rem; margin-bottom: 4px; }
.log-item p { margin: 0; color: var(--ink-soft); }
.log-item p + p { margin-top: 12px; }
.log-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; color: var(--royal); font-weight: 700; text-decoration: none; }
.log-more svg { width: 18px; height: 18px; transition: transform 0.18s ease; }
.log-more:hover svg { transform: translateX(3px); }

/* Sign up. */
.join { background: linear-gradient(160deg, var(--royal) 0%, #173f88 45%, var(--night) 100%); color: var(--text); overflow: hidden; isolation: isolate; }
.join-card { background: var(--cream); color: var(--ink); border-radius: 24px; padding: 26px 20px; box-shadow: var(--shadow-lg); border: 3px solid var(--gold); }
.join-card .pill-gold { color: #8a5b06; background: #ffe8b0; border-color: #f1c45e; }
.join-card h2 { color: var(--ink); }
.join-card .sub { color: var(--ink-soft); }
.form-row { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.form-row input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--cream-line); background: #fff; color: var(--ink); font: 500 17px var(--body); transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.form-row input:focus { outline: none; border-color: var(--royal-hi); box-shadow: 0 0 0 4px rgba(59, 116, 214, 0.18); }
.form-row .btn { min-height: 52px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 6px; font-size: 0.92rem; color: var(--ink-soft); cursor: pointer; line-height: 1.45; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--royal); }
.consent.attention { color: var(--red); }
.turnstile { min-height: 0; margin-top: 10px; }
.form-msg { min-height: 1.4em; margin: 10px 0 0; font-weight: 600; color: var(--red); }
.form-done { margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: #e3f8e9; color: #1d6a3a; font-weight: 700; }
.form-note { margin: 12px 0 0; font-size: 0.9rem; color: var(--ink-soft); }
.community p { margin: 0 0 12px; color: #dfeaf6; font-weight: 600; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; text-decoration: none; font-weight: 700; transition: background-color 0.18s ease, transform 0.18s ease; }
.socials a:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

.video { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); background: var(--night); aspect-ratio: 16 / 9; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 12px 20px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 700 16px var(--body); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); transition: transform 0.18s ease; }
.video-btn svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.video-note { margin: 10px 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 0; }
.stats div { background: #fff; border-radius: 14px; padding: 14px 10px; text-align: center; border: 1px solid var(--cream-line); }
.stats dt { font: 700 1.9rem/1 var(--display); color: var(--royal); }
.stats dd { margin: 6px 0 0; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.3; }

/* The footer. */
.foot { background: var(--night-deep); color: var(--muted); padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 0.92rem; }
.foot-in { display: flex; flex-direction: column; gap: 18px; }
.foot-logo { width: 120px; }
.foot p { margin: 0 0 4px; }
.foot-name { font: 600 1.15rem var(--display); color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--gold-rim); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.foot-links a:hover { text-decoration: underline; }

/* The picture viewer: on a phone the arrows sit under the picture. */
.viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 12, 30, 0.95); color: #fff; }
.viewer::backdrop { background: rgba(4, 12, 30, 0.6); }
.viewer[open] { display: flex; align-items: center; justify-content: center; }
.viewer figure { margin: 0; padding: 0 12px 88px; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.viewer img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.viewer figcaption { display: flex; align-items: center; gap: 10px; color: #dbe7f3; text-align: center; }
.viewer-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.1); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color 0.18s ease; }
.viewer-btn:hover { background: rgba(255, 255, 255, 0.22); }
.viewer-btn svg { width: 24px; height: 24px; }
.viewer-prev { left: calc(50% - 64px); bottom: calc(20px + env(safe-area-inset-bottom)); }
.viewer-next { left: calc(50% + 12px); bottom: calc(20px + env(safe-area-inset-bottom)); }
.viewer-close { top: 14px; right: 14px; }

/* The real Rescue Zoo: its story, its photos, the video. */
.pill-leaf { background: #e3f6e8; color: #1d6a3a; }
.btn-heart { background: #e2463c; color: #fff; box-shadow: 0 3px 0 #a52a22, 0 8px 18px rgba(226, 70, 60, 0.28); }
.btn-heart:hover { background: #ef5a4f; transform: translateY(-2px); }
.btn-heart svg { fill: currentColor; stroke: none; }
.zoo { background: linear-gradient(180deg, var(--cream-soft), #f1f7ea); padding-top: 40px; }
.zoo-in { display: flex; flex-direction: column; gap: 30px; }
.zoo-text p { color: var(--ink-soft); font-size: 1.06rem; }
.zoo-text .zoo-lead { color: var(--ink); font-size: 1.14rem; }
.quote { display: block; margin: 4px 0 6px; padding: 4px 0 4px 16px; border-left: 5px solid var(--gold-deep); font: 500 1.2rem/1.5 var(--display); color: var(--ink); }
.quote-by { display: block; padding-left: 21px; font-weight: 700; color: var(--royal); }
.zoo-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.zoo-photos { position: relative; display: grid; gap: 12px; }
.photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #d9d2c3; box-shadow: var(--shadow-md); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-big img { aspect-ratio: 1 / 1; }
.photo-small img { aspect-ratio: 3 / 2; }
.photo figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(6, 20, 48, 0.72); color: #fff; font-size: 0.85rem; font-weight: 600; line-height: 1.35; }
.photo-badge { position: absolute; top: -12px; left: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: var(--leaf-deep); color: #fff; font: 700 12px/1.3 var(--body); letter-spacing: 0.3px; box-shadow: var(--shadow-sm); }
.zoo-more { display: flex; flex-direction: column; gap: 18px; margin-top: 34px; }
.video-play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--night); }
.video-play img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.72); transition: filter 0.25s ease; }
.video-play:hover img { filter: brightness(0.85); }
.video-play:hover .video-btn { transform: translate(-50%, -50%) scale(1.05); }

/* The animals of the story: a card each, stacked on a phone. */
.animal-grid { display: grid; gap: 16px; }
.animal { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--cream-line); box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.animal:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.animal-pic { position: relative; overflow: hidden; }
.animal-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.animal:hover .animal-pic img { transform: scale(1.04); }
.animal-tag { position: absolute; top: 12px; left: 12px; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 700 12px/1.3 var(--body); letter-spacing: 0.4px; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.animal-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; }
.animal-body h3 { font-size: 1.35rem; margin-bottom: 6px; }
.animal-body p { flex: 1; margin: 0 0 10px; color: var(--ink-soft); }
.animal-body a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--royal); font-weight: 700; text-decoration: none; }
.animal-body a svg { width: 18px; height: 18px; transition: transform 0.18s ease; }
.animal-body a:hover svg { transform: translateX(3px); }

/* The game's three parts: a story and the game on both screens. */
.feature { overflow: hidden; }
.feature-in { display: flex; flex-direction: column; gap: 34px; }
.feature-text p { font-size: 1.06rem; }
.feature-dark { background: radial-gradient(1000px 520px at 90% 10%, rgba(59, 116, 214, 0.35), transparent 60%), var(--night); color: var(--text); }
.feature-dark h2 { color: #fff; }
.feature-dark .feature-text p { color: #d3e2f0; }
.feature-sky { background: linear-gradient(180deg, var(--sky), #dde9fb); }
.feature-sky .feature-text p { color: var(--ink-soft); }
.feature-green { background: linear-gradient(180deg, #eef7e6, #dff0d3); }
.feature-green .feature-text p { color: var(--ink-soft); }
.feature-green .feature-text .feature-note { margin: 18px 0 0; padding: 12px 16px; border-radius: 14px; border-left: 5px solid var(--leaf-deep); background: rgba(255, 255, 255, 0.65); color: var(--ink); font-weight: 600; font-size: 1rem; }
.feature-wood { background: radial-gradient(900px 500px at 10% 0%, rgba(244, 203, 102, 0.18), transparent 60%), linear-gradient(160deg, #3d2417, #6a3c22); color: #fff3e3; }
.feature-wood h2 { color: #fff; }
.feature-wood .feature-text p { color: #f3dfc9; }


/* The murals as decoration between sections: swiped sideways on a phone, hung in a row on a PC. */
.mural-strip { display: flex; gap: 16px; padding: 30px var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #fff6e6; }
.mural-strip::-webkit-scrollbar { display: none; }
.mural-strip img { flex: none; width: 72%; border-radius: 12px; box-shadow: var(--shadow-md); scroll-snap-align: center; transform: rotate(-1.5deg); }
.mural-strip img:nth-child(2) { transform: rotate(1.2deg) translateY(6px); }
.mural-strip img:nth-child(3) { transform: rotate(-0.8deg); }

/* Sign up, and help the real animals today. */
.join-in { display: flex; flex-direction: column; gap: 26px; }
.join-side { display: flex; flex-direction: column; gap: 22px; }
.join-art { position: absolute; right: -14%; bottom: -6%; width: 70%; max-width: none; opacity: 0.1; z-index: -1; }
.help { padding: 22px 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 230, 163, 0.35); }
.help h3 { font-size: 1.45rem; color: var(--gold); margin-bottom: 8px; }
.help p { color: #dfeaf6; }

/* The privacy and terms pages: a phone reads them full width under a slim bar. */
.legal-page { background: var(--cream-soft); }
.legal-top { position: sticky; top: 0; z-index: 20; background: var(--night); box-shadow: 0 6px 20px rgba(6, 20, 48, 0.3); }
.legal-top-in { max-width: 1200px; margin: 0 auto; height: 60px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 12px; }
.legal-brand img { height: 42px; width: auto; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.legal-back svg { width: 18px; height: 18px; }
.legal-lang { margin-left: auto; min-width: 48px; min-height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255, 230, 163, 0.35); }
.legal { padding: 28px var(--gutter) 56px; }
.legal-card { max-width: 760px; margin: 0 auto; color: var(--ink-soft); }
.legal-card h1 { font-size: 2.2rem; color: var(--ink); margin-bottom: 6px; }
.legal-card h2 { font-size: 1.3rem; color: var(--royal); margin: 30px 0 10px; }
.legal-card ul { padding-left: 22px; margin: 0 0 1em; }
.legal-card li { margin-bottom: 6px; }
.legal-card strong { color: var(--ink); }
.legal-date { color: var(--royal); font-weight: 700; font-size: 0.92rem; }
.post-video { margin: 22px auto; max-width: 420px; }
.post-video video { display: block; width: 100%; height: auto; aspect-ratio: 576 / 680; border-radius: 16px; background: var(--night); box-shadow: var(--shadow-md); }

/* Things slide in as they come into view (only with the page's script, never for reduced motion). */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  .btn, .animal, .shot, .animal-pic img, .shot img, .art-piece img { transition: none; }
}

/* Phones held a little wider (and small tablets): some rows go side by side. */
@media (min-width: 600px) {
  .cta-row { flex-direction: row; flex-wrap: wrap; }
  .form-row { flex-direction: row; }
  .form-row .btn { flex: none; }
  .shots-phone { grid-auto-columns: 38%; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .platform-fair { grid-column: 1 / -1; }
  .mode-grid { grid-template-columns: 1fr 1fr; }
  .mode:last-child { grid-column: 1 / -1; flex-direction: row; }
  .mode:last-child .mode-pic { flex: 0 0 50%; }
  .mode:last-child .mode-pic img { height: 100%; }
  .soon-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== The PC layout: a wide site with inline navigation, splits and grids. ===== */
@media (min-width: 960px) {
  :root { --nav-h: 76px; --gutter: 32px; }
  section { padding: 104px 0; }
  .head { margin-bottom: 44px; }

  .nav-brand img { height: 58px; }
  .nav-menu, .nav-lang-phone { display: none; }
  .nav-links { position: static; display: flex; flex-direction: row; align-items: center; gap: 4px; margin-left: auto; padding: 0; background: none; box-shadow: none; }
  .nav-links a { font-size: 15px; padding: 8px 12px; border: 0; border-radius: 10px; color: #e8f1fb; white-space: nowrap; transition: background-color 0.18s ease, color 0.18s ease; }
  .nav-links a:hover, .nav-links a.active { background: rgba(255, 255, 255, 0.1); color: #fff; }
  .nav-links .nav-lang { display: inline-flex; margin-left: 8px; border: 1px solid rgba(255, 230, 163, 0.4); color: var(--gold-rim); }
  .nav-links .nav-cta { margin: 0 0 0 10px; min-height: 44px; padding: 10px 20px; color: var(--ink); }
  .nav-links .nav-cta:hover { background: linear-gradient(180deg, var(--gold-rim), var(--gold) 45%, var(--gold-deep)); color: var(--ink); }

  .hero { min-height: min(100vh, 960px); display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 120px; }
  .hero::before { background: linear-gradient(90deg, rgba(6, 20, 48, 0.92) 0%, rgba(6, 20, 48, 0.78) 40%, rgba(6, 20, 48, 0.5) 100%); }
  .hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 40px; }
  .hero-teddy { order: 0; }
  .hero-teddy img, .hero-teddy video { height: min(70vh, 640px); max-height: none; }
  .hero::after { height: 70px; }
  .hero h1 { font-size: clamp(3rem, 4.6vw, 4.6rem); }
  .lead { font-size: 1.2rem; }





  .mode-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .mode:last-child { grid-column: auto; flex-direction: column; }
  .mode:last-child .mode-pic { flex: none; }
  .mode:last-child .mode-pic img { height: auto; }
  .mode-body { padding: 22px 24px 22px; }
  .mode-body h3 { font-size: 1.7rem; }
  .soon-title { margin: 60px 0 18px; font-size: 1.7rem; }
  .soon-grid { gap: 20px; }
  .soon-note { margin-top: 16px; }
  .home-note { align-items: center; gap: 26px; margin-top: 44px; padding: 28px 36px; }
  .home-note .paw { width: 64px; height: 64px; }
  .home-note h3 { font-size: 1.8rem; }

  .shots-pc { grid-template-columns: 1fr 1fr; gap: 22px; }
  .shots-pc .shot-wide { grid-column: 1 / -1; }
  .shots-pc .shot-wide img { aspect-ratio: 21 / 9; }
  .shots-pc .shot-full img { aspect-ratio: 16 / 9; }
  .shots-phone { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; margin: 22px 0 0; padding: 0; gap: 22px; }

  .platform-grid { grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
  .platform-fair { grid-column: auto; }
  .platform { padding: 30px 28px; }
  .same-account { text-align: center; padding: 18px 24px; }

  .log { border-left: 0; padding: 0; gap: 0; }
  .log-item { grid-template-columns: 150px 1fr; gap: 28px; padding: 22px 0 22px 0; border-bottom: 1px solid #e7edf6; }
  .log-item::before { left: 160px; top: 30px; }
  .log-item > div { padding-left: 28px; }
  .log-item time { padding-top: 4px; text-align: right; }

  .join-card { padding: 40px 40px 34px; }


  .foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
  .foot-links { justify-content: flex-end; max-width: 420px; }

  .legal-top-in { height: 72px; }
  .legal-brand img { height: 52px; }
  .legal-back { margin-left: 18px; }
  .legal { padding: 56px var(--gutter) 96px; }
  .legal-card { background: #fff; border-radius: 24px; padding: 48px 56px; border: 1px solid var(--cream-line); box-shadow: var(--shadow-md); font-size: 1.02rem; }
  .legal-card h1 { font-size: 2.8rem; }

  .zoo { padding-top: 72px; }
  .zoo-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
  .zoo-photos { display: block; padding-bottom: 20%; }
  .photo-big { width: 80%; }
  .photo-small { position: absolute; right: 0; bottom: 0; width: 54%; border: 6px solid #fff; }
  .photo-big figcaption { top: 22px; bottom: auto; right: auto; }
  .zoo-more { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center; margin-top: 64px; }
  .animal-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .animal-body { padding: 20px 20px 16px; }
  .feature-in { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center; }
  .feature-flip { grid-template-columns: 1.08fr 0.92fr; }
  .feature-flip .feature-text { order: 2; }
  .feature-text p { font-size: 1.1rem; }
  .join-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
  .join-art { right: 2%; bottom: -8%; width: 26%; opacity: 0.22; }

  .devices { transform: perspective(1600px) rotateY(-5deg); }
  .mural-strip { justify-content: center; gap: 36px; padding: 48px var(--gutter); overflow: visible; }
  .mural-strip img { width: min(30%, 400px); }

  .viewer figure { padding: 0 96px; }
  .viewer img { max-height: calc(100vh - 120px); }
  .viewer-prev, .viewer-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .viewer-prev { left: 24px; }
  .viewer-next { left: auto; right: 24px; }
  .viewer-close { top: 22px; right: 24px; }
}

/* A small PC window: the bar closes up so the longer Danish menu stays on one line. */
@media (min-width: 960px) and (max-width: 1180px) {
  .nav-links { gap: 0; }
  .nav-links a { font-size: 14px; padding: 8px 9px; }
  .nav-links .nav-cta { margin-left: 6px; padding: 10px 14px; }
}
