html, body { min-height: 100%; }
body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: #080d18;
  color: #f7f8fc;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(180deg,rgba(5,9,18,.42),rgba(5,9,18,.8)),url('../greekbackground.webp') center/cover no-repeat;
}
body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 22%,rgba(43,73,113,.12),transparent 62%);
}
.page-shell { position: relative; z-index: 1; width: min(100% - 28px, 760px); max-width: 760px; padding: 17px 0 30px; }
.topbar { height: 36px; border-bottom: 1px solid rgba(222,233,255,.18); }
.brand { color: #fff; }
.brand-mark { background: #ffd526; color: #121826; }
.brand-light { color: #ffe15b; }
.back-link { color: #eef3ff; }
.verify-intro { padding: 19px 0 14px; text-align: center; }
.verify-intro .eyebrow { margin-bottom: 2px; color: #fff; font-family: 'Bowlby One SC','Arial Black',sans-serif; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; }
.verify-intro h1 { margin: 0; color: #91bde4; font: 700 13px 'Nunito Sans','Arial',sans-serif; letter-spacing: 2px; text-transform: uppercase; text-shadow: none; }
.verify-intro .subtitle { display: none; }
.verify-card {
  width: min(100%, 512px);
  margin: 0 auto;
  padding: 24px 23px 20px;
  border: 1px solid rgba(190,211,245,.18);
  border-radius: 18px;
  background: rgba(8,15,31,.86);
  box-shadow: 0 22px 70px rgba(0,0,0,.44),inset 0 1px rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(13px) saturate(125%);
  backdrop-filter: blur(13px) saturate(125%);
  color: #f5f7fc;
}
.verify-card label { margin: 0 0 11px; color: #91bde4; font-size: 12px; font-weight: 900; letter-spacing: .35px; text-transform: uppercase; }
.input-row { display: flex; flex-direction: column; gap: 12px; }
.input-row input {
  width: 100%; height: 56px; padding: 0 15px;
  border: 2px solid rgba(225,234,251,.75); border-radius: 12px;
  outline: 0; background: rgba(2,8,20,.96); color: #fff;
  font: 500 15px 'Nunito Sans','Arial',sans-serif;
  box-shadow: 0 0 0 3px rgba(255,255,255,.05), inset 0 3px 10px rgba(0,0,0,.34);
}
.input-row input::placeholder { color: #8193ac; }
.input-row input:focus { border-color: #8fc9ff; box-shadow: 0 0 0 4px rgba(100,177,246,.18); }
.input-row .roll-button {
  width: 100%; height: 64px; border: 1px solid #ffe37b; border-radius: 14px;
  background: linear-gradient(180deg,#ffe45a,#ffc800); color: #121522;
  box-shadow: 0 7px 0 #a47700,0 13px 28px rgba(255,195,0,.21);
  font: 900 22px 'Bowlby One SC','Arial Black',sans-serif; letter-spacing: 1px;
}
.input-row .roll-button:hover { background: linear-gradient(180deg,#ffeb7c,#ffd01a); }
.verify-preview-dice { display: flex; justify-content: center; gap: 12px; margin: 24px auto 8px; }
.verify-preview-dice i {
  position: relative; display: block; width: clamp(54px,12vw,84px); aspect-ratio: 1;
  border: 6px solid #fff; border-radius: 16px; background: #9aa3b0;
  box-shadow: inset 0 -5px 0 #0002,0 5px 0 #656d78,0 10px 18px #0006;
}
.verify-preview-dice i::after { position:absolute; top:50%; left:50%; width:15px; height:15px; border-radius:50%; background:#fff; content:""; transform:translate(-50%,-50%); box-shadow:0 2px 4px #0004; }
.demo-note { margin: 9px 0 0; color: #a9c9e7; text-align: center; font-size: 11px; }
.verify-result, .verify-result.success, .verify-result.error { padding: 14px; border: 1px solid rgba(190,211,245,.18); border-radius: 12px; background: rgba(255,255,255,.07); color: #f4f6fc; }
.result-heading { color: #ffe15b; }
.error .result-heading { color: #ff9296; }
.verified-roll-list { border-color: rgba(255,255,255,.18); }
.verified-roll-list li { border-color: rgba(255,255,255,.16); }
.verified-roll-list strong { color: #fff; }
.verified-roll-list time, .verified-color-names>span { color: #c2ccdb; }
.verified-die { width: 36px; height: 36px; border-radius: 9px; }
.verify-pagination span { color: #e2e9f5; }
.verify-card footer, .page-shell footer { color: rgba(239,244,255,.66); }
.page-shell footer { margin-top: 17px; }
.page-shell footer a { color: #ffe15b; }
@media(max-width:520px) {
  .page-shell { width: min(100% - 22px,760px); padding-top: 12px; }
  .verify-intro { padding-top: 15px; }
  .verify-card { padding: 20px 15px 17px; }
  .input-row .roll-button { width: 100%; }
  .verify-preview-dice { gap: 8px; margin-top: 20px; }
  .verify-preview-dice i { border-width: 5px; border-radius: 13px; }
  .verify-preview-dice i::after { width: 12px; height: 12px; }
}
