/* Ricoshot's site: the game's Gumdrop Meadow sky, cream cards and candy colours. */
:root {
  --sky-top: #2bc4b4;
  --sky: #1a6c9c;
  --navy: #0e2a4a;
  --panel: #173a63;
  --line: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: #d6eef2;
  --ink: #15233f;
  --ink-2: #4a5878;
  --cream: #fff6e5;
  --sunny: #ffc93c;
  --coral: #ff5f6d;
  --mint: #5ee6a8;
  --sky-blue: #3fa2ff;
  --gem: #b86bff;
  --lime: #b8f53a;
  --boom: #ff9a2e;
  --toxic: #b45cff;
  --punch: #ff4fa0;
  --radius: 22px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: linear-gradient(180deg, var(--sky-top) 0, var(--sky) 700px, var(--navy) 1600px) var(--navy);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .kicker, summary { font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

a { color: var(--sunny); }
a:hover { color: #ffe08a; }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Top bar: the Appy Hour Studios family bar (the studio's aurora over navy, edged with its tile strip). */
.top {
  position: sticky; top: 0; z-index: 5; backdrop-filter: blur(10px);
  background:
    linear-gradient(100deg, rgba(52, 195, 230, 0.30), rgba(125, 108, 240, 0.28) 40%, rgba(212, 87, 179, 0.26) 62%, rgba(236, 106, 90, 0.28) 82%, rgba(246, 196, 69, 0.26)),
    rgba(14, 20, 51, 0.94);
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #34c3e6, #2f8fe0 35%, #f28a2e 70%, #ec6a5a) 1;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 18px; }
.nav a { color: #c9d3ee; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 60px 0 36px; text-align: center; }
.hero .icon { width: 120px; height: 120px; border-radius: 27px; margin: 0 auto 22px; box-shadow: 0 12px 40px rgba(10, 32, 64, 0.45); }
.hero h1 { font-size: clamp(40px, 7vw, 66px); line-height: 1.05; margin: 0 0 12px; font-weight: 900; letter-spacing: -1px; text-shadow: 0 4px 0 rgba(10, 32, 64, 0.35); }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p.lede { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 660px; margin: 0 auto 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.soon {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  background: var(--sunny); color: var(--ink); font-weight: 800; box-shadow: 0 5px 0 #c9921a;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, sans-serif;
}
/* Apple's official App Store badge, unmodified (Apple's rules: at least 40px tall, no restyling). */
.store-badge { display: inline-block; line-height: 0; border-radius: 10px; }
.store-badge img { height: 56px; width: auto; }
.small { font-size: 14px; color: var(--muted); }

/* Screenshots: a grid that wraps (no sideways scrolling): two across on phones, four on wide screens. */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: var(--max); margin: 0 auto; padding: 12px 16px 32px; }
.shots img { width: 100%; height: auto; aspect-ratio: 506 / 1100; border-radius: 22px; box-shadow: 0 10px 36px rgba(10, 32, 64, 0.5); }
@media (min-width: 700px) { .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .shots img { border-radius: 26px; } }

/* Sections */
section { padding: 56px 0; }
section.alt { background: rgba(10, 32, 64, 0.28); }
h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 8px; font-weight: 850; letter-spacing: -0.5px; }
h2 + p { color: var(--muted); margin-top: 0; max-width: 680px; }
h3 { margin: 0 0 6px; font-size: 19px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 26px; }
.card { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 20px; box-shadow: 0 6px 0 rgba(10, 32, 64, 0.25); }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.card .kicker { font-size: 13px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; color: #e0601a; }
.card:nth-child(4n+2) .kicker { color: #1f7fd6; }
.card:nth-child(4n+3) .kicker { color: #d63a62; }
.card:nth-child(4n) .kicker { color: #7a44d6; }

/* The four goos: each card wears its goo's colour. */
.goos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 26px; }
.goo { border-radius: var(--radius); padding: 20px; background: rgba(10, 32, 64, 0.35); border: 3px dashed var(--g); }
.goo h3 { color: var(--g); font-size: 22px; }
.goo .when { font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.goo p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
.goo.split { --g: var(--lime); }
.goo.boom { --g: var(--boom); }
.goo.toxic { --g: #cf9bff; }
.goo.punch { --g: #ff7ab8; }

/* FAQ */
details { background: var(--cream); color: var(--ink); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 800; }
details p { color: var(--ink-2); margin: 10px 0 0; }
details a { color: #1f7fd6; }

/* Plain pages (support, privacy) */
.page { padding: 48px 16px 64px; max-width: 760px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 6px; letter-spacing: -0.5px; }
.page h2 { font-size: 24px; margin-top: 36px; }
.page p, .page li { color: #eaf6f8; }
.page .note { color: var(--muted); font-style: italic; }
.page a { overflow-wrap: anywhere; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  .nav { gap: 12px; }
  .nav a.hide-sm { display: none; }
  section { padding: 44px 0; }
  .hero { padding-top: 44px; }
}

/* The way back to the studio, shared by every app's top bar: the Appy Hour Studios
   hourglass mark, then the app's own name. */
.crumbs { display: flex; align-items: center; gap: 12px; min-width: 0; }
.studio { display: flex; align-items: center; flex: none; padding-right: 12px; border-right: 1px solid rgba(255, 255, 255, 0.24); }
.studio img { display: block; width: 32px; height: 32px; object-fit: contain; padding: 2px 4px; border-radius: 8px; background: linear-gradient(160deg, #f6f7ff, #d9deef); }
.studio:hover img { transform: translateY(-1px); }
