/* 6ARELYHUMAN — landing. build-your-slaybot led. sticker/neon brand system. */
:root {
  --pink: #ff008a; --green: #05f300; --purple: #8e00e6; --grey: #9f9d9a; --beige: #d6cfc2;
  --blue: #2f6bff; --ink: #05040a; --panel: #0c0a12; --line: #26222e;
  --head: 'Anton', Impact, 'Arial Black', sans-serif;
  --body: 'Space Grotesk', Helvetica, Arial, sans-serif;
  --mono: 'Space Mono', 'Courier New', monospace;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--ink); color: #fff; }
body { font-family: var(--body); min-height: 100dvh; overflow-x: hidden; background: radial-gradient(120% 78% at 50% 4%, #150a1e 0%, #08060e 44%, #030208 100%); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; }

/* atmosphere */
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 60; }
.scan { background: repeating-linear-gradient(0deg, rgba(0,0,0,0.16) 0 1px, transparent 1px 3px); opacity: 0.5; mix-blend-mode: multiply; }
.grain { z-index: 61; opacity: 0.5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 0.5s steps(3) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-3%,2%)} 66%{transform:translate(2%,-2%)} 100%{transform:translate(0,0)} }
.vignette { z-index: 59; background: radial-gradient(120% 92% at 50% 40%, transparent 50%, rgba(0,0,0,0.58) 100%); }

.rule { display: flex; gap: 5px; width: 100%; }
.rule i { height: 3px; flex: 1; }
.rule i:nth-child(1){background:var(--purple)} .rule i:nth-child(2){background:var(--pink)} .rule i:nth-child(3){background:var(--green)}

/* shell — paints on frame 1 (no boot gate); a quick, non-blocking settle-in */
.shell { position: relative; z-index: 1; min-height: 100dvh; display: flex; flex-direction: column; animation: pageIn 0.45s ease both; }
@keyframes pageIn { from { opacity: 0.35; } to { opacity: 1; } }
.chrome { padding: 14px 18px 0; display: flex; flex-direction: column; gap: 10px; }
.chrome-mark { height: 26px; width: auto; align-self: flex-start; opacity: 0.92; }

.landing { flex: 1; width: min(600px, 100%); margin: 0 auto; padding: 16px 18px 8px; display: flex; flex-direction: column; gap: 22px; }
.hero { text-align: center; padding: 6px 0 0; }
.wordmark { width: min(380px, 74vw); height: auto; margin: 0 auto; filter: drop-shadow(0 0 26px rgba(255,0,138,0.4)) drop-shadow(0 0 7px rgba(47,107,255,0.28)); }
.hero-count { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--grey); margin: 10px 0 0; }
.hero-count b { color: var(--green); font-weight: 700; }

/* ---------- THE FEATURE: build your slaybot ---------- */
.feature {
  position: relative; display: flex; align-items: center; gap: 16px; overflow: hidden;
  padding: 20px 22px; border-radius: 20px; border: 2px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(142,0,230,0.28), transparent 55%),
    radial-gradient(120% 130% at 0% 100%, rgba(255,0,138,0.24), transparent 55%),
    linear-gradient(180deg, #140c1e, #0a0710);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.5), 0 20px 60px rgba(0,0,0,0.55), 0 0 40px rgba(255,0,138,0.14);
  transition: transform 0.16s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.28); box-shadow: 0 0 0 4px rgba(0,0,0,0.5), 0 26px 70px rgba(0,0,0,0.6), 0 0 54px rgba(255,0,138,0.24); }
.feature-shine { position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.10), transparent); transform: skewX(-18deg); animation: shine 5.5s ease-in-out infinite; }
@keyframes shine { 0%,55%{left:-60%} 80%,100%{left:130%} }
.feature-doll { flex: 0 0 auto; width: 108px; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.feature-doll img { width: 108px; height: auto; filter: drop-shadow(0 8px 22px rgba(0,0,0,0.6)); }
.feature-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.feature-badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: #041; background: var(--green); padding: 4px 9px; border-radius: 20px; }
.feature-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #041; animation: pulse 1.3s ease-in-out infinite; }
@keyframes pulse { 50%{opacity:0.3} }
.feature-title { font-family: var(--head); font-size: clamp(30px, 8vw, 44px); line-height: 0.92; letter-spacing: 1px; margin: 6px 0 2px; color: #fff; text-shadow: 0 0 24px rgba(255,0,138,0.4); }
.feature-sub { font-family: var(--body); font-size: 13px; color: var(--beige); margin: 0 0 10px; }
.feature-cta { display: inline-flex; align-self: flex-start; font-family: var(--head); font-size: 16px; letter-spacing: 1px; color: #000; background: var(--green); padding: 11px 20px; border-radius: 26px; box-shadow: 0 0 22px rgba(5,243,0,0.45); transition: transform 0.12s ease; }
.feature:hover .feature-cta { transform: translateX(3px); }
.feature-serial { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.5px; color: #6a6572; margin-top: 12px; }

/* ---------- platform icons (sticker buttons) ---------- */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 2px 0; }
.pill {
  position: relative; width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #0b0810; border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 0 rgba(0,0,0,0.6), 0 8px 18px rgba(0,0,0,0.4);
  transition: transform 0.14s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.pill img { width: 27px; height: 27px; transition: transform 0.2s ease; }
.pill:hover { transform: translateY(-4px); border-color: var(--pc, var(--pink)); background: #100a16; box-shadow: 0 6px 0 rgba(0,0,0,0.6), 0 12px 26px rgba(0,0,0,0.5), 0 0 24px var(--pc, var(--pink)); }
.pill:hover img { transform: scale(1.08); }
.pill:active { transform: translateY(-1px); }

/* join */
.join { border: 1.5px solid var(--line); border-radius: 14px; padding: 20px; background: linear-gradient(180deg, rgba(18,10,22,0.7), rgba(8,6,14,0.7)); }
.join-head { font-family: var(--head); font-size: 24px; letter-spacing: 1px; color: var(--pink); }
.join-sub { font-family: var(--body); font-size: 12.5px; color: var(--grey); margin-top: 3px; }
.join-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
/* 16px: iOS Safari + IG/TikTok webviews auto-zoom on focus for any input < 16px */
.join-form input { flex: 1; min-width: 150px; background: #060409; border: 1.5px solid var(--line); border-radius: 24px; color: #fff; font-family: var(--mono); font-size: 16px; padding: 11px 16px; outline: none; transition: border-color 0.2s ease; }
.join-form input:focus { border-color: var(--pink); }
.join-form input::placeholder { color: #55505e; }
.join-form button { font-family: var(--head); font-size: 15px; letter-spacing: 1px; color: #000; background: var(--pink); padding: 0 24px; height: 44px; border-radius: 24px; box-shadow: 0 0 18px rgba(255,0,138,0.4); transition: transform 0.12s ease; }
.join-form button:active { transform: scale(0.97); }
.tandc { font-family: var(--body); font-size: 10.5px; line-height: 1.55; color: #6a6572; margin: 13px 0 0; }
.tandc-links { display: block; margin-top: 6px; color: #55505e; }
.tandc a { color: var(--grey); text-decoration: underline; }

/* ---------- MERCH ---------- */
.shop { border: 1.5px solid var(--line); border-radius: 14px; padding: 18px; background: linear-gradient(180deg, rgba(18,10,22,0.7), rgba(8,6,14,0.7)); }
.shop-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cart-go { font-family: var(--head); font-size: 12px; letter-spacing: 1px; color: #000; background: var(--green); padding: 9px 14px; border-radius: 22px; box-shadow: 0 0 14px rgba(5,243,0,0.4); white-space: nowrap; flex: 0 0 auto; transition: transform 0.12s ease; }
.cart-go:active { transform: scale(0.97); }
.cart-go:disabled { opacity: 0.6; }
.merch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.merch-load { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; color: var(--grey); text-align: center; padding: 22px 0; }
.merch-card { border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #08060e; display: flex; flex-direction: column; transition: border-color 0.2s ease; }
.merch-card:hover { border-color: rgba(255,0,138,0.4); }
.merch-img { aspect-ratio: 1; background: #12101a; }
.merch-img img { width: 100%; height: 100%; object-fit: cover; }
.merch-info { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; padding: 9px 11px 4px; }
.merch-title { font-family: var(--body); font-weight: 500; font-size: 12.5px; line-height: 1.2; color: #eae7f0; }
.merch-price { font-family: var(--mono); font-size: 12.5px; color: var(--green); flex: 0 0 auto; }
.merch-buy { display: flex; gap: 6px; padding: 4px 11px 12px; }
.merch-size { flex: 1; min-width: 0; font-family: var(--mono); font-size: 11px; color: #cfc9d6; background: #060409; border: 1px solid var(--line); border-radius: 8px; padding: 7px; outline: none; }
.merch-size:focus { border-color: var(--pink); }
.merch-add { font-family: var(--head); font-size: 12px; letter-spacing: 0.5px; color: #000; background: var(--pink); border-radius: 8px; padding: 7px 13px; transition: transform 0.12s ease; }
.merch-add:active { transform: scale(0.95); }

/* roadmap */
.roadmap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; padding: 4px 0 2px; }
.rm-item { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: #5f5a68; }
.rm-item.on { color: var(--green); }
.rm-item em { font-style: normal; color: #45414d; }
.rm-sep { color: #34313c; font-family: var(--mono); font-size: 10px; }

/* footer */
/* extra bottom pad: IG/TikTok in-app toolbars overlay the viewport with no safe-area inset */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

/* in-app browser nudge — slim strip, only shown by JS inside IG/TikTok/FB webviews */
#inapp { position: sticky; top: 0; z-index: 85; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 14px; background: var(--pink); color: #12000a; font-family: var(--body); font-weight: 500; font-size: 12px; letter-spacing: 0.2px; }
#inapp[hidden] { display: none; }
#inapp button { color: #12000a; font-size: 13px; line-height: 1; opacity: 0.7; padding: 2px 4px; }
.foot-mark { height: 18px; width: auto; opacity: 0.7; }
.foot-btn { font-family: var(--body); font-size: 12px; color: var(--grey); letter-spacing: 0.4px; padding: 6px 4px; transition: color 0.2s ease; }
.foot-btn.sound[aria-pressed="true"] { color: var(--green); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 74px; transform: translateX(-50%) translateY(14px); z-index: 75; padding: 10px 18px; border-radius: 24px; background: #0c0a12; border: 1.5px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--green); opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; max-width: 86vw; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 520px) {
  .chrome-mark { height: 22px; }
  .feature { flex-direction: column; text-align: center; padding: 22px 18px; }
  .feature-doll { width: 132px; align-self: center; }
  .feature-doll img { width: 132px; }
  .feature-body { align-items: center; }
  .feature-badge, .feature-cta { align-self: center; }
  .feature-title { font-size: 40px; }
  .join-form input { flex-basis: 100%; }
  .join-form button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .feature-shine, .feature-badge .dot, .shell { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
