/* ============================================
   Block Blastify – Play Store-Friendly Site
   11:11 Studio · 2024
   ============================================ */

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

:root {
  --bg:        #ffffff;
  --surface:   #f7f7f5;
  --border:    #e8e8e4;
  --ink:       #18181b;
  --ink2:      #3f3f46;
  --muted:     #71717a;
  --accent:    #4f46e5;
  --accent-lt: #eef2ff;
  --green:     #16a34a;
  --green-lt:  #f0fdf4;
  --yellow-lt: #fefce8;
  --yellow:    #ca8a04;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow:    0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
p { line-height: 1.7; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
}
.nav-links > a { color: var(--muted); font-weight: 450; transition: color 0.15s; }
.nav-links > a:hover { color: var(--ink); }
.btn-nav {
  background: var(--ink);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 500;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-nav:hover { opacity: 0.85; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  padding-top: 64px;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
}
.hero-left { flex: 1; max-width: 500px; }

/* app badge */
.app-badge-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.app-icon-lg {
  width: 60px; height: 60px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.app-icon-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.app-meta { display: flex; flex-direction: column; gap: 2px; }
.app-meta-name { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.app-meta-dev  { font-size: 0.82rem; color: var(--muted); }

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--ink);
}
h1 em { font-style: italic; font-weight: 400; color: var(--accent); }

.hero-desc {
  font-size: 1.05rem;
  color: var(--ink2);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 400px;
}

/* stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
}
.stat { text-align: center; }
.stat-val { display: block; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.stat-lbl { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

/* play badge */
.btn-gplay img {
  display: block;
  height: 54px;
  width: auto;
  border-radius: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-gplay:hover img {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ── PHONE MOCKUP ── */
.hero-right { flex-shrink: 0; position: relative; }

.phone-outer {
  position: relative;
  display: inline-block;
}
.phone-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(79,70,229,0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.phone-device {
  position: relative;
  z-index: 1;
  width: 240px;
  background: #1c1c1e;
  border-radius: 44px;
  padding: 14px 10px 18px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    var(--shadow-lg);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: translateY(0px) rotate(-0.5deg); }
  50%      { transform: translateY(-10px) rotate(0.5deg); }
}
.phone-bar {
  width: 72px; height: 5px;
  background: #3a3a3c;
  border-radius: 3px;
  margin: 0 auto 10px;
}
.phone-screen {
  background: #0d0d0f;
  border-radius: 30px;
  overflow: hidden;
  padding: 10px 8px 12px;
}
.status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
  padding: 0 4px;
  margin-bottom: 8px;
  font-weight: 500;
}
.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px;
}
.gh-item { text-align: center; }
.gh-label { display: block; font-size: 0.5rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; }
.gh-val   { display: block; font-size: 0.8rem; font-weight: 700; color: #fff; margin-top: 1px; }
.gh-title img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }

.grid-wrap { padding: 0 2px; }
.grid-board { display: flex; flex-direction: column; gap: 2.5px; }
.gr { display: flex; gap: 2.5px; }
.gc {
  width: 25px; height: 25px;
  border-radius: 4px;
  flex-shrink: 0;
}
.gc.e { background: rgba(255,255,255,0.06); }
.gc.p { background: #818cf8; box-shadow: 0 0 6px rgba(129,140,248,0.4); }
.gc.c { background: #38bdf8; box-shadow: 0 0 6px rgba(56,189,248,0.4); }
.gc.y { background: #fbbf24; box-shadow: 0 0 6px rgba(251,191,36,0.4); }

.coin-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.coin-icon { font-size: 0.85rem; }
.coin-val  { font-size: 0.78rem; font-weight: 600; color: #fbbf24; }

/* ── SECTION SHARED ── */
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-lt);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-h {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 52px;
  color: var(--ink);
}

/* ── FEATURES ── */
.features {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(79,70,229,0.25);
}
.feat-ico {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}
.feat-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}
.feat-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── HOW TO PLAY ── */
.howto {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.howto-inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.howto-text { flex: 1; }
.howto-visual { flex-shrink: 0; width: 300px; display: flex; flex-direction: column; gap: 16px; }

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step-n {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}
.steps li strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink);
}
.steps li p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.tip-card {
  background: var(--accent-lt);
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.tip-ico {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.tip-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.tip-card p {
  font-size: 0.83rem;
  color: var(--ink2);
  line-height: 1.6;
}

/* ── CTA ── */
.cta-section {
  padding: 100px 28px;
  border-top: 1px solid var(--border);
  background: var(--ink);
}
.cta-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 14px;
}
.cta-inner > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
}
.cta-note {
  margin-top: 16px !important;
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.25) !important;
  font-family: monospace;
}

/* ── FOOTER ── */
.footer {
  background: #111113;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.foot-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 28px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.foot-brand {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.foot-logo {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: cover;
}
.foot-byline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}
.foot-right {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
}
.foot-right a { color: rgba(255,255,255,0.45); transition: color 0.15s; }
.foot-right a:hover { color: rgba(255,255,255,0.85); }
.foot-bottom {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* ============================================
   PRIVACY POLICY – CLEAN LAYOUT
   ============================================ */

/* Two-column: sidebar + main */
.pp-page-wrap {
  display: flex;
  align-items: flex-start;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  padding-top: 64px;
}

/* ── SIDEBAR ── */
.pp-sidebar {
  width: 220px;
  flex-shrink: 0;
  padding: 48px 28px 48px 0;
}
.pp-sidebar-sticky {
  position: sticky;
  top: 88px;
}
.sidebar-heading {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  padding-left: 10px;
}
.toc {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 28px;
}
.toc-link {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 7px;
  border-left: 2px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  line-height: 1.4;
}
.toc-link:hover { color: var(--ink); background: var(--surface); }
.toc-link.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-lt);
  font-weight: 500;
}

/* Sidebar quick summary */
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.sidebar-card-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.sidebar-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sidebar-checks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink2);
  line-height: 1.45;
}
.chk {
  flex-shrink: 0;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  margin-top: 1px;
}
.chk.yes  { background: #dcfce7; color: #15803d; }
.chk.warn { background: #fef9c3; color: #b45309; }

/* ── MAIN CONTENT ── */
.pp-content {
  flex: 1;
  min-width: 0;
  border-left: 1px solid var(--border);
  padding: 48px 0 80px 44px;
}

/* Header */
.pp-header { margin-bottom: 36px; }

.pp-header-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-lt);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.pp-header h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--ink);
}
.pp-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.meta-dot { color: var(--border); }
.pp-meta-row strong { color: var(--ink2); }
.pp-lead {
  font-size: 0.975rem;
  color: var(--ink2);
  line-height: 1.8;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  font-style: italic;
  max-width: 520px;
}
.pp-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 0;
}

/* Individual section */
.pp-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 88px;
}
.pp-section:last-child { border-bottom: none; }

.pp-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}
.pp-section p {
  font-size: 0.93rem;
  color: var(--ink2);
  line-height: 1.8;
  margin-bottom: 12px;
}
.pp-section p:last-child { margin-bottom: 0; }
.pp-section p strong { color: var(--ink); }
.pp-section ul {
  margin-top: 8px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pp-section li {
  font-size: 0.93rem;
  color: var(--ink2);
  line-height: 1.7;
}
.pp-section li strong { color: var(--ink); }

/* Data table */
.pp-table {
  width: 100%;
  margin: 18px 0 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.pp-table-row {
  display: grid;
  grid-template-columns: 175px 1fr;
  border-bottom: 1px solid var(--border);
}
.pp-table-row:last-child { border-bottom: none; }
.pp-table-head {
  background: var(--surface);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.pp-table-row > div {
  padding: 11px 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.pp-table-row:not(.pp-table-head) > div:first-child {
  font-weight: 600;
  color: var(--ink2);
  background: var(--surface);
  border-right: 1px solid var(--border);
}
.pp-table-row:not(.pp-table-head) > div:last-child { color: var(--muted); }
.pp-table-warn { background: #fefce8; }
.pp-table-warn > div:first-child {
  background: rgba(254,252,232,0.8) !important;
  color: #92400e !important;
}
.pp-table-warn > div:last-child { color: #92400e !important; }

/* AdMob callout */
.pp-callout {
  margin: 18px 0;
  padding: 18px 22px;
  background: var(--accent-lt);
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: var(--radius);
}
.callout-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.callout-code {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(79,70,229,0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.pp-callout p {
  font-size: 0.875rem !important;
  color: var(--ink2) !important;
  margin-bottom: 0 !important;
  line-height: 1.7 !important;
}
.pp-callout a { color: var(--accent); font-weight: 500; }
.pp-callout a:hover { text-decoration: underline; }

/* Contact block */
.pp-contact {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.contact-item:last-child { border-bottom: none; }
.contact-key {
  width: 82px;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-val { color: var(--ink2); }
.contact-val code {
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  background: var(--surface);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--ink);
}
.contact-link { color: var(--accent) !important; font-weight: 500; }
.contact-link:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
  .howto-inner { flex-direction: column; gap: 52px; }
  .howto-visual { width: 100%; flex-direction: row; }
  .tip-card { flex: 1; }
  /* PP: sidebar goes above content */
  .pp-page-wrap {
    flex-direction: column;
    padding-top: 64px;
  }
  .pp-sidebar {
    width: 100%;
    padding: 28px 0 24px;
    border-bottom: 1px solid var(--border);
  }
  .pp-sidebar-sticky {
    position: static;
  }
  .toc {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .toc-link {
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 6px;
    font-size: 0.78rem;
    padding: 4px 10px;
  }
  .toc-link.active { border-left: none; border-bottom-color: var(--accent); }
  .sidebar-card { margin-top: 20px; }
  .pp-content {
    border-left: none;
    padding: 32px 0 60px;
  }
}

@media (max-width: 720px) {
  .hero-inner { flex-direction: column; gap: 52px; padding: 56px 24px; text-align: center; }
  .hero-left { max-width: 100%; }
  .app-badge-row { justify-content: center; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-stats { margin: 0 auto 32px; }
  .btn-gplay { display: flex; justify-content: center; }
  .feats { grid-template-columns: 1fr; }
  .howto-visual { flex-direction: column; }
  .foot-inner { flex-direction: column; gap: 24px; }
  .foot-right { flex-wrap: wrap; gap: 16px; }
  /* PP */
  .pp-meta-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .meta-dot { display: none; }
  .pp-table-row { grid-template-columns: 120px 1fr; }
}

@media (max-width: 480px) {
  .nav-links > a:not(.btn-nav):not([href="privacy-policy.html"]) { display: none; }
  .nav-links { gap: 14px; }
  .howto-visual { display: none; }
  /* PP mobile: stack table, hide TOC */
  .toc { display: none; }
  .pp-table-row { grid-template-columns: 1fr; }
  .pp-table-row > div:first-child {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }
  .contact-key { width: 68px; }
  .pp-lead { font-size: 0.9rem; }
}
