/* Claim page: "The Application". Animations: transform/opacity only. */
.hide-s { }
@media (max-width: 480px) { .hide-s { display: none; } }
.hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; padding: 40px 0 10px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; text-align: center; gap: 14px; padding-top: 26px; } }
.coin { position: relative; width: min(330px, 74vw); margin-inline: auto; aspect-ratio: 1; display: grid; place-items: center; }
.coin { animation: sealIn 1s var(--spring) both; }
.coin img { width: 66%; animation: float 6s ease-in-out infinite; }
.coin-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: slowspin 30s linear infinite; }
.coin-ring text { font: 600 11.2px var(--f-cap); letter-spacing: .22em; fill: var(--accent); }
@keyframes slowspin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes sealIn { from { opacity: 0; transform: scale(1.8) rotate(-20deg); } }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; color: var(--accent); font-size: 12px; }
h1 { margin: 16px 0 0; font: 500 clamp(44px, 7vw, 86px)/.98 var(--f-display); letter-spacing: -.015em; }
h1 em { font-style: italic; }
.lede { color: #cfc3aa; max-width: 540px; font-size: 18px; margin: 20px 0 0; }
.lede b { color: var(--gold-hi); }
.est { margin: 10px 0 0; color: var(--mute); font-size: 13px; }
@media (max-width: 860px) { .lede, .est { margin-inline: auto; } }

.flow { max-width: 640px; margin: 36px auto 0; }
.prog-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.prog-label { margin: 0; font-size: 12px; color: var(--accent); }
.closing { font-size: 10.5px; color: var(--ruby); color: #e07a84; display: inline-flex; align-items: center; gap: 6px; }
.closing::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #e07a84; animation: blink 1.4s infinite; }
.prog { height: 3px; background: var(--line); overflow: hidden; }
.prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform-origin: left; transform: scaleX(.04); transition: transform .8s var(--slow); }
.done-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0; }
.done-chips li { padding: 7px 12px; border: 1px solid var(--line2); color: var(--accent); font: 600 12px/1 var(--f-body); }
.done-chips li.last { animation: chipIn .5s var(--spring) both; }
@keyframes chipIn { from { opacity: 0; transform: scale(.7); } }

/* the step card: a black letter with a double gold frame */
.stepcard { position: relative; padding: 34px 30px 30px; border: 1px solid var(--line2); background: linear-gradient(180deg, #14100a, #0b0906); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.stepcard::before { content: ''; position: absolute; inset: 7px; border: 1px solid var(--line); pointer-events: none; }
.stepcard::after { content: ''; position: absolute; top: -1px; left: 50%; width: 120px; height: 2px; margin-left: -60px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); }
.stepcard.in { animation: cardIn .7s var(--slow) both; }
.stepcard.nope { animation: nope .35s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) rotateX(8deg); } }
@keyframes nope { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.kick { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--accent); font: 600 11.5px/1 var(--f-cap); letter-spacing: .22em; text-transform: uppercase; }
.kick::before { content: ''; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.stepcard h3 { margin: 16px 0 8px; font: 500 clamp(28px, 4.4vw, 38px)/1.08 var(--f-display); color: var(--gold-hi); }
.line { margin: 0 0 22px; color: var(--mute); }
.field { width: 100%; padding: 16px 16px; border: 1px solid var(--line2); border-radius: 2px; background: #070605; color: var(--text); font: 500 16px/1.2 var(--f-body); outline: none; transition: border-color .2s; }
.field:focus { border-color: var(--gold-hi); }
.field-row { display: flex; gap: 10px; align-items: center; }
.field-row .at { font: italic 600 26px/1 var(--f-display); color: var(--accent); }
.field-col { display: grid; gap: 12px; }
@media (max-width: 520px) { .stepcard { padding: 28px 20px 24px; } .field-row { flex-wrap: wrap; } .field-row .field { flex: 1; } .field-row .btn { width: 100%; } }
.err { min-height: 1.2em; margin: 10px 0 0; color: var(--warn); font-size: 14px; }
.go { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.02); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* after the claim: the member card */
.board { max-width: 640px; margin: 36px auto 0; animation: cardIn .8s var(--slow) both; }
.mcard { position: relative; overflow: hidden; border-radius: 3% / 5%; box-shadow: 0 40px 90px -30px rgba(226, 191, 114, .35); }
.mcard img { width: 100%; }
.mcard .who { position: absolute; left: 20%; bottom: 21%; display: grid; gap: 4px; text-align: left; }
.mcard .who b { font: 600 clamp(16px, 3.4vw, 24px)/1 var(--f-cap); letter-spacing: .1em; color: var(--gold-hi); text-shadow: 0 2px 8px #000; }
.mcard .who span { font: 500 clamp(10px, 2vw, 12px)/1 var(--f-cap); letter-spacing: .26em; color: var(--accent); }
.mcard .no { position: absolute; right: 18%; bottom: 22%; font: 600 clamp(14px, 3vw, 22px)/1 var(--f-cap); letter-spacing: .12em; color: var(--gold-hi); }
.mcard .glare { position: absolute; top: -30%; bottom: -30%; left: 0; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 236, 190, .25), transparent); transform: translateX(-130%) skewX(-14deg); animation: glare 5s .6s ease-in-out infinite; }
@keyframes glare { 0%, 55% { transform: translateX(-130%) skewX(-14deg); } 100% { transform: translateX(330%) skewX(-14deg); } }
.bd-body { margin-top: 18px; padding: 24px; border: 1px solid var(--line2); background: var(--card); }
.bd-body h3 { margin: 0; font: 500 30px/1.1 var(--f-display); }
.bd-st { display: flex; gap: 10px; align-items: center; margin: 14px 0; font-weight: 600; }
.bd-st.ok { color: var(--ok); } .bd-st.warn { color: var(--warn); }
.bd-act { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-note { margin: 16px 0 0; color: var(--mute); font-size: 13px; }

/* the register */
.live { margin-top: 80px; }
.live-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.live-head h2 { display: flex; align-items: center; gap: 12px; margin: 0; font: italic 500 36px/1 var(--f-display); color: var(--gold-hi); }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 22px 0; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats div:last-child { grid-column: 1 / -1; } }
.stats div { padding: 16px; background: var(--bg2); }
.stats dt { color: var(--mute); font-size: 10.5px; }
.stats dd { margin: 8px 0 0; font: 600 26px/1 var(--f-display); color: var(--gold-hi); }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feed li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 13px 16px; background: var(--card); }
.feed li.empty { display: block; color: var(--mute); text-align: center; padding: 22px; }
.feed img, .feed .pf { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); }
.feed .pf { display: grid; place-items: center; background: var(--bg2); font: 600 16px/1 var(--f-display); color: var(--accent); }
.feed .who { display: grid; min-width: 0; } .feed .who b, .feed .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .who b { color: var(--gold-hi); }
.feed .who span { color: var(--mute); font-size: 12.5px; }
.what { color: var(--mute); font-size: 13px; white-space: nowrap; }
.tx { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border: 1px solid var(--accent); color: var(--gold-hi); font: 600 11px/1 var(--f-cap); letter-spacing: .1em; text-decoration: none; white-space: nowrap; }
.fs { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border: 1px solid var(--line); color: var(--mute); font: 600 11px/1 var(--f-cap); letter-spacing: .1em; white-space: nowrap; }
@media (max-width: 560px) { .feed li { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 12px; } .what { display: none; } }
.feed-more { margin: 16px auto 0; display: flex; }

.popwrap { position: fixed; left: 50%; bottom: 18px; z-index: 50; display: grid; gap: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); pointer-events: none; }
.livepop { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #0d0a06; border: 1px solid var(--line2); color: var(--text); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: popIn .5s var(--spring) both; box-shadow: 0 16px 40px -16px #000; }
.livepop b { color: var(--gold-hi); }
.livepop.out { animation: popOut .4s ease-in forwards; }
.lp-dot { width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); flex: none; }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.95); } }
@keyframes popOut { to { opacity: 0; transform: translateY(10px); } }

/* "Welcome to the club": the seal is pressed, gold falls */
.sentfx { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(6, 5, 4, .94); animation: fadeIn .3s both; }
.sentfx[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.sf-in { position: relative; z-index: 2; text-align: center; }
.sf-badge { width: 170px; margin: 0 auto; animation: press 1s var(--spring) both; }
.sf-badge img { width: 100%; }
@keyframes press { 0% { opacity: 0; transform: scale(3) rotate(-25deg); } 55% { opacity: 1; transform: scale(.92) rotate(3deg); } 100% { transform: none; } }
.sentfx h2 { margin: 22px 0 0; font: italic 500 clamp(40px, 9vw, 84px)/1 var(--f-display); animation: rise .8s .35s var(--slow) both; }
.sf-amt { margin: 12px 0 0; font: 600 13px/1.4 var(--f-cap); letter-spacing: .24em; color: var(--accent); animation: rise .8s .5s var(--slow) both; }
.sf-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; animation: rise .8s .65s var(--slow) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.sf-bits { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sf-bits i { position: absolute; left: 50%; top: 40%; width: 9px; height: 9px; background: linear-gradient(135deg, #fff0c4, #c99a48); opacity: 0; transform: rotate(45deg);
  animation: burst 1.8s var(--d) cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) rotate(45deg); } 100% { opacity: 0; transform: translate(calc(var(--x) * 44vw), 42vh) rotate(600deg); } }
@media (max-width: 860px) {
  .hero { padding-top: 14px; gap: 6px; }
  .coin { width: min(190px, 50vw); }
  h1 { font-size: clamp(38px, 10.5vw, 56px); margin-top: 10px; }
  .lede { font-size: 16px; margin-top: 12px; }
  .est { font-size: 12px; margin-top: 6px; }
  .flow { margin-top: 22px; }
  .coin-ring text { font-size: 12.5px; }
}
