/* Plumtile site: same class names and layout as the BandPulse / Tennis Ball Master 3D sites, in the game's sunset palette. */
@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --bg: #2e0f47;
  --bg-2: #3a1456;
  --surface: #1e0630;
  --surface-2: #4a1a63;
  --line: rgba(255, 255, 255, 0.16);
  --text: #fff6ee;
  --muted: #cdb4de;
  --soft: #e8d8f2;
  --cyan: #45d0a4;      /* mint: links and accents */
  --magenta: #f27a54;   /* coral */
  --violet: #8a2468;    /* berry */
  --gold: #ffd23d;
  --sky: #3fb9d6;
  --radius: 18px;
  --max: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Fredoka", "Segoe UI Rounded", "Arial Rounded MT Bold", var(--font);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #9ff0d3; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, .brand { font-family: var(--font-head); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: #1e0630; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(30, 6, 48, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--soft); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.09); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); width: 42px; height: 42px; border-radius: 12px; font-size: 20px; cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; padding: 8px 16px 16px; background: rgba(30, 6, 48, 0.98); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 17px; }
}

/* ---------- landing ---------- */
.hero { position: relative; padding: 56px 0 32px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 130%; z-index: -1;
  background: radial-gradient(45% 55% at 80% 55%, rgba(242, 122, 84, 0.32), transparent 70%), radial-gradient(40% 50% at 15% 15%, rgba(138, 36, 104, 0.55), transparent 70%); }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .hero { padding: 80px 0 48px; } .hero .wrap { grid-template-columns: 1.1fr 0.9fr; } }
.hero .appicon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.hero h1 { font-size: clamp(46px, 9vw, 84px); line-height: 1; margin: 16px 0 6px; font-weight: 700; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .sub { margin: 0; font-size: clamp(16px, 3vw, 20px); font-weight: 600; letter-spacing: 0.14em; color: var(--soft); text-transform: uppercase; font-family: var(--font-head); }
.hero p.lead { font-size: 20px; color: var(--soft); margin: 20px 0 24px; max-width: 32em; }
.store-row, .stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.badge-soon { display: inline-flex; flex-direction: column; justify-content: center; min-width: 210px; padding: 10px 20px; border-radius: 14px; border: 2px dashed rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); line-height: 1.2; }
.badge-soon small { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.badge-soon strong { font-size: 19px; color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none; background: var(--gold); color: #1e0630; }
.btn:hover { background: #ffe37a; color: #1e0630; }
.fine { margin: 16px 0 0; color: var(--muted); font-size: 14px; }

.board-art { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: min(320px, 78vw); margin: 0 auto; padding: 16px; border-radius: 28px; background: var(--surface); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.board-art span { aspect-ratio: 1; border-radius: 12px; background: rgba(255, 255, 255, 0.07); display: grid; place-items: center; font-size: 22px; font-weight: 700; color: #1e0630; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22); }
.board-art .c1 { background: var(--gold); } .board-art .c2 { background: var(--magenta); } .board-art .c3 { background: var(--cyan); } .board-art .c4 { background: var(--sky); } .board-art .c5 { background: #b58cf0; }

.band { padding: 40px 0; }
.band.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2 { font-size: clamp(28px, 5vw, 38px); margin: 0 0 8px; line-height: 1.1; }
.band .intro { color: var(--soft); max-width: 40em; margin: 0 0 22px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card h3 { margin: 0 0 6px; font-size: 20px; color: var(--gold); }
.card p { margin: 0; color: var(--soft); font-size: 16px; }

.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.themes li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.themes b { display: block; font-family: var(--font-head); font-size: 19px; margin-bottom: 10px; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.25); }

.shots { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; margin: 0; }
.shots figure { margin: 0; flex: 0 0 auto; width: 220px; scroll-snap-align: start; }
.shots img { width: 220px; aspect-ratio: 9 / 19.5; object-fit: cover; border-radius: 16px; background: var(--surface) linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 0; }
.shots img.missing { visibility: visible; }
.shots figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin: 0 0 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; font-family: var(--font-head); font-size: 18px; }
.faq details p { margin: 0 0 14px; color: var(--soft); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; margin-top: 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--soft); }

/* ---------- document pages (privacy, support) ---------- */
.doc { max-width: 780px; padding: 48px 16px 72px; margin: 0 auto; }
.kicker { color: var(--magenta); font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 10px; }
.doc h1 { font-size: clamp(32px, 7vw, 46px); line-height: 1.1; margin: 0 0 16px; font-weight: 700; }
.doc .meta { color: var(--muted); margin: 0; font-size: 15px; }
.doc .meta strong { color: var(--text); }
.doc .notice { margin: 24px 0; padding: 14px 18px; border-radius: 14px; border: 2px solid var(--gold); background: rgba(255, 210, 61, 0.1); color: var(--text); }
.doc .toc { margin: 28px 0; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.doc .toc ol { margin: 8px 0 0; padding-left: 1.3em; columns: 2 220px; }
.doc h2 { font-size: 24px; margin: 44px 0 10px; scroll-margin-top: 80px; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; scroll-margin-top: 80px; }
.doc p, .doc li { color: var(--soft); overflow-wrap: anywhere; }
.doc strong { color: var(--text); }
.doc ul { padding-left: 1.25em; }
.doc li { margin: 6px 0; }
.doc .toc li { margin: 0 0 6px; break-inside: avoid; }
.ui { font-weight: 700; color: var(--text); white-space: nowrap; }
