@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0A0D12;
  --surface: #12161D;
  --surface-raised: #171C25;
  --border: #232A36;
  --text: #ECEFF3;
  --text-muted: #8A93A3;
  --amber: #F5B93D;
  --amber-dim: #7A5D1E;
  --mint: #3ED598;
  --danger: #E8604C;
  --radius: 10px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Nav */
nav.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--amber), #C98E1E);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #17120a;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.navlinks {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--text-muted);
}

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

.navcta { display: flex; gap: 12px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary { background: var(--amber); color: #17120a; }
.btn-primary:hover { background: #ffc857; }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-muted); }

.btn-full { width: 100%; justify-content: center; }

/* Hero */
.hero {
  padding: 96px 32px 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: 52px;
  line-height: 1.08;
  margin: 20px 0 20px;
  font-weight: 700;
}

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

.hero p.lede {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 32px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--amber);
}

.hero-actions { display: flex; gap: 14px; }

/* Widget card */
.widget-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.ring {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--surface-raised);
  border: 3px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--amber);
}

.widget-card h3 { font-family: var(--font-head); margin: 0 0 8px; }
.widget-card p { color: var(--text-muted); font-size: 14px; margin: 0 0 20px; }

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 13.5px;
}

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); display: inline-block; margin-right: 6px; }

/* Section */
.section { padding: 64px 32px; border-top: 1px solid var(--border); }
.section h2 { font-family: var(--font-head); font-size: 30px; margin: 0 0 8px; }
.section .sub { color: var(--text-muted); margin: 0 0 40px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surface-raised);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 16px;
}

.card h4 { font-family: var(--font-head); margin: 0 0 8px; }
.card p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* Table */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--text-muted); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 12.5px; }
td { padding: 14px 12px; border-bottom: 1px solid var(--border); }
.amt { color: var(--mint); font-weight: 600; }
.method-tag { background: var(--surface-raised); border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; font-size: 12.5px; }
.time-cell { color: var(--text-muted); text-align: right; }

/* Auth forms */
.auth-shell {
  max-width: 400px;
  margin: 90px auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}
.auth-shell h2 { font-family: var(--font-head); margin: 0 0 6px; }
.auth-shell p.sub { color: var(--text-muted); font-size: 14px; margin: 0 0 26px; }

label { display: block; font-size: 13.5px; margin: 0 0 6px; color: var(--text-muted); }
input {
  width: 100%;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  margin-bottom: 18px;
}
input:focus { outline: 2px solid var(--amber); outline-offset: 1px; }

.form-msg { font-size: 13.5px; margin-top: 14px; min-height: 18px; }
.form-msg.error { color: var(--danger); }
.form-msg.ok { color: var(--mint); }

.switch-line { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.switch-line a { color: var(--amber); font-weight: 600; }

/* Claim page */
.claim-shell { max-width: 480px; margin: 70px auto; text-align: center; }
.balance-figure { font-family: var(--font-head); font-size: 48px; margin: 6px 0 2px; }
.balance-label { color: var(--text-muted); font-size: 14px; }

.claim-btn {
  width: 100%;
  padding: 18px;
  font-size: 17px;
  border-radius: 14px;
  margin-top: 28px;
}
.claim-btn:disabled { background: var(--surface-raised); color: var(--text-muted); cursor: not-allowed; }

footer { border-top: 1px solid var(--border); padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 13.5px; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 4px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--text-muted);
  font-size: 20px;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-answer { padding: 0 4px 22px; color: var(--text-muted); font-size: 14.5px; max-width: 640px; }

/* Offerwall page */
.offerwall-frame-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px;
  min-height: 420px;
}
.offerwall-placeholder {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  padding: 40px;
  font-size: 14.5px;
}
.offerwall-placeholder code {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--amber);
  font-size: 13px;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .grid-3 { grid-template-columns: 1fr; }
  .navlinks { display: none; }
  .hero h1 { font-size: 38px; }
}
