/* ═══════════════════════════════════════
   LABX CO — STYLE SYSTEM
   ═══════════════════════════════════════ */

:root {
  --bg-primary:    #0A0A0A;
  --bg-secondary:  #111111;
  --bg-light:      #FFFFFF;
  --text-primary:  #FFFFFF;
  --text-secondary:#A0A0A0;
  --text-dark:     #0A0A0A;
  --accent:        #FF3B00;
  --accent-grad:   linear-gradient(135deg, #FF5722 0%, #FF2A00 100%);
  --accent-glow:   rgba(255, 59, 0, 0.3);
  --wa-green:      #25D366;
  --font-heading:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;
  --radius:        16px;
  --radius-sm:     8px;
  --transition:    all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Section Backgrounds ── */
.section-dark  { background: var(--bg-primary); padding: 8rem 2rem; }
.section-light { background: var(--bg-light);   padding: 8rem 2rem; }

/* ── Typography shared ── */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.section-title {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.subtext {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header .subtext { margin: 0 auto; }

/* ════════════════════════════════
   BUTTONS
════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.25);
  margin-left: 1rem;
}
.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  margin-left: 1rem;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}
.btn-large { padding: 1.25rem 2.75rem; font-size: 1.05rem; }

/* ════════════════════════════════
   NAVBAR
════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 1.25rem 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 1000;
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: #fff;
}
.logo-img {
  height: 54px !important;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .logo-img { height: 36px !important; }
}
.footer-brand .logo-img {
  height: 40px;
  margin-bottom: 0.5rem;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s;
}
.nav-links a:hover { color: #fff; }
.btn-nav-cta {
  padding: 0.6rem 1.35rem;
  background: var(--accent-grad);
  color: #fff !important;
  border-radius: 6px;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: var(--transition) !important;
}
.btn-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px var(--accent-glow); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title-accent { color: var(--accent); }
.hero .subtext {
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
  margin-bottom: 0;
  color: rgba(255,255,255,0.6);
}
.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}
.hero-ctas .btn-secondary { margin-left: 0; }
.hero-visual {
  height: 680px;
  position: relative;
  opacity: 0;
  animation: fadeIn 1.2s 0.5s forwards;
  overflow: hidden;
}
#hero-canvas { width: 100%; height: 100%; display: block; }

/* ════════════════════════════════
   STATS BAR
════════════════════════════════ */
.stats-bar {
  padding: 3.5rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.08);
}

/* ════════════════════════════════
   WHAT WE BUILD — PILLARS
════════════════════════════════ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.pillar-card {
  position: relative;
  padding: 2.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.pillar-card:hover {
  border-color: rgba(255, 59, 0, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,59,0,0.1);
}
.pillar-card--featured {
  border-color: rgba(255, 59, 0, 0.3);
  background: linear-gradient(160deg, rgba(255,59,0,0.08) 0%, var(--bg-secondary) 60%);
}
.pillar-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  background: var(--accent-grad);
  color: #fff;
  border-radius: 100px;
}
.pillar-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,59,0,0.1);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.pillar-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.pillar-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pillar-features li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  padding-left: 1.1rem;
  position: relative;
}
.pillar-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* ════════════════════════════════
   SYSTEMS WE'VE BUILT
════════════════════════════════ */
.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5rem;
  gap: 2rem;
}
.section-header-split .section-title { color: var(--text-dark); }

.systems-list { display: flex; flex-direction: column; gap: 6rem; }

.system-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.system-item--reverse { direction: rtl; }
.system-item--reverse > * { direction: ltr; }

.system-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
  transition: var(--transition);
}
.system-img:hover { transform: scale(1.02); }
.system-img img { width: 100%; height: 100%; object-fit: cover; }

.system-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.system-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.system-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.system-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.system-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.12);
  color: #666;
}
.impact-row { display: flex; flex-direction: column; gap: 0.75rem; }
.impact-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
}
.impact-items { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.impact-item {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  background: rgba(255,59,0,0.07);
  color: var(--accent);
  border-radius: 100px;
  border: 1px solid rgba(255,59,0,0.15);
}

/* ════════════════════════════════
   FRAMEWORK — THE LABX APPROACH
════════════════════════════════ */
.framework-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 2rem;
  margin-top: 1rem;
}
.framework-connector {
  position: absolute;
  top: 3rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(255,59,0,0.1) 100%);
  z-index: 0;
}
.framework-step {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: flex;
  flex-direction: column;
}
.framework-step.visible { opacity: 1; transform: translateY(0); }
.framework-step[data-step="1"] { transition-delay: 0s; }
.framework-step[data-step="2"] { transition-delay: 0.12s; }
.framework-step[data-step="3"] { transition-delay: 0.24s; }
.framework-step[data-step="4"] { transition-delay: 0.36s; }

.framework-step-num {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}
.framework-step-body {
  padding: 1.75rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
  flex: 1;
}
.framework-step:hover .framework-step-body {
  border-color: rgba(255, 59, 0, 0.25);
  background: linear-gradient(160deg, rgba(255,59,0,0.06) 0%, var(--bg-secondary) 80%);
}
.framework-step-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,59,0,0.1);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.framework-step-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.framework-step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.framework-footnote {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.02em;
}

/* ════════════════════════════════
   WHATSAPP SECTION
════════════════════════════════ */
.section-whatsapp {
  background: #060606;
  padding: 8rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.whatsapp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.whatsapp-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.wa-stat { display: flex; flex-direction: column; gap: 0.3rem; }
.wa-stat-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--wa-green);
  letter-spacing: -0.03em;
}
.wa-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* WhatsApp Phone mockup */
.wa-phone {
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  max-width: 380px;
  margin: 0 auto;
}
.wa-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-grad);
  flex-shrink: 0;
}
.wa-name { font-size: 0.95rem; font-weight: 600; color: #fff; }
.wa-status { font-size: 0.75rem; color: var(--wa-green); }
.wa-messages {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #161616;
}
.wa-msg {
  max-width: 82%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.wa-msg p { margin-bottom: 0.25rem; }
.wa-time { font-size: 0.7rem; color: rgba(255,255,255,0.35); }
.wa-msg--in {
  background: #2a2a2a;
  color: rgba(255,255,255,0.85);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.wa-msg--out {
  background: linear-gradient(135deg, #FF5722, #FF2A00);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.wa-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 0.5rem 0 0;
}

/* ════════════════════════════════
   FINAL CTA
════════════════════════════════ */
.final-cta {
  padding: 10rem 2rem;
  background: var(--accent-grad);
  text-align: center;
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.75rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.cta-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.cta-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 3.5rem;
  line-height: 1.75;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.cta-buttons .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cta-buttons .btn-primary:hover { background: #f5f5f5; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.cta-buttons .btn-ghost {
  border-color: rgba(255,255,255,0.75);
  color: #fff;
  margin-left: 0;
}
.cta-buttons .btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  background: #060606;
  padding: 6rem 2rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 10rem);
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: 3rem;
  user-select: none;
  letter-spacing: -0.04em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-tagline {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 260px;
  line-height: 1.65;
}
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.2);
}

/* ════════════════════════════════
   ANIMATIONS
════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInDim {
  from { opacity: 0; }
  to   { opacity: 0.55; }
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .pillars-grid       { grid-template-columns: 1fr 1fr; }
  .framework-steps    { grid-template-columns: repeat(2, 1fr); }
  .framework-connector{ display: none; }
  .system-item        { grid-template-columns: 1fr; gap: 2.5rem; }
  .system-item--reverse { direction: ltr; }
  .whatsapp-grid      { grid-template-columns: 1fr; gap: 4rem; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-dark, .section-light, .section-whatsapp { padding: 5rem 1.5rem; }
  .hero                { padding-top: 80px; padding-bottom: 3rem; align-items: center; }
  .hero-grid          { grid-template-columns: 1fr; text-align: center; gap: 0; position: static; }
  .hero-visual        { position: absolute; inset: 0; height: 100%; width: 100%; order: 0; margin: 0; overflow: hidden; pointer-events: none; animation-name: fadeInDim; }
  .hero-text          { position: relative; z-index: 2; }
  .hero-ctas          { justify-content: center; margin-bottom: 2rem; }
  .subtext            { margin-left: auto; margin-right: auto; }
  .pillars-grid       { grid-template-columns: 1fr; }
  .framework-steps    { grid-template-columns: 1fr 1fr; }
  .section-header-split { flex-direction: column; }
  .stats-grid         { gap: 1.5rem; }
  .stat-divider       { display: none; }
  .nav-links          { display: none; }
  .hamburger          { display: flex; }
  .footer-grid        { grid-template-columns: 1fr; }
  .beta-partnership-grid { grid-template-columns: 1fr !important; gap: 3rem !important; }
}

@media (max-width: 480px) {
  .hero-title         { font-size: 3rem; }
  .framework-steps    { grid-template-columns: 1fr; }
  .final-cta          { padding: 6rem 1.5rem; }
}

/* ════════════════════════════════
   GAME SECTION
════════════════════════════════ */
.game-wrapper {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,59,0,0.18), 0 30px 80px rgba(0,0,0,0.5);
  background: #050505;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
#gameCanvas {
  display: block;
  width: 100%;
  height: 480px;
  background: #050505;
  cursor: none;
}
/* HUD */
.game-hud {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: rgba(5,5,5,0.9);
  border-bottom: 1px solid rgba(255,59,0,0.15);
  pointer-events: none;
  z-index: 5;
}
.game-hud-score {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}
.game-hud-score span {
  color: var(--accent);
  font-size: 1.1rem;
  margin-left: 0.4rem;
}
.game-hud-timer {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.game-hud-timer.urgent { color: #FF3B00; }
/* Overlays */
.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,5,5,0.88);
  backdrop-filter: blur(4px);
  z-index: 20;
  touch-action: auto;
}
.game-overlay-box {
  text-align: center;
  padding: 2.5rem 2.5rem;
  max-width: 380px;
  width: 90%;
}
.game-overlay-box h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.game-overlay-box p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}
.game-overlay-box p strong { color: rgba(255,255,255,0.85); }
.game-pixel-ship {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  animation: floatShip 2s ease-in-out infinite;
}
@keyframes floatShip {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.game-controls-hint {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
/* Lead form */
.game-lead-box { max-width: 420px; }
.game-email-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s;
}
.game-email-input:focus { border-color: var(--accent); }
.game-email-input::placeholder { color: rgba(255,255,255,0.25); }
/* Bottom hint */
.game-hint-text {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.2);
  margin-top: 1.25rem;
  letter-spacing: 0.03em;
}
@media (max-width: 600px) {
  #gameCanvas { height: 380px; }
}

