/* Ripple Arcade — shared look */
:root {
  --ink: #22305A;
  --ink-soft: #4A5A80;
  --bg: #F7FBFF;
  --card: #FFFFFF;
  --line: #E3EEF7;
  --sky: #DDF3FF;
  --mint: #BDF0D7;
  --mint-deep: #8ED8B5;
  --sun: #FFE49A;
  --sun-deep: #EDC55B;
  --coral: #FFB8A3;
  --coral-soft: #FFEDE7;
  --coral-ink: #A6391A;
  --lilac: #E3DEFF;
  --lilac-deep: #C6BDFA;
  --pink: #FFD1E4;
  --go: #1A8F57;
  --go-deep: #116B40;
  --bloop: #6BD8CF;
  --radius: 28px;
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--ink); }
a:hover { color: #0E6F69; }
button { font-family: var(--body); color: var(--ink); }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid #8C7BFF;
  outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--display); margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 16px 20px 32px; }

.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 26px; }
.spacer { flex-grow: 1; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--card);
  font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: none; color: var(--ink);
}
.btn:hover { background: #F3F8FC; color: var(--ink); }
.btn-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 24px; cursor: pointer; text-decoration: none;
  background: var(--go); color: #FFFFFF; border: 0;
  font-family: var(--display); font-weight: 700; font-size: 22px;
  min-height: 60px; border-radius: 22px; box-shadow: 0 5px 0 var(--go-deep);
}
.btn-go:hover { background: #17834F; color: #FFFFFF; }
.btn-go:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--go-deep); }
.btn-dark { background: var(--ink); color: #FFFFFF; border: 0; }
.btn-dark:hover { background: #1A2547; color: #FFFFFF; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8%) rotate(2deg); } }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(6deg); } }
@keyframes floaty2 { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(12px) rotate(-8deg); } }
@keyframes blink { 0%,92%,100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.bob { animation: bob 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
.floaty { animation: floaty 5s ease-in-out infinite; }
.floaty2 { animation: floaty2 6s ease-in-out infinite; }
.blink { transform-box: fill-box; transform-origin: center; animation: blink 4.5s infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
