/* public.css — Monevia.vip public landing page styles
   Designer: feel free to modify everything in this file.
   Do NOT touch: public/index.html script logic, any worker or dashboard files. */

:root {
  --bg:       #0a0a0f;
  --surface:  #12121a;
  --border:   #1e1e2e;
  --accent:   #7c5cfc;
  --accent-h: #a080ff;
  --text:     #e8e8f0;
  --text-dim: #6a6a8a;
  --gold:     #d4a847;
  --radius:   14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Age Gate ── */
#age-gate {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

.gate-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.gate-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--accent);
  margin-bottom: 6px;
}

.gate-icon {
  font-size: 48px;
  margin: 20px 0 16px;
}

.gate-box h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.gate-box p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 28px;
  line-height: 1.7;
}

.gate-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
}

.gate-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-dim);
  transition: color .15s;
}

.gate-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.gate-check:has(input:checked) { color: var(--text); }

.gate-actions {
  display: flex;
  gap: 12px;
}

.btn-enter {
  flex: 1;
  padding: 13px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
}

.btn-enter:hover:not(:disabled) { opacity: .88; transform: translateY(-1px); }
.btn-enter:disabled { opacity: .4; cursor: not-allowed; }

.btn-under {
  flex: 1;
  padding: 13px;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}

.btn-under:hover { border-color: var(--text-dim); color: var(--text); }

.gate-legal {
  margin-top: 20px;
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Landing Page ── */
#landing {
  display: none; /* shown by JS after gate passes */
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: opacity .15s !important;
}

.nav-cta:hover { opacity: .85; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(124, 92, 252, .12);
  color: var(--accent-h);
  border: 1px solid rgba(124, 92, 252, .3);
  border-radius: 99px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
}

.btn-primary-lg:hover { opacity: .85; transform: translateY(-2px); }

.btn-outline-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s, transform .1s;
}

.btn-outline-lg:hover { border-color: var(--accent-h); transform: translateY(-2px); }

/* ── Features ── */
.features {
  padding: 60px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .15s;
}

.feature-card:hover { border-color: var(--accent); }

.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 60px 24px 100px;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a { color: var(--text-dim); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav-bar { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  .gate-box { padding: 36px 24px; }
  .gate-actions { flex-direction: column; }
  .site-footer { flex-direction: column; text-align: center; }
}
