/* Bubl: the brand palette from the art brief. */
:root {
  --coral: #FF6B6B;
  --violet: #7A5CFF;
  --sky: #40A8FF;
  --mint: #33CC9E;
  --sun: #FFC23D;
  --ink: #2B2440;
  --cream: #FFF7EE;
  --soft: #6B6480;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

a { color: var(--violet); }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }

/* Header bar */
.bar { padding: 18px 0; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 800; font-size: 22px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav a { margin-left: 18px; text-decoration: none; font-weight: 700; color: var(--ink); opacity: 0.8; }
.nav a:hover { opacity: 1; }

/* Hero on the coral-to-violet gradient */
.hero {
  background: linear-gradient(135deg, var(--coral), var(--violet));
  color: white;
  padding: 72px 0 84px;
  text-align: center;
  border-radius: 0 0 36px 36px;
}
.hero img.icon { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 18px 40px rgba(43, 36, 64, 0.35); }
.hero h1 { font-size: clamp(38px, 7vw, 60px); line-height: 1.05; margin: 26px 0 10px; letter-spacing: -0.5px; }
.hero p { font-size: clamp(18px, 2.6vw, 22px); max-width: 620px; margin: 0 auto; opacity: 0.95; }
.badge {
  display: inline-block; margin-top: 30px; padding: 14px 26px; border-radius: 999px;
  background: white; color: var(--ink); font-weight: 800; text-decoration: none;
  box-shadow: 0 10px 24px rgba(43, 36, 64, 0.25);
}
.badge small { display: block; font-weight: 600; color: var(--soft); font-size: 13px; }

/* Sections */
section { padding: 64px 0 8px; }
h2 { font-size: clamp(28px, 4.5vw, 38px); margin: 0 0 8px; letter-spacing: -0.3px; }
.lead { color: var(--soft); font-size: 18px; margin: 0 0 28px; max-width: 640px; }

.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.game { background: white; border-radius: 22px; padding: 16px 12px 14px; text-align: center; box-shadow: 0 6px 18px rgba(43, 36, 64, 0.08); }
.game img { width: 92px; height: 92px; border-radius: 20px; object-fit: cover; }
.game b { display: block; margin-top: 6px; }
.game span { color: var(--soft); font-size: 14px; }

.blocks { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.blocks img { width: 100%; border-radius: 24px; box-shadow: 0 14px 36px rgba(43, 36, 64, 0.18); }
.blocks ul { padding-left: 20px; margin: 0; }
.blocks li { margin: 6px 0; }
@media (max-width: 760px) { .blocks { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step { background: white; border-radius: 22px; padding: 22px; box-shadow: 0 6px 18px rgba(43, 36, 64, 0.08); }
.step .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: white; font-weight: 800; }

/* Plain text pages (support, privacy) */
.page { padding: 40px 0 20px; max-width: 760px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 6px; }
.page h2 { font-size: 22px; margin: 34px 0 6px; }
.page .updated { color: var(--soft); margin-top: 0; }
.card { background: white; border-radius: 20px; padding: 20px 22px; box-shadow: 0 6px 18px rgba(43, 36, 64, 0.08); margin: 18px 0; }

footer { margin-top: 70px; padding: 30px 0 40px; color: var(--soft); font-size: 14px; border-top: 1px solid rgba(43, 36, 64, 0.1); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer a { color: var(--soft); }
