/* My Baby Penguin — the game's palette: icy blue sky, pink horizon, cream cards. */
:root {
  --ink: #2f3e4c;
  --soft: #6f8191;
  --ice: #dcebf5;
  --blush: #fbe3ec;
  --cream: #fbf7ef;
  --accent: #7fa8c9;
  --flake: #5aa7e0;
  --pink: #e98aa8;
  --gold: #e0a93a;
  --shadow: 0 10px 30px rgba(75, 106, 132, 0.18);
}
* { box-sizing: border-box; }
/* The sky behind every page, from icy blue to the pink horizon, as tall as the page. */
html { scroll-behavior: smooth; min-height: 100%; background: linear-gradient(180deg, #cfe4f3 0%, var(--ice) 30%, var(--blush) 100%); }
body {
  margin: 0;
  font-family: 'Fredoka', 'Arial Rounded MT Bold', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: transparent;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: #4f7fa8; }
main { max-width: 980px; margin: 0 auto; padding: 24px 16px 64px; position: relative; z-index: 1; }

/* Falling snow (behind everything). */
.snow { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.snow span {
  position: absolute; top: -20px; color: #fff; opacity: 0.85; text-shadow: 0 0 6px rgba(127, 168, 201, 0.6);
  animation: fall linear infinite;
}
@keyframes fall { to { transform: translateY(110vh) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .snow { display: none; } .bob { animation: none !important; } }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: var(--shadow); }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
  background: rgba(251, 247, 239, 0.92); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; padding: 28px 0 12px; }
.hero h1 { font-size: clamp(40px, 7vw, 64px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -0.5px; }
.hero h1 .tint { color: var(--flake); }
.hero p.lead { font-size: 20px; color: var(--soft); margin: 0 0 24px; }
.hero .art { position: relative; text-align: center; }
.hero .art img { width: 100%; max-width: 420px; border-radius: 36px; box-shadow: var(--shadow); }
.bob { animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-1deg); } }
.heart { position: absolute; font-size: 34px; animation: float 2.8s ease-in-out infinite; }
.heart.one { top: 6%; left: 8%; }
.heart.two { top: 14%; right: 6%; animation-delay: 1.2s; font-size: 26px; }
@keyframes float { 0%, 100% { transform: translateY(0); opacity: 0.9; } 50% { transform: translateY(-14px); opacity: 1; } }

/* Store buttons */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 18px; border-radius: 18px;
  background: var(--ink); color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform 0.15s ease;
  min-width: 210px;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: 12px; opacity: 0.8; line-height: 1.2; }
.store strong { display: block; font-size: 20px; font-weight: 600; line-height: 1.2; }
.store.google { background: linear-gradient(135deg, #5aa7e0, #7fa8c9); }
.store.apple { background: linear-gradient(135deg, #e98aa8, #d9779a); }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 36px 0; }
.feature { background: var(--cream); border-radius: 24px; padding: 20px 18px; box-shadow: var(--shadow); }
.feature .icon { font-size: 34px; }
.feature h3 { margin: 6px 0 4px; font-size: 19px; }
.feature p { margin: 0; color: var(--soft); font-size: 15px; }

/* Screens */
.screens { display: flex; gap: 16px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; }
.screens img { width: 200px; flex: none; border-radius: 26px; box-shadow: var(--shadow); scroll-snap-align: center; background: var(--cream); }
h2.section { text-align: center; font-size: 30px; margin: 40px 0 8px; }
p.section { text-align: center; color: var(--soft); margin: 0 0 16px; }

.cta { text-align: center; background: var(--cream); border-radius: 32px; padding: 32px 20px; box-shadow: var(--shadow); margin-top: 32px; }
.cta h2 { margin: 0 0 6px; font-size: 28px; }
.cta p { color: var(--soft); margin: 0 0 20px; }
.cta .stores { justify-content: center; }

footer { text-align: center; color: var(--soft); font-size: 14px; margin-top: 36px; }
footer a { margin: 0 8px; }

/* Text pages (privacy, support) */
.card { background: var(--cream); border-radius: 28px; padding: 28px 24px; box-shadow: var(--shadow); max-width: 760px; margin: 12px auto 0; }
.card h1 { font-size: 32px; margin: 0 0 4px; }
.card h2 { font-size: 21px; margin: 28px 0 8px; color: var(--ink); }
.card p, .card li { font-size: 16px; }
.soft { color: var(--soft); }
hr { border: none; border-top: 2px dashed #e3ddd2; margin: 32px 0; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .art { order: -1; }
  .hero .art img { max-width: 300px; }
  .stores { justify-content: center; }
  .features { grid-template-columns: 1fr 1fr; }
  .top nav .pill { padding: 6px 12px; font-size: 14px; }
}
@media (max-width: 420px) {
  .features { grid-template-columns: 1fr; }
  .store { min-width: 0; width: 100%; justify-content: center; }
}
