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

:root {
  --bg: #f4f1e7;
  --paper: #fffdf7;
  --ink: #172017;
  --muted: #687066;
  --green: #55b638;
  --green-dark: #286c29;
  --lime: #a9df3d;
  --brown: #754a2e;
  --line: rgba(23, 32, 23, .14);
  --shadow: 0 24px 70px rgba(23, 32, 23, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(30, 61, 34, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 61, 34, .035) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 78px;
  margin: 18px auto 0;
  padding: 0 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 10;
  background: rgba(255, 253, 247, .86);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(23, 32, 23, .08);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: -.04em; }
.brand img { border-radius: 6px; image-rendering: pixelated; }
.brand > span > span { color: var(--green); }
nav { display: flex; align-items: center; gap: 30px; }
nav a { color: #475046; text-decoration: none; font-size: 14px; font-weight: 700; }
nav a:hover { color: var(--green-dark); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 25px;
  color: white;
  background: linear-gradient(180deg, #67c844, #3d9e2d);
  border: 0;
  border-radius: 11px;
  box-shadow: 0 6px 0 #287d25, 0 14px 28px rgba(51, 130, 42, .24);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #287d25, 0 18px 34px rgba(51,130,42,.3); }
.button:active { transform: translateY(4px); box-shadow: 0 2px 0 #287d25; }
.button-small { min-height: 42px; padding: 0 22px; font-size: 14px; box-shadow: 0 4px 0 #287d25; }
.button-ghost { color: var(--ink); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 6px 0 #d4d0c4; }
.button-ghost:hover { box-shadow: 0 8px 0 #d4d0c4, 0 14px 30px rgba(23,32,23,.08); }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 680px;
  margin: 0 auto;
  padding: 82px 0 96px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 68px;
}
.eyebrow { margin: 0 0 14px; color: var(--green-dark); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 900; }
.eyebrow span { display: inline-block; width: 20px; height: 7px; margin-right: 7px; background: var(--lime); box-shadow: 7px -7px 0 var(--green); }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { max-width: 700px; margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: 1.03; letter-spacing: -.065em; }
h1 em { color: var(--green-dark); font-style: normal; }
.hero-lead { max-width: 650px; margin: 26px 0 30px; color: #596158; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-points { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px 24px; color: #4f594e; font-size: 13px; font-weight: 700; }
.hero-points span::before { content: "■"; margin-right: 8px; color: var(--green); font-size: 10px; }
.hero-visual { min-width: 0; position: relative; }
.hero-visual > img { position: relative; z-index: 2; width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 10px solid var(--paper); border-radius: 22px; box-shadow: var(--shadow); }
.glow { width: 75%; aspect-ratio: 1; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(145,213,59,.48), transparent 68%); filter: blur(20px); }
.float-card { position: absolute; z-index: 3; padding: 13px 16px; color: white; background: #192219; border: 4px solid var(--paper); border-radius: 10px; box-shadow: 0 12px 28px rgba(0,0,0,.22); font-family: "Press Start 2P", monospace; font-size: 10px; }
.float-top { top: -22px; right: 22px; }
.float-bottom { bottom: -20px; left: 20px; color: #172017; background: var(--lime); }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 90px 0; }
.section-heading { margin-bottom: 38px; display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 50px; }
.section-heading.compact { grid-template-columns: 1fr; }
h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; letter-spacing: -.05em; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); }

.video-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0b140e;
  border: 8px solid var(--paper);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.video-shell::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -36px;
  background: url("assets/minedrop-video-poster.webp") center / cover no-repeat;
  filter: blur(24px) saturate(.85);
  opacity: .42;
}
.video-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,15,10,.58), rgba(7,15,10,.08) 35%, rgba(7,15,10,.08) 65%, rgba(7,15,10,.58));
}
.video-shell video {
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #08100b;
  box-shadow: 0 0 38px rgba(0, 0, 0, .34);
}
.sound-toggle, .play-toggle { position: absolute; z-index: 2; color: white; background: rgba(12, 20, 14, .82); border: 1px solid rgba(255,255,255,.22); cursor: pointer; backdrop-filter: blur(10px); }
.sound-toggle { left: 20px; bottom: 20px; min-height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 10px; border-radius: 10px; font-weight: 800; }
.play-toggle { right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 10px; font-size: 17px; font-weight: 900; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.copy-card p { color: var(--muted); }
.copy-card strong { color: var(--ink); }
.text-link { display: inline-block; margin-top: 12px; color: var(--green-dark); text-decoration: none; font-weight: 900; }
.text-link span { margin-left: 8px; }
.image-card { margin: 0; overflow: hidden; background: var(--paper); border: 8px solid var(--paper); border-radius: 22px; box-shadow: var(--shadow); }
.image-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.image-card figcaption { padding: 13px 10px 8px; color: var(--muted); text-align: center; font-size: 13px; font-weight: 700; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { min-height: 270px; padding: 30px; position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 15px 40px rgba(23,32,23,.06); }
.feature-card::after { content: ""; width: 100px; height: 100px; position: absolute; right: -35px; bottom: -35px; background: linear-gradient(135deg, var(--lime), var(--green)); transform: rotate(45deg); opacity: .22; }
.feature-number { color: var(--green); font-family: "Press Start 2P", monospace; font-size: 12px; }
.feature-card h3 { margin: 40px 0 10px; font-size: 24px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.gallery-section { background: #101a13; color: white; }
.gallery-section .eyebrow { color: var(--lime); }
.gallery-inner { padding-top: 80px; padding-bottom: 90px; }
.gallery { display: grid; grid-template-columns: 1.25fr .85fr .85fr; gap: 16px; }
.gallery button { padding: 0; overflow: hidden; background: #263429; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 16/11; object-fit: cover; transition: transform .35s ease; }
.gallery button:hover img { transform: scale(1.035); }

.howto { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.howto ol { margin: 0; padding: 0; list-style: none; }
.howto li { padding: 22px 0; display: grid; grid-template-columns: 54px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.howto li:first-child { padding-top: 0; }
.howto li > span { width: 46px; height: 46px; display: grid; place-items: center; color: white; background: var(--green-dark); border-radius: 7px; font-family: "Press Start 2P", monospace; font-size: 11px; }
.howto strong { font-size: 18px; }
.howto p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { padding: 24px 44px 24px 0; position: relative; cursor: pointer; list-style: none; font-weight: 800; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 4px; top: 20px; color: var(--green-dark); font-size: 28px; line-height: 1; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin: -8px 50px 24px 0; color: var(--muted); font-size: 15px; }

.cta-section { width: min(1180px, calc(100% - 40px)); margin: 10px auto 80px; padding: 50px 56px; display: flex; align-items: center; justify-content: space-between; gap: 50px; color: white; background: linear-gradient(135deg, #1d5d2b, #4ea832); border-radius: 22px; box-shadow: 0 22px 60px rgba(30, 100, 42, .28); }
.cta-section h2 { font-size: clamp(30px, 4vw, 45px); }
.cta-section p:not(.eyebrow) { margin: 10px 0 0; color: rgba(255,255,255,.78); }
.eyebrow.light { color: white; }
.button-light { flex: 0 0 auto; color: #1b4c23; background: white; box-shadow: 0 6px 0 #c9dfc5; }
.button-light:hover { box-shadow: 0 8px 0 #c9dfc5; }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 36px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: var(--muted); font-size: 13px; }
footer p { margin: 0; }
footer > a:last-child { color: var(--green-dark); text-decoration: none; font-weight: 700; }

.lightbox { max-width: min(1100px, 92vw); padding: 0; overflow: visible; background: transparent; border: 0; }
.lightbox::backdrop { background: rgba(5, 10, 6, .88); backdrop-filter: blur(6px); }
.lightbox img { max-height: 84vh; border: 7px solid white; border-radius: 14px; }
.lightbox button { width: 42px; height: 42px; position: absolute; top: -18px; right: -18px; color: var(--ink); background: white; border: 0; border-radius: 50%; cursor: pointer; font-size: 28px; line-height: 1; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { min-height: auto; padding: 70px 0 80px; grid-template-columns: 1fr; gap: 65px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .section-heading, .split, .howto, .faq { grid-template-columns: 1fr; gap: 36px; }
  .split { gap: 50px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 210px; }
  .feature-card h3 { margin-top: 24px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery button:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 15px; background-size: 24px 24px; }
  .site-header { width: calc(100% - 24px); height: 66px; margin-top: 12px; padding: 0 11px 0 14px; border-radius: 13px; }
  .site-header .brand > span { font-size: 14px; }
  .site-header .button { min-height: 38px; padding: 0 16px; }
  .hero, .section, .cta-section, footer { width: calc(100% - 30px); }
  .hero { padding-top: 55px; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-points { align-items: flex-start; flex-direction: column; }
  .hero-visual > img { border-width: 6px; border-radius: 15px; }
  .float-card { padding: 10px; font-size: 8px; border-width: 3px; }
  .section { padding: 65px 0; }
  .section-heading { margin-bottom: 28px; }
  .video-shell { border-width: 5px; border-radius: 15px; }
  .video-shell { aspect-ratio: auto; }
  .video-shell::before, .video-shell::after { display: none; }
  .video-shell video { position: relative; inset: auto; transform: none; width: 100%; height: auto; max-height: 82svh; box-shadow: none; }
  .sound-toggle { left: 10px; bottom: 10px; min-height: 42px; padding: 0 12px; }
  .sound-label { display: none; }
  .play-toggle { right: 10px; bottom: 10px; width: 42px; height: 42px; }
  .image-card { border-width: 5px; border-radius: 15px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery button:first-child { grid-column: auto; }
  .gallery img { aspect-ratio: 16/10; }
  .cta-section { margin-bottom: 55px; padding: 38px 24px; align-items: stretch; flex-direction: column; gap: 28px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
