/* Rough Sands theme, loaded after /site.css on the game's pages and the home page card.
   Colours come from the game: sky and ground match the screenshot, sun and cactus the app icon,
   and deep brown is the in-game trap-door hole. */
:root {
  --rs-sky: #D3BD8B; --rs-ground: #BD964B; --rs-sun: #FDA935; --rs-cactus: #16983A;
  --rs-flag: #F25C42; --rs-hole: #291C12;
  --game: 'Lilita One', 'Arial Rounded MT Bold', system-ui, sans-serif;
}
.rough-sands { --accent: var(--rs-sun); }
.rough-sands .doc h1 { font: 400 clamp(36px, 8vw, 52px)/1.05 var(--game); letter-spacing: 0.01em; }
.big-email { font: 400 clamp(22px, 5.5vw, 28px)/1.3 var(--game); letter-spacing: 0.01em; word-break: break-word; }

/* The scene: sky band with the title, the gameplay screenshot, then the ground carrying on beneath it.
   It keeps the game's daylight palette in dark mode too, because it's the key art. */
.rs-scene { background: var(--rs-sky); color: var(--rs-hole); text-align: center; }
.rs-title { margin: 0; font: 400 clamp(64px, 17vw, 140px)/0.88 var(--game); letter-spacing: 0.02em; }
.rs-title span { display: inline-block; animation: rs-drop 1100ms cubic-bezier(.3,0,.3,1) both; }
.rs-title span + span { animation-delay: 180ms; }
/* Drop in, land, bounce, then settle a little into the sand, like the hole-1 title. */
@keyframes rs-drop {
  0%   { transform: translateY(-140%); opacity: 0; }
  35%  { transform: translateY(0); opacity: 1; }
  48%  { transform: translateY(-7%); }
  62%  { transform: translateY(0); }
  100% { transform: translateY(6%); }
}
.rs-shot { display: block; width: 100%; height: auto; min-height: 180px; object-fit: cover; object-position: 0 100%; }
.rs-ground { position: relative; margin-top: -2px; background: var(--rs-ground); color: var(--rs-hole); } /* hides the JPEG's soft bottom row */

.rs-btn {
  display: inline-block; padding: 14px 22px; border-radius: 999px;
  background: var(--rs-hole); color: #FAF7F2; text-decoration: none;
  font: 400 19px/1 var(--game); letter-spacing: 0.02em;
  transition: transform 150ms ease;
}
.rs-btn:hover { color: var(--rs-sun); transform: translateY(2px); }
.rs-soon {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  border: 2px solid currentColor; font-weight: 600; font-size: 15px;
}
/* The app icon, pulled into the pill's padding so the pill stays the same height as the button beside it. */
.rs-soon img { width: 28px; height: 28px; border-radius: 22%; margin: -6px 0 -6px -8px; }
