/* Bopbit Games — shared styles. No trackers, no analytics. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/nunito-400.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/nunito-600.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/nunito-700.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/nunito-800.woff2") format("woff2");
}

:root {
  --coral: #fe6864;
  --blue: #6fb4f1;
  --gold: #fdbb57;
  --mint: #70c1a2;
  --purple: #b196e6;
  --orange: #fe8364;
  --ink: #332b3a;
  --ink-soft: #5a5264;
  --cream: #fbf6ee;
  --cream-deep: #f3eadc;
  --paper: rgba(255, 252, 248, 0.86);
  --line: rgba(51, 43, 58, 0.1);
  --shadow: 0 16px 40px rgba(51, 43, 58, 0.08);
  --radius: 24px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Nunito", "Avenir Next", "Segoe UI", ui-rounded, system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 80% 55% at 0% -10%, rgba(177, 150, 230, 0.34), transparent 58%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(254, 131, 100, 0.22), transparent 52%),
    radial-gradient(ellipse 65% 45% at 8% 100%, rgba(112, 193, 162, 0.3), transparent 58%),
    radial-gradient(ellipse 55% 40% at 100% 92%, rgba(253, 187, 87, 0.24), transparent 52%),
    var(--cream);
  background-attachment: fixed;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; }
a { color: #c44d4a; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  z-index: 100;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(251, 246, 238, 0.78);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}
.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.wordmark img {
  height: 52px;
  width: auto;
  display: block;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  justify-content: flex-end;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--mint);
}

/* Hero */
.hero {
  text-align: center;
  padding: 3.2rem 0 3.5rem;
}
.hero-logo {
  width: min(520px, 92%);
  margin: 0 auto 1.6rem;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(51, 43, 58, 0.08));
}
.hero h1 {
  margin: 0 auto 0.85rem;
  max-width: 18ch;
  font-size: clamp(1.85rem, 4.4vw, 2.85rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.lede {
  margin: 0 auto 1.75rem;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.2rem;
}
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.1rem 0.55rem 0.7rem;
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
}
.dots {
  display: flex;
  gap: 0.28rem;
  padding-left: 0.15rem;
}
.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.dots span:nth-child(1) { background: var(--coral); }
.dots span:nth-child(2) { background: var(--blue); }
.dots span:nth-child(3) { background: var(--gold); }
.dots span:nth-child(4) { background: var(--mint); }
.dots span:nth-child(5) { background: var(--purple); }
.dots span:nth-child(6) { background: var(--orange); }

/* Sections */
.section {
  padding: 0.5rem 0 3.4rem;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4e9a80;
  margin: 0 0 0.55rem;
}
.section h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
  font-weight: 800;
  line-height: 1.2;
}
.section .intro {
  margin: 0 0 1.6rem;
  max-width: 40rem;
  color: var(--ink-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.4rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.card h3 {
  margin: 0.7rem 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
}
.icon svg { width: 28px; height: 28px; display: block; }
.icon-coral { background: #ffe3e0; }
.icon-mint { background: #dcefe7; }
.icon-gold { background: #ffe9c4; }
.icon-blue { background: #dcecfb; }
.icon-purple { background: #ece4fb; }

.promise .cards { margin-top: 0.4rem; }

.contact-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
}
.contact-panel h2 { margin-bottom: 0.35rem; }
.contact-panel .intro { margin: 0; }
.mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(51, 43, 58, 0.18);
  white-space: nowrap;
}
.mail-btn:hover { background: #4a4154; color: #fff; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.4rem;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 1.1rem;
}
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
}
.footer-links a:hover { color: var(--ink); }

/* Interior pages */
.page-hero {
  padding: 2.4rem 0 1.2rem;
}
.page-hero h1 {
  margin: 0.2rem 0 0.5rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.15;
}
.page-hero .meta {
  color: var(--ink-soft);
  margin: 0;
}

.notice {
  background: #fff6e4;
  border: 1px solid #f0d59a;
  border-left: 6px solid var(--gold);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  margin: 0 0 1.8rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.notice strong { font-weight: 800; }
.notice p { margin: 0.35rem 0 0; }
.notice p:first-child { margin-top: 0; }

.policy {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.6rem 1.7rem 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}
.policy h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  font-weight: 800;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}
.policy h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.policy h3 {
  margin: 1.2rem 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 800;
}
.policy p, .policy li { color: var(--ink-soft); }
.policy ul { padding-left: 1.2rem; }
.policy li { margin: 0.3rem 0; }
.policy .update {
  background: #fff6e4;
  border: 1px dashed #e0b85c;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin: 0.9rem 0 1.1rem;
  color: var(--ink);
  font-size: 1.02rem;
}
.policy .update::before {
  content: "Needs an update";
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a6b10;
  margin-bottom: 0.25rem;
}

.support-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.1rem;
  margin-bottom: 3rem;
}
.support-grid .card { padding: 1.5rem 1.45rem; }
.support-grid h2 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

/* Decorative floating shapes, hidden from AT */
.blobs {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

@media (max-width: 820px) {
  .cards,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .wordmark img { height: 42px; }
  .hero { padding-top: 2rem; }
  .contact-panel { padding: 1.3rem; }
  .policy { padding: 1.25rem 1.15rem 1.6rem; }
}

@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0.35rem; padding: 0.65rem 0 0.8rem; }
  .nav { gap: 0.3rem 0.9rem; }
  .wordmark img { height: 46px; }
  .coming-soon { font-size: 0.92rem; border-radius: 20px; }
  .nav a { font-size: 0.92rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links a { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
