:root{
  --bg-dark: #1f2426;
  --card-bg: #ffffff;
  --muted: #6b7280;
  --accent: #22c55e; /* pop of green */
  --pill: #f3f4f6;
  --shadow: 0 6px 30px rgba(16,24,40,0.15);
  --radius: 18px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{
  background: linear-gradient(180deg,#0f1112 0%, #1a1e1f 48%, #ffffff 49%);
  color:#111827;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Hero */
.hero{
  height:48vh;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  background: linear-gradient(180deg, rgba(10,14,16,0.92) 0%, rgba(25,29,31,0.9) 100%);
  color: #fff;
  padding-top:48px;
  position:relative;
}
.hero-inner{
  width:90%;
  max-width:920px;
  text-align:left;
  margin-left:40px;
}
.logo{width:56px;height:56px;filter:drop-shadow(0 8px 20px rgba(0,0,0,0.5));}
.title{
  font-weight:800;
  font-size:84px;
  margin:6px 0 10px;
  letter-spacing:-1px;
}
.subtitle{
  font-weight:300;
  font-size:24px;
  margin:8px 0 24px;
  opacity:0.95;
}
.down-arrow{
  font-size:36px;
  margin-top:18px;
  opacity:0.85;
  color:var(--pill);
}

/* Card */
.card-wrap{
  display:flex;
  justify-content:center;
  margin-top:-42px; /* overlap hero */
  padding-bottom:80px;
}
.card{position:relative;z-index:50;
  width:92%;
  max-width:560px;
  background:var(--card-bg);
  border-radius:20px;
  padding:28px;
  box-shadow: var(--shadow);
  border:1px solid rgba(15,23,42,0.04);
}
.input{
  display:block;
  width:100%;
  padding:16px 18px;
  margin-bottom:14px;
  border-radius:10px;
  border:1px solid #e6e9ee;
  font-size:16px;
  outline:none;
}
.label{
  display:block;
  font-size:18px;
  margin:14px 0 8px;
  color:#111827;
  font-weight:500;
}
.range-row{margin-bottom:8px}
.range{
  -webkit-appearance:none;
  appearance:none;
  width:100%;
  height:8px;
  border-radius:99px;
  background:linear-gradient(90deg, rgba(34,197,94,0.9) 0%, rgba(156,163,175,0.25) 0%);
  outline:none;
  margin-bottom:6px;
}
.range::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:22px;height:22px;border-radius:50%;
  box-shadow:0 2px 6px rgba(16,24,40,0.2);
  background:var(--accent);
  border:4px solid rgba(255,255,255,0.9);
  margin-top:-7px;
}
.range-values{
  display:flex;
  justify-content:space-between;
  font-size:14px;
  color:var(--muted);
  align-items:center;
  margin-bottom:8px;
}
.range-values strong{color:#111827}

/* Buttons */
.buttons{
  display:flex;
  gap:12px;
  margin-top:12px;
  align-items:center;
}
.btn{
  padding:14px 18px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,0.06);
  cursor:pointer;
  font-weight:600;
  font-size:16px;
}
.btn-primary{
  background:linear-gradient(180deg,#0f1720 0%, #0b0b0b 100%);
  color:#fff;
  flex:1;
  box-shadow: 0 6px 18px rgba(16,24,40,0.15);
}
.btn-ghost{
  background:transparent;
  border:1px solid #e6e9ee;
  color:#111827;
  padding:12px 14px;
  width:160px;
}

/* Footer note */
.footer-note{
  margin-top:18px;
  font-size:14px;
  color:var(--muted);
  text-align:center;
}

/* Responsive */
@media (max-width:640px){
  .title{font-size:48px}
  .hero-inner{margin-left:16px}
  .card{position:relative;z-index:50;padding:18px;border-radius:14px}
  .logo{display:none}
}

/* Modal styles */
.modal.hidden{display:none}
.modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(4,6,8,0.45);z-index:9999}
.modal-panel{background:#fff;padding:22px;border-radius:12px;min-width:280px;max-width:420px;box-shadow:0 10px 40px rgba(2,6,23,0.35);text-align:center}
.modal-panel h3{margin:0 0 8px;font-size:20px}
.modal-panel p.muted{color:#6b7280;margin-bottom:16px}
.modal-panel .pay-options{display:flex;gap:10px;justify-content:center;margin-bottom:12px}
.modal-close{background:transparent;border:none;color:#6b7280;padding:6px 8px;cursor:pointer}




/* If only one button in .buttons, make it full-width and remove right-side bubble space */
.buttons.single { display:block; }
.buttons.single .btn { width:100%; display:block; }

/* Ensure normal .buttons with multiple children use flex */
.buttons.multi { display:flex; gap:12px; }


/* Make the "I've watched the video" button more prominent */
#videoCloseBtn { font-weight:700; letter-spacing:0.2px; }
