/* Turnt Cards landing page + auth modals */
:root { --tc-orange: #ff9a2e; --tc-orange2: #ff5a1f; --tc-blue: #35b6ff; --tc-blue2: #1f5fff; }

/* signed-out: full-width page with the header bar, no sidebar offset */
@media (min-width: 960px) {
  body.on-landing .top { display: flex; padding-left: 24px; padding-right: 24px; }
  body.on-landing main { padding-left: 24px; padding-right: 24px; padding-top: 0; margin-left: auto !important; margin-right: auto !important; }
}
body.on-landing main { max-width: 1180px; }
body.on-landing .menu-btn { display: none; }
.authbtns { display: grid; grid-template-columns: auto auto; gap: 8px; }

/* buttons in the brand orange */
.btn.lp-go { background: linear-gradient(135deg, var(--tc-orange), var(--tc-orange2)); color: #1a0b00; border-color: transparent; box-shadow: 0 6px 24px rgba(255,122,40,.35); font-weight: 900; }
.btn.lp-go:hover { filter: brightness(1.08); box-shadow: 0 8px 30px rgba(255,122,40,.5); }
.btn.lp-ghost { border-color: rgba(53,182,255,.6); color: #dff1ff; background: rgba(53,182,255,.08); font-weight: 900; }
.btn.lp-ghost:hover { background: rgba(53,182,255,.18); border-color: var(--tc-blue); }
.btn.lp-go:active, .btn.lp-ghost:active { transform: scale(.96); }
.btn.sm { padding: 8px 14px; font-size: 13px; }
.btn.ping { animation: lpPing .4s ease-out; } @keyframes lpPing { from { box-shadow: 0 0 0 0 rgba(255,154,46,.7); } to { box-shadow: 0 0 0 14px rgba(255,154,46,0); } }

/* hero */
.lp-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; min-height: 560px; padding: 30px 0 20px; }
.lp-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 900; letter-spacing: 4px; text-transform: uppercase; color: var(--tc-blue); }
.lp-kicker span { width: 28px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--tc-orange), var(--tc-blue)); }
.lp-hero h1 { margin: 14px 0 12px; font-size: clamp(40px, 6.4vw, 74px); line-height: .98; letter-spacing: -1.5px; font-weight: 900; }
.lp-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--tc-orange), #ffd23f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: 17px; line-height: 1.55; color: #c7d0ee; max-width: 540px; margin: 0; }
.lp-cta { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px; margin-top: 24px; }
.lp-cta .btn { padding: 14px 24px; font-size: 16px; }
.lp-fine { margin: 12px 0 0; font-size: 12px; color: var(--ink-soft); }

/* three spinning cards */
.lp-stage { --tx: 0; --ty: 0; position: relative; height: 470px; perspective: 1400px; display: grid; place-items: center; }
.lp-floor { position: absolute; bottom: 18px; width: 70%; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(53,182,255,.35), transparent); filter: blur(4px); }
.lp-c3 { position: absolute; width: 190px; aspect-ratio: 63 / 88; transform-style: preserve-3d; transition: translate .3s ease-out; translate: calc(var(--tx) * 24px) calc(var(--ty) * 18px); }
.lp-c3.c1 { left: calc(50% - 250px); top: 90px; animation: lpSpin 16s linear infinite, lpBob 5s ease-in-out infinite alternate; }
.lp-c3.c2 { left: calc(50% - 95px); top: 30px; width: 210px; z-index: 2; animation: lpSpin 18s linear infinite reverse, lpBob 6s ease-in-out -2s infinite alternate; }
.lp-c3.c3 { left: calc(50% + 60px); top: 110px; animation: lpSpin 15s linear -6s infinite, lpBob 5.5s ease-in-out -1s infinite alternate; }
@keyframes lpSpin { from { transform: rotateY(0) rotateX(6deg); } to { transform: rotateY(360deg) rotateX(6deg); } }
@keyframes lpBob { from { margin-top: 0; } to { margin-top: -16px; } }
.lp-face { position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.12) inset; }
.lp-face.front { display: grid; align-content: end; padding: 16px; gap: 2px; color: #fff; }
.lp-c3.c1 .front { background: linear-gradient(160deg, #35b6ff, #1f5fff 70%); }
.lp-c3.c2 .front { background: linear-gradient(160deg, #ffb347, #ff5a1f 75%); }
.lp-c3.c3 .front { background: linear-gradient(160deg, #b366ff, #4a1f9a 75%); }
.lp-face.front b { font-size: 26px; letter-spacing: 2px; font-weight: 900; } .lp-face.front small { font-size: 12px; font-weight: 800; opacity: .9; }
.lp-c3-ico { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%); font-size: 58px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); }
.lp-c3-tc { position: absolute; top: 12px; left: 12px; } .lp-c3-tc .tcmark { width: 30px; height: 30px; filter: none; }
.lp-holo { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 45%, transparent 60%); background-size: 250% 100%; animation: lpShine 4s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes lpShine { 0%, 40% { background-position: 120% 0; } 100% { background-position: -40% 0; } }
.lp-face.back { transform: rotateY(180deg); display: grid; place-content: center; justify-items: center; gap: 10px; background: radial-gradient(circle at 50% 35%, #15224a, #070b16 75%); border: 6px solid #0f1629; }
.lp-face.back img { width: 46%; } .lp-face.back span { font-size: 12px; font-weight: 900; letter-spacing: 3px; color: #8d9ac4; }

/* strip */
.lp-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; }
.lp-strip span { text-align: center; font-size: 13px; font-weight: 800; padding: 10px 6px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line2); color: #c7d0ee; }

/* sections */
.lp-sec { margin-top: 64px; }
.lp-h { text-align: center; max-width: 720px; margin: 0 auto 22px; }
.lp-h small { font-size: 12px; letter-spacing: 4px; font-weight: 900; color: var(--tc-orange); }
.lp-h h2 { margin: 6px 0 0; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.5px; }
.lp-h p { color: #c7d0ee; margin: 10px 0 0; line-height: 1.5; }
.lp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-f { position: relative; padding: 20px 18px; border-radius: 18px; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line2); transition: transform .2s, border-color .2s, box-shadow .2s; }
.lp-f:hover { transform: translateY(-4px); border-color: rgba(53,182,255,.6); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.lp-f.hl { border-color: rgba(255,154,46,.6); background: linear-gradient(180deg, rgba(255,154,46,.12), var(--panel)); }
.lp-i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 24px; background: rgba(53,182,255,.12); border: 1px solid rgba(53,182,255,.35); }
.lp-f.hl .lp-i { background: rgba(255,154,46,.15); border-color: rgba(255,154,46,.5); }
.lp-f h3 { margin: 14px 0 6px; font-size: 17px; } .lp-f p { margin: 0; color: #b8c2e4; font-size: 14px; line-height: 1.55; } .lp-f b { color: #fff; }

.lp-steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-steps li { padding: 20px; border-radius: 18px; border: 1px solid var(--line2); background: rgba(255,255,255,.02); }
.lp-steps li > b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 18px; font-weight: 900; color: #1a0b00; background: linear-gradient(135deg, var(--tc-orange), var(--tc-orange2)); }
.lp-steps h3 { margin: 12px 0 4px; } .lp-steps p { margin: 0; color: #b8c2e4; font-size: 14px; }

#giveawayBanner.lp-sec { border: 1px solid rgba(255,210,63,.35); border-radius: 22px; padding: 26px 16px; background: radial-gradient(600px 300px at 50% 30%, rgba(179,102,255,.15), transparent 70%), var(--panel); }

.lp-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-t { padding: 22px 20px; border-radius: 18px; border: 1px solid var(--line2); background: var(--panel); }
.lp-t.sup { border-color: rgba(255,210,63,.5); } .lp-t.pro { border-color: rgba(53,182,255,.6); box-shadow: 0 0 40px rgba(53,182,255,.12); }
.lp-t h3 { margin: 0; font-size: 18px; } .lp-p { margin: 4px 0 12px; font-size: 26px; font-weight: 900; } .lp-p small { font-size: 13px; color: var(--ink-soft); font-weight: 700; }
.lp-t ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; color: #c7d0ee; font-size: 14px; } .lp-t b { color: #fff; }
.lp-support { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; margin-top: 16px; padding: 18px 20px; border-radius: 18px; border: 1.5px dashed rgba(255,154,46,.55); background: rgba(255,154,46,.06); }
.lp-support b { display: block; font-size: 17px; } .lp-support span { color: #c7d0ee; font-size: 14px; }

.lp-faq details { max-width: 820px; margin: 0 auto 10px; border: 1px solid var(--line2); border-radius: 14px; background: var(--panel); padding: 0 16px; }
.lp-faq summary { cursor: pointer; padding: 14px 0; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.lp-faq summary::after { content: '+'; color: var(--tc-orange); font-size: 20px; line-height: 1; } .lp-faq details[open] summary::after { content: '–'; }
.lp-faq details p { margin: 0 0 14px; color: #c7d0ee; line-height: 1.55; }
.lp-more { text-align: center; } .lp-more a { color: var(--tc-blue); font-weight: 800; }

.lp-final { margin: 70px 0 30px; text-align: center; padding: 40px 16px; border-radius: 24px; background: radial-gradient(500px 260px at 50% 0%, rgba(31,95,255,.25), transparent 70%), var(--panel); border: 1px solid var(--line2); }
.lp-final img { width: 70px; } .lp-final h2 { margin: 10px 0 0; font-size: clamp(24px, 4vw, 34px); }
.lp-final .lp-cta { justify-content: center; } .lp-final small { display: block; margin-top: 18px; color: var(--ink-soft); font-size: 12px; }

/* auth modals */
.authm .modal-box { position: relative; width: min(420px, 100%); padding: 26px 22px 18px; display: grid; gap: 4px; text-align: center; border-color: rgba(53,182,255,.35); }
.authm .sheetx { position: absolute; top: 10px; right: 10px; }
.authm-logo { width: 54px; margin: 0 auto 4px; } .authm h2 { margin: 0; } .authm .muted { margin: 0 0 8px; }
.authm label { text-align: left; } .authm input.bad { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.authm .err { min-height: 18px; margin: 6px 0 2px; font-size: 13px; color: #ff8095; text-align: left; }
.authm .btn.wide { width: 100%; padding: 13px; font-size: 16px; justify-content: center; }
.authm [data-close].btn { width: 100%; justify-content: center; margin-top: 6px; }
.authm-switch { margin: 12px 0 0; font-size: 14px; color: var(--ink-soft); } .authm-switch a { color: var(--tc-orange); font-weight: 900; }
html.authm-open, html.authm-open body { overflow: hidden; }

@media (max-width: 860px) {
  .lp-hero { grid-template-columns: 1fr; min-height: 0; text-align: center; padding-top: 18px; }
  .lp-lead { margin: 0 auto; } .lp-cta { justify-content: center; } .lp-kicker { justify-content: center; }
  .lp-stage { height: 340px; order: -1; margin-bottom: -6px; }
  .lp-c3 { width: 130px; } .lp-c3.c2 { width: 150px; }
  .lp-c3.c1 { left: calc(50% - 170px); top: 70px; } .lp-c3.c2 { left: calc(50% - 75px); top: 20px; } .lp-c3.c3 { left: calc(50% + 40px); top: 80px; }
  .lp-c3-ico { font-size: 40px; } .lp-face.front b { font-size: 18px; } .lp-face.front small { font-size: 10px; } .lp-c3-tc .tcmark { width: 22px; height: 22px; }
  .lp-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-steps ol, .lp-tiers { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .lp-cta { grid-template-columns: 1fr; width: 100%; } .lp-cta .btn { justify-content: center; }
  .lp-grid { grid-template-columns: 1fr; } .lp-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-support { grid-template-columns: 1fr; text-align: center; } .lp-support .btn { justify-content: center; }
  .lp-sec { margin-top: 44px; }
  .authbtns .btn.sm { padding: 8px 11px; }
}
@media (prefers-reduced-motion: reduce) { .lp-c3, .lp-holo { animation: none !important; } }

/* members on the homepage + live stats */
body.on-landing .side, body.on-landing .side-back, body.on-landing #balPill { display: none !important; }
#backToVault, .authbtns { margin-left: auto; }
.lp-stats { margin-top: 48px; }
.lps-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.lps-t { display: grid; justify-items: center; gap: 2px; padding: 16px 8px; border-radius: 16px; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line2); text-align: center; }
.lps-t span { font-size: 22px; } .lps-t b { font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; font-variant-numeric: tabular-nums; color: #fff; } .lps-t small { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); font-weight: 800; }
.lps-t:nth-child(2) b { color: #2ee87a; }
.lps-fun { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.lps-f { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line2); background: var(--panel); display: grid; gap: 3px; align-content: start; }
.lps-f.gold { border-color: rgba(255,210,63,.55); background: linear-gradient(160deg, rgba(255,210,63,.10), var(--panel) 60%); }
.lps-f small { font-size: 12px; font-weight: 900; letter-spacing: 1px; color: var(--tc-orange); text-transform: uppercase; }
.lps-f > b { font-size: 18px; } .lps-f > span { font-size: 13px; color: #b8c2e4; } .lps-f em { font-style: normal; font-size: 22px; font-weight: 900; color: #ffd23f; margin-top: 4px; }
.lps-f ol { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; counter-reset: f; }
.lps-f li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline; counter-increment: f; } .lps-f li::before { content: counter(f); font-weight: 900; color: var(--tc-orange); }
.lps-f li span { font-size: 12px; color: var(--ink-soft); }
.lps-more { grid-column: 1 / -1; text-align: center; margin: 4px 0 0; font-size: 13px; color: var(--ink-soft); font-weight: 700; }
@media (max-width: 860px) { .lps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lps-fun { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .lps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
