/* Pixelripper hub styles. Self-hosted fonts (SIL OFL, see fonts/OFL.txt). */
@font-face { font-family: 'Syne'; font-weight: 700 800; font-display: swap; src: url('../fonts/syne.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 400 700; font-display: swap; src: url('../fonts/outfit.woff2') format('woff2'); }

:root {
  --abyss: #061014; --depth: #0e2c30; --foam: #e8f6f3; --mist: #93b0b4;
  --tide: #2ee6c7; --flare: #ff5d3a; --sand: #f0c14d; --line: rgba(232,246,243,.14);
  --display: 'Syne', 'Outfit', system-ui, sans-serif;
  --text: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: #040b0e; }
body {
  margin: 0; color: var(--foam); font-family: var(--text); line-height: 1.55;
  background: radial-gradient(120% 60% at 50% 0%, rgba(14,58,60,.45), transparent 60%), #040b0e;
  min-height: 100vh;
}
a { color: var(--tide); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

.site-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; flex-wrap: wrap; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; color: var(--foam); text-decoration: none; }
.brand span { color: var(--tide); }
.nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: var(--mist); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--foam); }

.hero { padding: 24px 0 8px; }
.kicker { color: var(--tide); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; margin: 0 0 6px; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.05; margin: 0 0 12px; }
h2 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; margin: 0 0 8px; }
.lede { color: var(--mist); font-size: 1.08rem; max-width: 60ch; }

.card { background: rgba(12,30,33,.9); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 18px 0; }

.play-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; }
@media (max-width: 640px) { .play-card { grid-template-columns: 1fr; } }
.play-card img { width: 160px; max-width: 40vw; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.btn { display: inline-block; font: 700 1.05rem var(--text); border-radius: 999px; padding: 14px 30px; text-decoration: none; cursor: pointer; border: 0; }
.btn-play { background: var(--tide); color: #03201c; font-family: var(--display); font-size: 1.3rem; letter-spacing: .06em; padding: 16px 44px; }
.btn-ghost { background: transparent; color: var(--foam); border: 1px solid var(--line); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.small { font-size: .9rem; color: var(--mist); }
.status-ok { color: var(--tide); font-weight: 600; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 14px; margin: 8px 0 0; padding: 0; list-style: none; }
.features li { background: rgba(12,30,33,.6); border: 1px solid var(--line); border-radius: 14px; padding: 14px; color: var(--mist); }
.features strong { color: var(--foam); display: block; }

/* Landing ad slot: below the Play card, clearly labelled, generous spacing from any button. */
.ad-slot { margin: 56px auto 40px; max-width: 728px; }
.ad-slot__label { display: block; text-align: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); margin-bottom: 6px; }
.ad-slot__body { min-height: 0; }  /* no reserved empty box when live; the unit sizes itself */
.ad-slot--preview .ad-slot__body { min-height: 90px; }
.ad-slot--preview .ad-slot__body { border: 1px dashed var(--line); border-radius: 10px; display: grid; place-items: center; color: var(--mist); font-size: .85rem; }
.ad-slot--preview .ad-slot__body::after { content: 'Ad slot preview (layout only, no ad code loaded)'; }

.site-foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 22px 0 40px; color: var(--mist); font-size: .9rem; }
.site-foot nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.site-foot a { color: var(--mist); }

.doc h2 { margin-top: 26px; }
.doc ul { padding-left: 20px; }
.draft-banner { background: rgba(240,193,77,.12); border: 1px solid rgba(240,193,77,.45); color: var(--sand); border-radius: 12px; padding: 10px 14px; font-size: .9rem; }

/* Parental gate / purchase */
.gate input { font: 600 1.2rem var(--text); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #03080c; color: var(--foam); width: 10ch; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.row .btn { min-width: 150px; text-align: center; }
.hold-btn { position: relative; overflow: hidden; }
.hold-btn .fill { position: absolute; inset: 0; width: 0; background: rgba(46,230,199,.25); transition: width linear; }
.code { font: 700 1.3rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: var(--sand); }
.code-input { width: 18ch; font: 600 1rem ui-monospace, SFMono-Regular, Menlo, monospace; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: #03080c; color: var(--foam); }
/* Landing "No ads · A$2" link: a small text link, deliberately much smaller than PLAY. */
.noads-link { font-weight: 600; white-space: nowrap; }
/* Remove-ads options on /parents/: two equal cards, equal buttons. No "best value" badge, no highlight. */
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 14px 0 8px; }
.option { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.option h3 { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin: 0; }
.option p { margin: 0; color: var(--mist); }
.option .option__price { color: var(--foam); font-weight: 700; margin-top: auto; padding-top: 6px; }
.option .btn { width: 100%; text-align: center; margin-top: 8px; }
.restore { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; margin-top: 8px; }
textarea.code-input { width: 22ch; resize: vertical; line-height: 1.5; }
.noads-more { display: block; margin-top: 4px; }
/* Landing: coming-soon teaser lines (plain text, no link) under the feature cards. */
.teasers:empty { display: none; }
.teasers { margin: 14px 0 0; }
.teasers .teaser { margin: 0; text-align: center; }
.play-card picture { display: block; line-height: 0; }
