/* ============================================================================
   AVH Studios — Public verification page
   Anyone can confirm a provenance certificate is genuine and match an audio
   file against its SHA-256 fingerprint. No login required.
   ========================================================================== */

.ver-wrap { max-width: 1000px; margin: 0 auto; padding: 30px 22px 80px; }

/* ---- hero ---------------------------------------------------------------- */
.ver-hero {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 26px 30px; margin-bottom: 26px;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(53, 194, 255, .14), transparent 55%),
    radial-gradient(120% 160% at 0% 100%, rgba(53, 255, 158, .12), transparent 55%),
    var(--panel);
}
.ver-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}
.ver-eyebrow {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}
.ver-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-3), var(--accent-2)); animation: verPulse 2.2s ease-in-out infinite; }
@keyframes verPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(53, 255, 158, .45); } 50% { box-shadow: 0 0 0 7px rgba(53, 255, 158, 0); } }
.ver-hero h1 { position: relative; z-index: 1; margin: 0 0 10px; font-size: clamp(1.7rem, 3.8vw, 2.5rem); line-height: 1.1; }
.ver-hero h1 .grad { background: linear-gradient(135deg, var(--accent-3), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ver-lead { position: relative; z-index: 1; margin: 0 auto; max-width: 660px; color: var(--text-dim); font-size: 1rem; line-height: 1.6; }
.ver-lead b { color: var(--text); }

/* ---- panels -------------------------------------------------------------- */
.ver-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .ver-grid { grid-template-columns: 1fr; } }

.ver-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--panel); padding: 22px;
}
.ver-card h2 { margin: 0 0 6px; font-size: 1.1rem; }
.ver-card p { color: var(--text-dim); font-size: .86rem; line-height: 1.55; margin: 0 0 16px; }

.ver-field { display: flex; gap: 9px; flex-wrap: wrap; }
.ver-input {
  flex: 1 1 220px; min-width: 0;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 11px 13px;
  background: var(--panel-2); color: var(--text); font: inherit; font-size: .9rem;
}
.ver-input:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(53, 194, 255, .15); }

.ver-btn {
  display: inline-flex; align-items: center; gap: 7px; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 11px 16px;
  background: var(--panel-2); color: var(--text); cursor: pointer;
  font: inherit; font-weight: 700; font-size: .88rem; white-space: nowrap; transition: .15s ease;
}
.ver-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.ver-btn-accent { border-color: transparent; color: #0b0d11; background: linear-gradient(135deg, var(--accent-3), var(--accent-2)); }
.ver-btn-accent:hover { color: #0b0d11; box-shadow: 0 10px 24px rgba(53, 194, 255, .3); }
.ver-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* drop zone */
.ver-drop {
  border: 1.5px dashed var(--border); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; color: var(--text-dim);
  background: var(--panel-2); cursor: pointer; transition: .15s ease;
}
.ver-drop:hover, .ver-drop.drag { border-color: var(--accent-2); color: var(--text); background: rgba(53, 194, 255, .06); }
.ver-drop .ico { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.ver-drop small { display: block; margin-top: 6px; font-size: .74rem; }
.ver-file { margin-top: 10px; font-size: .82rem; color: var(--text); word-break: break-all; }

/* ---- result -------------------------------------------------------------- */
.ver-result { margin-top: 22px; }
.ver-banner {
  display: flex; align-items: center; gap: 14px; border-radius: var(--radius-lg);
  padding: 18px 20px; border: 1px solid var(--border); background: var(--panel);
}
.ver-banner .ico { font-size: 1.8rem; flex: 0 0 auto; }
.ver-banner h3 { margin: 0 0 3px; font-size: 1.1rem; }
.ver-banner p { margin: 0; color: var(--text-dim); font-size: .86rem; line-height: 1.5; }
.ver-banner.ok { border-color: rgba(53, 255, 158, .4); background: rgba(53, 255, 158, .07); }
.ver-banner.ok h3 { color: var(--accent-3); }
.ver-banner.bad { border-color: rgba(255, 77, 94, .4); background: rgba(255, 77, 94, .07); }
.ver-banner.bad h3 { color: var(--danger); }
.ver-banner.warn { border-color: rgba(255, 107, 53, .4); background: rgba(255, 107, 53, .07); }
.ver-banner.warn h3 { color: var(--accent); }

.ver-record {
  margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--panel); padding: 20px;
}
.ver-record .rec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ver-record .rec-seal { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: linear-gradient(135deg, rgba(53, 255, 158, .18), rgba(53, 194, 255, .18)); border: 1px solid var(--border); }
.ver-record .rec-title { font-size: 1.2rem; font-weight: 800; }
.ver-record .rec-sub { color: var(--text-dim); font-size: .84rem; }
.ver-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.ver-dl dt { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); padding-top: 2px; }
.ver-dl dd { margin: 0; font-size: .88rem; word-break: break-word; }
.ver-dl dd.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }
.ver-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.ver-pill { font-size: .74rem; font-weight: 800; border-radius: 999px; padding: 4px 11px; border: 1px solid var(--border); }
.ver-pill.ok { color: var(--accent-3); background: rgba(53, 255, 158, .1); border-color: rgba(53, 255, 158, .34); }
.ver-pill.bad { color: var(--danger); background: rgba(255, 77, 94, .1); border-color: rgba(255, 77, 94, .34); }
.ver-pill.warn { color: var(--accent); background: rgba(255, 107, 53, .1); border-color: rgba(255, 107, 53, .34); }
.ver-pill.dim { color: var(--text-dim); }
.ver-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.ver-hash { margin-top: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel-2); padding: 10px 12px; }
.ver-hash .lbl { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.ver-hash .val { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; word-break: break-all; }
.ver-hash .val.match { color: var(--accent-3); }
.ver-hash .val.mismatch { color: var(--danger); }

.ver-anchor { margin-top: 10px; border: 1px solid rgba(53, 194, 255, .34); border-radius: var(--radius); background: rgba(53, 194, 255, .06); padding: 10px 12px; }
.ver-anchor .lbl { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.ver-anchor .val { font-size: .82rem; word-break: break-all; }
.ver-anchor .val.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; color: var(--text-dim); }
.ver-anchor a { color: var(--accent-2); }

.ver-empty { text-align: center; color: var(--text-dim); border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 40px 24px; background: var(--panel); line-height: 1.6; }
.ver-spin { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--accent-2); border-radius: 50%; animation: verSpin .7s linear infinite; vertical-align: middle; }
@keyframes verSpin { to { transform: rotate(360deg); } }
