/* PP2 Gam — site styles */
:root {
  --bg: #0b0a14;
  --bg-2: #13111f;
  --card: #1a1729;
  --card-2: #221e36;
  --line: #2e2948;
  --text: #ece9f6;
  --muted: #a49fbd;
  --gold: #ffc53d;
  --gold-2: #ff9f1c;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --green: #22c55e;
  --radius: 16px;
  --max: 1120px;
  --grad: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  --grad-2: linear-gradient(135deg, var(--violet) 0%, var(--pink) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(139, 92, 246, .22), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(255, 159, 28, .12), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: #d6d2e6; }
ul, ol { padding-left: 1.2em; color: #d6d2e6; }
li { margin-bottom: .45em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--gold); color: #000; padding: 8px 12px; z-index: 100; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; font-size: .9rem; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--grad); color: #1b1300; box-shadow: 0 8px 24px rgba(255, 170, 40, .35); }
.btn-gold:hover { box-shadow: 0 12px 32px rgba(255, 170, 40, .5); }
.btn-violet { background: var(--grad-2); color: #fff; box-shadow: 0 8px 24px rgba(139, 92, 246, .35); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: .8rem; }
.pulse { animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 197, 61, .55); }
  70% { box-shadow: 0 0 0 16px rgba(255, 197, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 197, 61, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 10, 20, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; }
.logo { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--text); letter-spacing: .04em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 38px; height: 38px; }
.logo span b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.header-cta { display: flex; gap: 8px; align-items: center; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; background: var(--card); border: 1px solid var(--line);
  color: var(--text); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.main-nav { border-top: 1px solid var(--line); display: none; }
.main-nav.open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 8px 0 14px; display: flex; flex-direction: column; }
.main-nav a { display: block; padding: 10px 4px; color: var(--text); font-weight: 600; font-size: .92rem; letter-spacing: .05em; text-transform: uppercase; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); text-decoration: none; }

@media (min-width: 1100px) {
  .menu-toggle { display: none; }
  .main-nav { display: block !important; border: 0; }
  .main-nav ul { flex-direction: row; gap: 20px; padding: 0; }
  .main-nav a { padding: 0; font-size: .78rem; white-space: nowrap; }
  .header-inner { height: 76px; }
  .nav-wrap { display: flex; align-items: center; gap: 28px; }
}
@media (max-width: 1099px) {
  .nav-wrap { display: contents; }
  .main-nav { position: absolute; left: 0; right: 0; top: 68px; background: var(--bg-2); padding: 0 16px; }
}
@media (max-width: 420px) {
  .header-cta .btn-ghost { display: none; }
  .logo { font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } .hero { padding: 80px 0 56px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 197, 61, .1); border: 1px solid rgba(255, 197, 61, .35); color: var(--gold);
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.08rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .9rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art img { width: min(380px, 88%); filter: drop-shadow(0 30px 60px rgba(139, 92, 246, .35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

.download-now { text-align: center; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); font-size: .85rem; margin-bottom: 4px; }

/* ---------- Sections ---------- */
section { padding: 44px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.section-head p { color: var(--muted); }
.card {
  background: linear-gradient(180deg, var(--card) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; color: var(--gold); }

/* App info table */
.info-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--radius); }
.info-table th, .info-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 40%; color: var(--muted); font-weight: 600; background: rgba(255, 255, 255, .02); }
.info-table td { font-weight: 700; }
.info-wrap { max-width: 640px; margin: 0 auto; padding: 0; overflow: hidden; }

/* Feature grid */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.feature .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(139, 92, 246, .15); border: 1px solid rgba(139, 92, 246, .35); margin-bottom: 14px;
}
.feature h3 { margin-bottom: .35em; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.steps li {
  counter-increment: step; position: relative; padding: 20px 20px 20px 72px; margin: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; background: var(--grad); color: #1b1300;
}
.steps strong { display: block; color: var(--text); }

/* Screenshot gallery */
.shots { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 960px) { .shots { grid-template-columns: repeat(4, 1fr); } }
.shot { margin: 0; text-align: center; }
.shot img { border-radius: 22px; margin: 0 auto 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.shot figcaption { font-size: .88rem; color: var(--muted); }
.shot figcaption b { color: var(--gold); display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

/* Bonus strip */
.bonus-strip {
  display: grid; gap: 16px; align-items: center; padding: 28px; border-radius: 22px;
  background: linear-gradient(120deg, rgba(139, 92, 246, .35), rgba(236, 72, 153, .25)), var(--card);
  border: 1px solid rgba(139, 92, 246, .45);
}
@media (min-width: 760px) { .bonus-strip { grid-template-columns: 1fr auto; padding: 36px 40px; } }
.bonus-strip h2 { margin-bottom: .3em; }
.bonus-strip p { margin: 0; color: #e7e2ff; }

/* Safety */
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 32px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq details[open] { border-color: rgba(255, 197, 61, .45); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 12px; color: var(--muted); }

/* Page hero (inner pages) */
.page-hero { padding: 54px 0 20px; text-align: center; }
.page-hero p { color: var(--muted); max-width: 680px; margin: 0 auto; }
.page-hero .banner { max-width: 760px; margin: 28px auto 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }

/* Blog */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { margin: 0; }
.post-card h3 a { color: var(--text); }
.post-card .meta { font-size: .8rem; color: var(--muted); }
.post-card p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; }
.cats li { margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .88rem; color: var(--text); }

/* CTA box */
.cta-box { text-align: center; padding: 40px 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); margin: 30px auto; max-width: 820px; }
.cta-box p { color: var(--muted); }

/* Footer */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 44px 0 90px; }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } .site-footer { padding-bottom: 36px; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-note { color: var(--muted); font-size: .88rem; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .85rem; }
.age-badge { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #ef4444; color: #ef4444; font-weight: 800; font-size: .78rem; margin-right: 8px; vertical-align: middle; }

/* Sticky mobile download bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px;
  background: rgba(19, 17, 31, .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  display: flex; gap: 10px;
}
.mobile-bar .btn { flex: 1; }
@media (min-width: 760px) { .mobile-bar { display: none; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art img, .pulse { animation: none; }
  html { scroll-behavior: auto; }
}
