@font-face { font-family: Livvic; font-weight: 700; font-display: swap; src: url(fonts/Livvic-Bold.ttf); }
@font-face { font-family: Livvic; font-weight: 600; font-display: swap; src: url(fonts/Livvic-SemiBold.ttf); }
@font-face { font-family: Livvic; font-weight: 500; font-display: swap; src: url(fonts/Livvic-Medium.ttf); }

/* Duckademy palette: ice cards with a soft ledge, ink text, slate-teal stone. */
:root {
  --sky: #7CCBF2;
  --ink: #22384A;
  --ink-soft: #557083;
  --title-shadow: #0B3552;
  --ice: #EDF7FC;
  --ice-edge: #9DD3FF;
  --blue: #1E7BEF;
  --blue-edge: #0E5BB5;
  --stone-bottom: #4D7378;
  --stone-ledge: #35505A;
  --card: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--sky); }

body {
  min-height: 100vh;
  font-family: Livvic, ui-rounded, system-ui, sans-serif;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
  background: var(--sky) url(meadow.jpg) center bottom / cover fixed no-repeat;
}

a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--title-shadow); outline-offset: 3px; border-radius: 8px; }

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

/* Top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 4px 0 rgba(11, 53, 82, .35); }
.brand span { font-weight: 700; font-size: 28px; text-shadow: 0 3px 0 var(--blue-edge); }
.bar nav { display: flex; gap: 8px; flex-wrap: wrap; }
.bar nav a {
  text-decoration: none; color: var(--blue); background: var(--ice);
  padding: 8px 16px; border-radius: 999px; box-shadow: 0 4px 0 var(--ice-edge); font-size: 15px;
}
.bar nav a[aria-current="page"] { background: var(--blue); color: var(--ice); box-shadow: 0 4px 0 var(--blue-edge); }

/* Hero */
.hero { text-align: center; padding: 24px 0 8px; }
.hero .icon { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 9px 0 rgba(11, 53, 82, .35), 0 22px 40px rgba(11, 53, 82, .3); }
.hero h1, .page-title {
  color: #fff; font-weight: 700; line-height: 1.05; letter-spacing: -.5px;
  text-shadow: 0 5px 0 var(--title-shadow);
}
.hero h1 { font-size: clamp(56px, 13vw, 92px); margin-top: 20px; }
.hero p.lead { color: #fff; font-weight: 600; font-size: clamp(19px, 4.6vw, 24px); margin-top: 10px; text-shadow: 0 2px 0 rgba(11, 53, 82, .55); }
.badge {
  display: inline-block; margin-top: 22px; background: var(--card); color: var(--ink);
  font-weight: 700; padding: 12px 24px; border-radius: 999px; box-shadow: 0 6px 0 var(--ice-edge);
}

.ducks { display: flex; justify-content: center; margin: 26px auto 0; max-width: 620px; }
.ducks img { width: 22%; margin: 0 -3.5%; filter: drop-shadow(0 10px 12px rgba(9, 30, 50, .3)); }
.ducks img:nth-child(odd) { transform: translateY(10px) rotate(-4deg); }
.ducks img:nth-child(even) { transform: rotate(4deg); }

.page-title { font-size: clamp(36px, 8vw, 52px); margin: 8px 0 20px; }

/* Ice card */
.card {
  background: var(--card); border-radius: 24px; padding: 28px 24px;
  box-shadow: 0 6px 0 var(--ice-edge), 0 18px 40px rgba(11, 53, 82, .12);
  margin-top: 22px;
}
.card h2 { font-size: 24px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.card h3 { font-size: 18px; font-weight: 700; margin: 20px 0 4px; }
.card p + p, .card ul + p, .card p + ul { margin-top: 10px; }
.card ul { padding-left: 22px; }
.card li + li { margin-top: 6px; }
.muted { color: var(--ink-soft); font-size: 15px; }

/* Games list: rune pebbles like the app's medallions */
.games { list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.games li { display: flex; gap: 14px; align-items: flex-start; margin: 0 !important; }
.pebble {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(var(--stone-bottom), var(--stone-ledge));
  box-shadow: 0 4px 0 #2A414A, inset 0 2px 0 rgba(255, 255, 255, .28);
}
.pebble img { width: 58%; height: 58%; }
.games b { display: block; font-weight: 700; }

/* FAQ */
details { border-top: 2px solid var(--ice); padding: 14px 0; }
details:first-of-type { border-top: 0; padding-top: 4px; }
summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style-position: outside; margin-left: 18px; }
details p { margin-top: 8px; }

.button {
  display: inline-block; margin-top: 14px; text-decoration: none; color: var(--ice); background: var(--blue);
  padding: 12px 26px; border-radius: 999px; box-shadow: 0 5px 0 var(--blue-edge); font-weight: 700;
}

footer { text-align: center; margin-top: 36px; color: #fff; font-weight: 600; font-size: 14px; text-shadow: 0 2px 0 rgba(11, 53, 82, .6); }
footer a { color: #fff; }
