/* ============================================================
   Gimme Giveaways — Verify a Win page styles
   Extends styles.css + site-pages.css.
   ============================================================ */

/* ===== The checker ===== */
.vt {
  max-width: 880px;
}
.vt-head { margin-bottom: 28px; }
.vt-head .marker {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.vt-head .marker::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}
.vt-head h2 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.vt-head h2 em { font-style: italic; font-weight: 400; color: var(--gold); }
.vt-head p {
  margin-top: 18px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 560px;
}
.vt-head .ex {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold-ink);
  border-bottom: 1px solid var(--gold-line);
  cursor: pointer;
  padding-bottom: 1px;
  transition: color .2s ease;
}
.vt-head .ex:hover { color: var(--gold-deep); }

/* Input row */
.vt-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: stretch;
  border-top: var(--rule);
  border-bottom: var(--rule);
  padding: 22px 0;
}
.vt-field {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border: 1px solid var(--hairline-strong);
  padding: 0 22px;
  background: var(--bg);
  transition: border-color .2s ease;
}
.vt-field:focus-within { border-color: var(--gold-ink); }
.vt-field .hash {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
}
.vt-field input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--f-serif);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  width: 100%;
  font-variant-numeric: tabular-nums;
  padding: 14px 0;
}
.vt-field input::placeholder { color: var(--surface-2); }
.vt-form .btn { padding-left: 34px; padding-right: 34px; }

/* Result */
.vt-result {
  margin-top: 28px;
  border: 1px solid var(--ink);
  animation: vrIn .35s ease;
}
@keyframes vrIn {
  from { transform: translateY(10px); }
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .vt-result { animation: none; } }

.vt-result.winner { border-color: var(--gold-ink); }

.vr-flag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-gold);
  background: var(--gold);
  border-bottom: 1px solid var(--gold-ink);
}
.vr-flag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--on-gold);
}
.vr-flag.neutral { background: var(--ink); color: #F6F4EF; border-bottom-color: rgba(248,191,61,0.3); }
.vr-flag.neutral .dot { background: var(--gold); }
.vr-flag.warn { background: var(--surface); color: var(--ink-2); border-bottom-color: var(--hairline-strong); }
.vr-flag.warn .dot { background: var(--ink-dim); }

.vr-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.vr-main {
  padding: 30px 28px;
  border-right: var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.vr-main .vr-tkt {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.vr-main h3 {
  font-family: var(--f-serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.vr-main .vr-who {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-dim);
}
.vr-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.vr-facts .f {
  padding: 18px 20px;
  border-right: var(--rule);
  border-bottom: var(--rule);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.vr-facts .f:nth-child(2n) { border-right: 0; }
.vr-facts .f:nth-child(n+3) { border-bottom: 0; }
.vr-facts .f .k {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.vr-facts .f .v {
  font-family: var(--f-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.vr-facts .f .v.seed {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gold-ink);
  font-weight: 500;
}

.vr-replay {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--ink);
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  transition: gap .2s ease, color .2s ease;
}
.vr-replay:hover { gap: 16px; color: var(--gold-deep); }
.vr-replay .arrow {
  width: 18px; height: 1px;
  background: currentColor;
  position: relative;
}
.vr-replay .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -2.5px;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.vr-plain { padding: 0; }
.vr-plain h3 {
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 26px 28px 0;
  line-height: 1.1;
}
.vr-plain p {
  padding: 14px 28px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 620px;
}
.vr-plain .vr-replay { margin-top: 24px; }

/* ===== Draw log table ===== */
.log-table {
  border: 1px solid var(--ink);
  overflow-x: auto;
}
.log-table .lt-head,
.log-table .lt-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 1.6fr 1fr 0.9fr 0.9fr;
  align-items: center;
  min-width: 760px;
}
.log-table .lt-head {
  background: var(--ink);
  color: #F6F4EF;
}
.log-table .lt-head span {
  padding: 15px 18px;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246,244,239,0.7);
}
.log-table .lt-head .num,
.log-table .lt-row .num { text-align: right; }
.log-table .lt-head .rep,
.log-table .lt-row .rep { text-align: right; }

.log-table .lt-row {
  border-bottom: var(--rule);
  transition: background .15s ease;
}
.log-table .lt-row:last-child { border-bottom: 0; }
.log-table .lt-row:hover { background: rgba(248,191,61,0.05); }
.log-table .lt-row span { padding: 18px; }
.log-table .lt-row .date {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.log-table .lt-row .ref {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
}
.log-table .lt-row .lot {
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 500;
}
.log-table .lt-row .tkt {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--gold-ink);
}
.log-table .lt-row .num {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}
.log-table .lt-row .rep a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .2s ease, gap .2s ease;
}
.log-table .lt-row .rep a:hover { color: var(--gold-ink); gap: 12px; }
.log-table .lt-row .rep .arrow {
  width: 14px; height: 1px;
  background: currentColor;
  position: relative;
}
.log-table .lt-row .rep .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -2.5px;
  width: 5px; height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .vt-form { grid-template-columns: 1fr; gap: 12px; }
  .vt-form .btn { width: 100%; justify-content: space-between; }
  .vt-field { padding: 0 16px; }
  .vr-body { grid-template-columns: 1fr; }
  .vr-main { border-right: 0; border-bottom: var(--rule); padding: 24px 20px; }
  .vr-facts .f { padding: 14px 16px; }
  .vr-facts .f:nth-child(2n) { border-right: 0; }
  .vr-facts .f:nth-child(3) { border-bottom: var(--rule); }
  .vr-plain h3, .vr-plain p { padding-left: 20px; padding-right: 20px; }
  .vr-replay { padding-left: 20px; padding-right: 20px; }
}
