@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Unbounded:wght@400;500;600;700&display=swap');

*{ box-sizing:border-box; margin:0; padding:0; }
html, body{ height:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
img{ max-width:100%; display:block; }

:root{
  --bg: #0b0f12;
  --ink: #ffffff;
  --muted: rgba(255,255,255,0.75);
  --card: rgba(18,21,25,0.62);
  --border: rgba(255,255,255,0.14);

  --green-a: #58c464;
  --green-b: #2d7b24;
  --blue-a: #2fa8e8;
  --blue-b: #1a79a9;

  --radius: 16px;
  --nav-h: 88px;
  --content-max: 900px;
}

body{
  background: var(--bg);
  color: var(--ink);
  font-family: 'Unbounded', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  position: relative;
}

/* mine-cave photo background, darkened for text legibility */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(5,8,10,0.45), rgba(5,8,10,0.62) 45%, rgba(5,8,10,0.8)),
    url('images/bg-photo.jpg') center 35%/cover no-repeat;
}
html::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 75% 6%, rgba(88,196,100,0.16), transparent 55%),
    radial-gradient(700px 420px at 10% 18%, rgba(255,200,60,0.08), transparent 60%),
    radial-gradient(1000px 600px at 50% 100%, rgba(47,168,232,0.10), transparent 60%);
}
body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 40px 40px;
}

.mc{
  font-family: 'Press Start 2P', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wrap{
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 64px 20px;
}
.text{ max-width: 720px; margin: 0 auto; }
.center{ text-align: center; }
.muted{ color: var(--muted); }

section{ scroll-margin-top: calc(var(--nav-h) + 16px); }

/* NAV */
.nav{
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 16px;
}
.nav-inner{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
  padding: 10px 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-icon{
  width: 36px; height: 36px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.brand-icon img{ width: 100%; height: 100%; object-fit: cover; }
.brand-text{ display:flex; flex-direction:column; line-height:1.3; }
.brand .name{ font-size: 11px; }
.brand .sub{ font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }

.nav-links{ display:flex; gap:8px; flex-wrap:wrap; }
.nav-links a{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
}
.nav-links a:hover{ background: rgba(255,255,255,0.12); }

.nav-cta{ display:flex; gap:10px; }

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 18px;
  line-height: 1;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: transform .08s ease, filter .15s ease;
  box-sizing: border-box;
}
.btn:hover{ filter: brightness(1.08); }
.btn:active{ transform: scale(0.97); }
.btn.play{ background: linear-gradient(var(--green-a), var(--green-b)); }
.btn.tg{ background: linear-gradient(var(--blue-a), var(--blue-b)); }
.btn.lg{ height: 50px; padding: 0 26px; font-size: 14px; }

.cta-row{ display:flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.cta-row.center{ justify-content: center; }

/* HERO */
.hero{ padding-top: 72px; }
.hero h1{ font-size: clamp(28px, 6vw, 44px); margin-bottom: 14px; text-shadow: 0 4px 0 rgba(0,0,0,0.5); }
.hero-sub{ font-size: clamp(13px, 2vw, 16px); color: var(--muted); margin-bottom: 24px; }

.badges{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-bottom: 22px; }
.badge{
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
}

.lead{ color: var(--muted); }

/* DEMO */
.demo h2{ font-size: 20px; margin-bottom: 6px; }
.demo-box{
  max-width: 320px;
  margin: 28px auto 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 12px;
}
.demo-video{
  width: 100%;
  display: block;
  border-radius: 12px;
  background: #000;
}

/* FEATURES */
.features h2{ font-size: 20px; margin-bottom: 6px; }
.feature-list{
  max-width: 560px;
  margin: 28px auto 0;
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.feature-list li{
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 14px;
}

/* FAQ */
.faq h2{ font-size: 20px; margin-bottom: 24px; }
.faq-list{ max-width: 640px; margin: 0 auto; display:flex; flex-direction:column; gap: 10px; }
.faq-item{
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.34);
  overflow: hidden;
}
.faq-q{
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 16px 18px;
  cursor: pointer;
  display:flex;
  justify-content: space-between;
  align-items:center;
}
.faq-q::after{ content: "+"; font-size: 18px; color: var(--muted); }
.faq-item.open .faq-q::after{ content: "–"; }
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .2s ease;
  padding: 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.faq-item.open .faq-a{ max-height: 200px; padding: 0 18px 16px; }

/* ABOUT */
.about h2{ font-size: 20px; margin-bottom: 24px; }
.about .text p{ margin-bottom: 14px; color: var(--muted); font-size: 14px; }

.cta-banner{
  margin-top: 40px;
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}
.cta-banner-icon{ margin: 0 auto 14px; width: 64px; height: 64px; }
.cta-banner-icon img{ width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.cta-banner h3{ font-size: 16px; margin-bottom: 8px; }
.cta-banner p{ margin-bottom: 20px; }

/* FOOTER */
.footer{
  text-align: center;
  padding: 32px 20px 48px;
  font-size: 12px;
  color: var(--muted);
}
.footer-warn{ margin-bottom: 6px; }

/* POPUP */
.popup-backdrop{
  position: fixed;
  inset: 0;
  z-index: 290;
  background: rgba(4,6,8,0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease;
}
.popup-backdrop.show{ opacity: 1; visibility: visible; }

.popup{
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 300;
  width: min(90vw, 340px);
  text-align: center;
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #171b1f;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s cubic-bezier(.2,.8,.2,1), transform .45s cubic-bezier(.2,.8,.2,1), visibility .45s;
}
.popup.show{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.popup-close{
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  cursor: pointer;
}
.popup-icon{ font-size: 30px; margin-bottom: 8px; }
.popup h3{ font-size: 15px; margin-bottom: 6px; }
.popup p{ margin-bottom: 18px; font-size: 13px; }

@media (max-width: 640px){
  .nav-inner{ justify-content: center; }
  .nav-cta{ width: 100%; justify-content: center; }
}
