/*
Theme Name: DewDrop Games
Author: DewDrop Games
Description: The DewDrop Games studio site: home, Wildling Packs support and privacy policy. Generated from the game's repository; edit it there.
Version: fdd30235f4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dewdrop-games
*/
/* DewDrop Games site: one small stylesheet, no external requests. */
:root {
  --bg: #f6f1ff;
  --card: #ffffff;
  --ink: #1a1226;
  --dim: #5d5378;
  --accent: #5a3fb0;
  --rule: #ddd3f2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #120d1c;
    --card: #1e1630;
    --ink: #fff8ea;
    --dim: #a99fc6;
    --accent: #8a6fe0;
    --rule: #3a2d58;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
canvas.px { image-rendering: pixelated; display: block; max-width: 100%; }
img.pix { image-rendering: pixelated; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* Header: the dew drop mark, the pixel wordmark and the page links. */
header.top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 22px 0; }
header.top .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
header.top svg { width: 30px; height: 36px; flex: none; }
header.top nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
header.top nav a { color: var(--dim); text-decoration: none; }
header.top nav a:hover, header.top nav a[aria-current] { color: var(--accent); }
@media (max-width: 560px) { header.top nav { margin-left: 0; width: 100%; } }

/* Home: the welcome lines. */
.hello { padding: 36px 0 28px; }
.hello h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.01em; }
.hello p { margin: 0; color: var(--dim); font-size: 19px; max-width: 34em; }

/* Home: the game card. */
.game { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.game .banner { background: radial-gradient(circle at 50% 120%, #8a6fe0 0, #5a3fb0 45%, #2c1e46 100%); padding: 26px 20px 0; display: flex; flex-direction: column; align-items: center; }
.game .banner img.icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25); }
.game .banner .title { margin-top: 14px; width: 100%; }
.game .banner .title canvas { margin: 0 auto; }
.game .banner .title canvas.sub { margin-top: 6px; }
.parade { display: flex; justify-content: center; gap: 2px; margin-top: 14px; height: 96px; overflow: hidden; width: 100%; }
.critter { width: 96px; height: 96px; flex: none; background-repeat: no-repeat; background-size: 384px 96px; image-rendering: pixelated; animation: idle 0.9s steps(4) infinite; }
.critter:nth-child(2n) { animation-delay: -0.3s; }
.critter:nth-child(3n) { animation-delay: -0.6s; }
@keyframes idle { to { background-position-x: -384px; } }
@media (prefers-reduced-motion: reduce) { .critter { animation: none; } }
.game .body { padding: 20px 22px 24px; }
.game p { margin: 0 0 14px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.soon { display: inline-block; background: var(--ink); color: var(--bg); border-radius: 12px; padding: 10px 16px; font-weight: 600; font-size: 15px; }
.cta a { font-size: 15px; }

/* Home: the pledge card. */
.pledge { margin: 28px 0 10px; border-radius: 18px; text-align: center; padding: 30px 18px 26px; color: #fff8ea;
  background: radial-gradient(circle at 50% -20%, #8a6fe0 0, #5a3fb0 40%, #2c1e46 100%); }
.pledge canvas.px { margin: 0 auto; }
.pledge .lines { display: grid; gap: 12px; margin: 20px 0 0; }
.pledge p { margin: 20px auto 0; max-width: 32em; color: #d9ccff; font-size: 16px; }

/* Support and privacy: a title row and the text in one card. */
.page-title { display: flex; align-items: center; gap: 14px; padding: 18px 0 16px; }
.page-title img { width: 64px; height: 64px; border-radius: 15px; }
.page-title h1 { margin: 0; font-size: 28px; line-height: 1.2; }
.page-title p { margin: 0; color: var(--dim); }
main.page { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 6px 22px 20px; }
main.page h2 { margin-top: 28px; font-size: 21px; }
main.page h3 { margin-bottom: 4px; font-size: 17px; }
.dim { color: var(--dim); font-size: 15px; }

footer { color: var(--dim); font-size: 14px; padding: 30px 0 40px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer a { color: var(--dim); }
