/* Claims page — page-specific layout on top of site.css */

.claims-hero { padding: 64px 0 48px; }
.claims-title { font-size: clamp(38px, 5.6vw, 72px); max-width: 1100px; margin: 16px 0 30px; overflow-wrap: break-word; }

.claims-id { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.claims-address {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 100%;
  padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03); transition: border-color 0.2s, transform 0.2s;
}
.claims-address:hover { border-color: var(--teal); transform: translateY(-2px); }
.claims-address-label { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.claims-address-value { font-size: 13.5px; color: var(--text); word-break: break-all; }
.claims-address-arrow { color: var(--teal); font-size: 18px; }
.claims-g { width: min(260px, 42vw); height: auto; border-radius: 12px; border: 1px solid var(--line); }

/* claim row: large, easy-to-click dropdown + the three labels */
.claim-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-width: 0;
  padding: 18px; border-radius: 20px; border: 1px solid var(--line);
  background: rgba(16, 28, 33, 0.55);
}
.claim-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 190px; min-height: 62px; padding: 18px 34px; border-radius: 16px;
  cursor: pointer; user-select: none;
  font: 700 22px/1 var(--sans); letter-spacing: 0.3px; color: #1b1306;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 14px 40px rgba(217, 178, 111, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.2s, box-shadow 0.25s;
}
.claim-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(217, 178, 111, 0.5); }
.claim-btn:active { transform: translateY(0); }
.claim-chev { display: inline-block; font-size: 18px; }
.claim-this { font-weight: 700; color: var(--text); font-size: 18px; }
.claim-note { color: var(--muted); font-size: 13.5px; max-width: 440px; }
.claim-status { color: var(--teal); font-family: var(--mono); font-size: 14px; }
.claim-callout {
  flex: 1 0 100%; margin: 0 0 16px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(217, 178, 111, 0.55);
  background: linear-gradient(135deg, rgba(217, 178, 111, 0.16), rgba(80, 210, 193, 0.10));
  color: var(--gold-2); font-weight: 700; font-size: 17px; line-height: 1.35;
  text-shadow: 0 0 14px rgba(217, 178, 111, 0.35);
  box-shadow: 0 0 22px rgba(217, 178, 111, 0.22);
  animation: calloutPulse 2.2s ease-in-out infinite;
}
@keyframes calloutPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(217, 178, 111, 0.18); border-color: rgba(217, 178, 111, 0.45); }
  50% { box-shadow: 0 0 38px rgba(80, 210, 193, 0.35); border-color: rgba(80, 210, 193, 0.7); }
}

/* main claim area: button/labels on the left, animated reward table on the right */
.claim-zone { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 18px; align-items: center; }
.claim-zone > * { min-width: 0; }
.claim-zone .claim-row { align-self: center; }
.reward-card {
  position: relative; padding: 3px; border-radius: 20px; overflow: hidden; min-width: 0;
  background: rgba(217, 178, 111, 0.25);
  box-shadow: 0 0 34px rgba(217, 178, 111, 0.22);
  animation: rewardPulse 3.2s ease-in-out infinite;
}
.reward-card::before {
  content: ""; position: absolute; inset: -70%; z-index: 0;
  background: conic-gradient(from 0deg, transparent 0 52%, var(--gold) 66%, var(--teal) 78%, transparent 90%);
  animation: rewardSpin 7s linear infinite;
}
.reward-inner {
  position: relative; z-index: 1; border-radius: 17px; padding: 22px 22px 18px;
  background: var(--card-solid); overflow: hidden; min-width: 0;
}
.reward-inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 48%, transparent 64%);
  transform: translateX(-110%);
  animation: rewardSweep 5.2s ease-in-out infinite;
}
.reward-title {
  font-family: var(--serif); font-size: clamp(24px, 2.2vw, 31px); line-height: 1.12;
  margin: 10px 0 4px; overflow-wrap: break-word;
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 35%, var(--teal) 55%, var(--gold-2) 75%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rewardText 5s linear infinite;
}
.reward-sub { margin: 0 0 12px; color: var(--muted); font-size: 12.5px; letter-spacing: 0.3px; }
.reward-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.reward-table th {
  padding: 7px 10px; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.9px; text-transform: uppercase;
}
.reward-table th:first-child, .reward-table td:first-child { width: 55%; text-align: left; }
.reward-table th:last-child, .reward-table td:last-child { text-align: right; }
.reward-table td { padding: 7px 10px; border-bottom: 1px solid var(--line); color: #c9d5d2; }
.reward-table tr:last-child td { border-bottom: 0; }
@keyframes rewardSpin { to { transform: rotate(360deg); } }
@keyframes rewardPulse {
  0%, 100% { box-shadow: 0 0 26px rgba(217, 178, 111, 0.18); }
  50% { box-shadow: 0 0 52px rgba(217, 178, 111, 0.42); }
}
@keyframes rewardText { to { background-position: 220% 0; } }
@keyframes rewardSweep {
  0%, 55% { transform: translateX(-110%); }
  100% { transform: translateX(110%); }
}

/* left / right documents with a fixed-height scroll slot */
.claims-docs { padding: 40px 0 80px; }
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.doc-panel { display: flex; flex-direction: column; min-width: 0; }
.doc-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.doc-head h2 { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--gold-2); font-weight: 600; }
.doc-scroll-btns { display: flex; gap: 6px; }
.doc-scroll-btns button {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04); color: var(--text); cursor: pointer; font-size: 13px;
}
.doc-scroll-btns button:hover { border-color: var(--teal); color: var(--teal); }
.doc-slot {
  max-height: 460px; overflow-y: auto; overscroll-behavior: contain;
  scroll-behavior: smooth; padding: 20px 22px;
}
.doc-slot:focus { outline: 2px solid var(--teal); outline-offset: -2px; }
.doc-slot::-webkit-scrollbar { width: 10px; }
.doc-slot::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); }
.doc-slot::-webkit-scrollbar-thumb { background: rgba(120, 160, 160, 0.35); border-radius: 8px; }
.doc-content { font-size: 14.5px; color: #c9d5d2; }
.doc-content h1 { font-family: var(--serif); font-size: 28px; line-height: 1.15; color: var(--text); margin: 0 0 14px; }
.doc-content h2 { font-family: var(--serif); font-size: 23px; line-height: 1.2; color: var(--gold-2); margin: 24px 0 10px; }
.doc-content h3 { font-size: 18px; color: var(--text); margin: 20px 0 8px; }
.doc-content p { margin: 0 0 12px; }
.doc-content ul, .doc-content ol { margin: 0 0 14px; padding-left: 22px; }
.doc-content li { margin: 0 0 6px; }
.doc-content strong { color: var(--text); }
.doc-content hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.doc-content table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 13.5px; }
.doc-content th, .doc-content td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.doc-content th { color: var(--gold-2); font-weight: 600; }
.doc-content td:last-child, .doc-content th:last-child { text-align: right; }
.doc-content a { color: var(--teal); text-decoration: underline; }

/* books */
.claims-books { padding: 40px 0 80px; }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.book-card {
  display: flex; flex-direction: column; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--card); overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.book-card:hover { transform: translateY(-6px); border-color: rgba(217, 178, 111, 0.45); }
.book-cover { aspect-ratio: 2 / 3; overflow: hidden; background: #0b1519; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.book-card:hover .book-cover img { transform: scale(1.04); }
.book-meta { display: flex; gap: 12px; padding: 16px 16px 18px; align-items: flex-start; }
.book-num {
  font-family: var(--mono); font-size: 12px; color: var(--gold);
  border: 1px solid rgba(217, 178, 111, 0.35); border-radius: 999px;
  padding: 4px 8px; flex: none;
}
.book-meta h3 { font-size: 15.5px; line-height: 1.35; margin: 0; }
.author-card { display: flex; gap: 20px; align-items: center; margin-top: 22px; padding: 18px; }
.author-card img { width: 150px; height: auto; border-radius: 14px; border: 1px solid var(--line); flex: none; }
.author-card h3 { font-family: var(--serif); font-size: 28px; margin: 6px 0 6px; }
.author-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.claims-bottom { padding: 20px 0 100px; }

@media (max-width: 1080px) {
  .claim-zone { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .claims-hero { padding-top: 40px; }
  .claim-row { padding: 14px; }
  .claim-btn { width: 100%; min-width: 0; }
  .claim-note { max-width: none; }
  .book-grid { grid-template-columns: 1fr; }
  .author-card { flex-direction: column; align-items: flex-start; }
  .author-card img { width: 100%; max-width: 260px; }
  .site-head .nav { gap: 0; flex-wrap: wrap; justify-content: center; }
  .site-head .nav a { padding: 7px 8px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .reward-card, .reward-card::before, .reward-title, .reward-inner::after, .claim-callout { animation: none; }
}
