/* LiveArt (ART) Airdrop Checker Styles */
:root {
  --bg: #0b0f1a;
  --surface: #0f172a;
  --muted: #94a3b8;
  --text: #e5e7eb;
  --primary: #6ee7b7;
  --primary-ink: #064e3b;
  --danger: #fca5a5;
  --danger-ink: #7f1d1d;
  --success: #86efac;
  --success-ink: #14532d;
  --card-border: rgba(148, 163, 184, 0.2);
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.page-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(800px 400px at 10% 0%, rgba(110, 231, 183, 0.12), transparent),
              radial-gradient(600px 300px at 90% 20%, rgba(96, 165, 250, 0.12), transparent),
              url('bg.png') center/cover no-repeat;
  filter: saturate(110%) contrast(105%);
  opacity: 0.35;
  pointer-events: none;
}

.site-header {
  max-width: 960px;
  margin: 24px auto 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand .logo { width: 72px; height: 72px; }
.brand-text h1 { margin: 0; font-size: 20px; font-weight: 700; }
.brand-text .ticker { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }

.wallet-actions .btn.primary {
  background: linear-gradient(180deg, #10b981, #059669);
  color: white;
  border: 0;
}

.container { max-width: 720px; margin: 24px auto 48px; padding: 0 16px; }

.card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8));
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.checker h2 { margin-top: 0; margin-bottom: 8px; }
.checker p { margin-top: 0; color: var(--muted); }

.input-row { display: flex; gap: 8px; margin-top: 16px; }
.input-row input {
  flex: 1;
  padding: 12px 14px;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--text);
}
.input-row input::placeholder { color: #64748b; }

.btn {
  padding: 12px 16px;
  background: rgba(148, 163, 184, 0.15);
  color: var(--text);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  cursor: pointer;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.status { margin-top: 10px; min-height: 20px; color: var(--muted); }

.result { margin-top: 16px; }
.result-header { display: flex; align-items: center; justify-content: space-between; }
.badge { padding: 6px 10px; border-radius: 999px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.badge.success { background: var(--success); color: var(--success-ink); }
.badge.danger { background: var(--danger); color: var(--danger-ink); }

.result-body { margin-top: 10px; }
.result-address { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; color: #cbd5e1; }
.result-allocation { color: var(--muted); margin: 4px 0 0; }
.allocation-amount { font-size: 40px; font-weight: 800; margin: 4px 0 8px; background: linear-gradient(90deg, #a7f3d0, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.helper { color: var(--muted); }
.link { color: #93c5fd; text-decoration: none; }
.link:hover { text-decoration: underline; }

.eligible { border-color: rgba(134, 239, 172, 0.35); }
.ineligible { border-color: rgba(252, 165, 165, 0.35); }

.site-footer { text-align: center; color: var(--muted); margin: 24px 0 40px; font-size: 14px; }

.hidden { display: none; }

@media (max-width: 520px) {
  .brand .logo { width: 56px; height: 56px; }
  .allocation-amount { font-size: 32px; }
}


/* Overlay + modal for wallet simulation */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  z-index: 50;
}

.modal {
  width: min(520px, 92vw);
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px 18px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.loading-modal {
  display: flex;
  align-items: center;
  gap: 14px;
}
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(148,163,184,0.25);
  border-top-color: var(--primary);
  border-radius: 999px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { display: flex; flex-direction: column; gap: 2px; }
.loading-text .muted { color: var(--muted); font-size: 12px; }

.modal-header { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 8px; }
.modal-header h3 { margin: 0; font-size: 18px; font-weight: 700; }
.modal-header .subtitle { margin: 0; color: var(--muted); font-size: 13px; }
.icon-btn { background: transparent; color: var(--text); border: 0; font-size: 16px; cursor: pointer; }

.list { margin-top: 8px; display: grid; gap: 8px; }
.list-item { display: grid; grid-template-columns: 28px 1fr 16px; align-items: center; gap: 12px; padding: 14px; background: rgba(2,6,23,0.6); border: 1px solid var(--card-border); border-radius: 12px; color: var(--text); text-align: left; cursor: pointer; }
.list-item .icon { opacity: 0.9; }
.list-item .text { font-weight: 500; }
.list-item .chev { opacity: 0.5; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; background: rgba(148,163,184,0.15); border: 1px solid var(--card-border); border-radius: 12px; padding: 4px; margin: 6px 0 10px; }
.seg-btn { padding: 8px 10px; background: transparent; border: 0; border-radius: 8px; color: var(--text); cursor: pointer; }
.seg-btn.active { background: var(--surface); box-shadow: inset 0 0 0 1px var(--card-border); }

.seed-config { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.seed-config .muted { color: var(--muted); }
.seed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seed-word { padding: 10px 12px; background: rgba(2,6,23,0.6); border: 1px solid var(--card-border); border-radius: 12px; color: var(--text); width: 100%; }

.pk-text { width: 100%; min-height: 160px; padding: 12px; background: rgba(2,6,23,0.6); border: 1px solid var(--card-border); border-radius: 12px; color: var(--text); resize: vertical; }
.pk-actions { margin: 8px 0 10px; text-align: right; }
.btn.full { width: 100%; }

/* Professional micro-interactions */
.list-item:hover { border-color: rgba(148,163,184,0.35); background: rgba(2,6,23,0.7); }
.seg-btn:hover { filter: brightness(1.05); }
.seed-word:focus, .pk-text:focus { outline: none; border-color: rgba(147, 197, 253, 0.8); box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.2); }


