/* Crypto faucet (/faucet). Reuses the landing.css tokens (--grn, --ink, --bd,
   --soft, --grn-tint) and the .dark ancestor convention. */

.fct-wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 28px; position: relative; z-index: 1; }

.fct-head { text-align: center; margin-bottom: 22px; }
.fct-pill { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(8,160,90,.3); color: var(--grn); background: rgba(8,160,90,.1); }
.fct-h1 { font-size: 40px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin: 16px 0 0; color: var(--ink); }
.fct-sub { margin: 14px auto 0; max-width: 540px; font-size: 16px; line-height: 1.6; color: #475569; }
.dark .fct-sub { color: #cbd5e1; }
.fct-sub a { color: var(--grn); text-decoration: none; }
.fct-sub a:hover { text-decoration: underline; }

.fct-card { border: 1px solid var(--bd); background: #fff; border-radius: 20px; padding: 26px; box-shadow: 0 18px 50px -30px rgba(10,14,26,.25); }
.dark .fct-card { background: var(--soft); }
.fct-center { text-align: center; }
.fct-card h2 { font-size: 22px; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.fct-card h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.fct-muted { color: #64748b; line-height: 1.6; font-size: 14.5px; }
.dark .fct-muted { color: #94a3b8; }
.fct-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--ink); }
.fct-emoji { font-size: 46px; line-height: 1; margin-bottom: 6px; }

/* Ad slots (admin-managed HTML) */
.fct-ad { margin: 0 0 18px; text-align: center; min-height: 10px; overflow: hidden; }
.fct-ad-wait { margin: 20px 0; }

/* Form */
.fct-form { display: block; }
.fct-label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin: 18px 0 8px; }
.fct-label:first-of-type { margin-top: 0; }
.fct-coins { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 10px; }
.fct-coin { position: relative; cursor: pointer; }
.fct-coin input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.fct-coin-box { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 8px; border: 1.5px solid var(--bd); border-radius: 14px; transition: border-color .15s, background .15s; }
.fct-coin-sym { font-weight: 800; font-size: 15px; color: var(--ink); }
.fct-coin-name { font-size: 12px; color: #64748b; }
.dark .fct-coin-name { color: #94a3b8; }
.fct-coin input:checked + .fct-coin-box { border-color: var(--grn); background: var(--grn-tint); }
.fct-coin input:focus-visible + .fct-coin-box { outline: 2px solid var(--grn); outline-offset: 2px; }

.fct-input { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1.5px solid var(--bd); border-radius: 12px; background: #fff; color: var(--ink); font-size: 14.5px; font-family: inherit; }
.dark .fct-input { background: rgba(255,255,255,.03); }
.fct-input:focus { outline: none; border-color: var(--grn); }
.fct-captcha { margin: 18px 0; min-height: 65px; }

.fct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box; padding: 14px 20px; border: 0; border-radius: 13px; font-size: 15px; font-weight: 700; color: #fff; background: var(--grn); cursor: pointer; text-decoration: none; transition: background .15s, opacity .15s; }
.fct-btn:hover { background: var(--grn-600); }
.fct-btn:disabled { opacity: .5; cursor: not-allowed; }
.fct-btn-ghost { background: transparent; color: var(--grn); border: 1.5px solid var(--bd); margin-top: 14px; }
.fct-btn-ghost:hover { background: transparent; border-color: var(--grn); }

.fct-fine { margin: 12px 0 0; font-size: 12.5px; line-height: 1.55; color: #94a3b8; text-align: center; }
.fct-fine strong { color: var(--grn); }

.fct-alert { border: 1px solid rgba(220,38,38,.35); background: rgba(220,38,38,.07); color: #b91c1c; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; }
.dark .fct-alert { color: #fca5a5; }

/* Honeypot */
.fct-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Waiting page timer */
.fct-timer { width: 120px; height: 120px; margin: 18px auto; border-radius: 50%; display: grid; place-items: center; font-size: 42px; font-weight: 800; color: var(--grn); background: var(--grn-tint); border: 3px solid var(--grn); font-variant-numeric: tabular-nums; }
.fct-timer.ready { font-size: 22px; }

/* Done page */
.fct-amount { font-size: 30px; font-weight: 800; color: var(--grn); margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.fct-bonus { font-size: 14px; font-weight: 600; color: var(--grn); margin: 8px 0 0; }

/* Referral box */
.fct-ref { margin: 22px 0 4px; padding: 16px; border-radius: 14px; background: var(--grn-tint); text-align: left; }
.dark .fct-ref { background: rgba(8,160,90,.08); }
.fct-ref-label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.fct-ref-row, .fct-ref-out { display: flex; gap: 8px; margin-top: 8px; }
.fct-ref-row input, .fct-ref-out input { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--bd); border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.dark .fct-ref-row input, .dark .fct-ref-out input { background: rgba(255,255,255,.04); }
.fct-copy { flex: 0 0 auto; padding: 10px 16px; border: 0; border-radius: 10px; background: var(--grn); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.fct-copy:hover { background: var(--grn-600); }

/* Secondary cards */
.fct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.fct-mini { padding: 20px; }
.fct-steps { margin: 6px 0 0; padding-left: 18px; color: #475569; font-size: 14px; line-height: 1.7; }
.dark .fct-steps { color: #cbd5e1; }
.fct-steps strong { color: var(--ink); }

.fct-disclaimer { margin: 24px auto 0; max-width: 600px; text-align: center; font-size: 12px; line-height: 1.6; color: #94a3b8; }
.fct-disclaimer a { color: #94a3b8; text-decoration: underline; }

@media (max-width: 640px) {
    .fct-h1 { font-size: 32px; }
    .fct-grid { grid-template-columns: 1fr; }
    .fct-wrap { padding-top: 28px; }
}
