/* Landing / login page: animated airdrop scene */
html { background: #04050c; }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; background: transparent; }
.landing, .info, .landing-foot { position: relative; z-index: 1; }
.landing-foot { max-width: 1180px; width: 100%; margin: 0 auto; padding: 2rem 24px 2.2rem; font-size: 0.8rem; color: var(--muted); border-top: 1px solid rgba(255, 255, 255, 0.06); display: flex; flex-direction: column; gap: 1rem; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.langs { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; }
.lang { color: var(--muted); padding: 0.2rem 0.55rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.78rem; }
.lang:hover { color: var(--text); text-decoration: none; border-color: var(--line-strong); }
.lang.current { color: var(--accent); border-color: var(--line-strong); }

/* ---------- indexable content below the hero ---------- */
.info { max-width: 1180px; width: 100%; margin: 0 auto; padding: 2rem 24px 4rem; display: flex; flex-direction: column; gap: 5rem; }
.block h2, .cta-band h2 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 1.6rem; letter-spacing: 0.02em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.step, .feature { background: linear-gradient(160deg, rgba(26, 32, 52, 0.75), rgba(12, 15, 28, 0.75)); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 18px; padding: 1.4rem; backdrop-filter: blur(10px); transition: transform 0.25s, border-color 0.25s; }
.step:hover, .feature:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step h3, .feature h3 { margin: 0.8rem 0 0.4rem; font-size: 1.05rem; }
.step p, .feature p { margin: 0; color: #b4bfd8; font-size: 0.93rem; line-height: 1.55; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-family: var(--display); font-weight: 800; color: #002b26; background: linear-gradient(135deg, #00ffe0, #6dfcff); box-shadow: 0 6px 20px rgba(0, 255, 224, 0.3); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.f-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--accent); background: rgba(0, 255, 224, 0.1); border: 1px solid rgba(0, 255, 224, 0.2); }
.faq { display: flex; flex-direction: column; gap: 0.6rem; max-width: 860px; }
.qa { background: rgba(20, 25, 40, 0.7); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 14px; padding: 0 1.2rem; transition: border-color 0.2s; }
.qa[open] { border-color: var(--line-strong); }
.qa summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font-size: 1.4rem; color: var(--accent); transition: transform 0.2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.qa p { margin: 0 0 1.1rem; color: #b4bfd8; line-height: 1.6; }
.cta-band { text-align: center; padding: 3rem 1.5rem; border-radius: 24px; background: radial-gradient(ellipse at 50% 0%, rgba(0, 255, 224, 0.16), transparent 70%), linear-gradient(160deg, rgba(26, 32, 52, 0.85), rgba(12, 15, 28, 0.85)); border: 1px solid rgba(0, 255, 224, 0.22); }
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band p { color: #b4bfd8; margin: 0 0 1.6rem; }
.btn-connect-2 { opacity: 1; animation: pulse 2.4s ease-out infinite; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .steps, .features { grid-template-columns: 1fr; }
  .info { gap: 3.5rem; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- background scene ---------- */
.scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; mix-blend-mode: screen; }
.a1 { width: 55vw; height: 55vw; left: -12vw; top: -18vw; background: radial-gradient(circle, rgba(0, 255, 224, 0.35), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.a2 { width: 50vw; height: 50vw; right: -14vw; top: 10vh; background: radial-gradient(circle, rgba(130, 90, 255, 0.35), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.a3 { width: 45vw; height: 45vw; left: 30vw; bottom: -25vw; background: radial-gradient(circle, rgba(255, 196, 0, 0.18), transparent 65%); animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-6vw, 10vh) scale(0.9); } }

.gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.gl.ready { opacity: 1; }

/* coins used everywhere */
.coin {
  --c1: #ffd76a; --c2: #d99a00;
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-style: normal;
  font-weight: 800; font-size: 18px; color: #3a2600;
  background: radial-gradient(circle at 32% 28%, #fff6c9 0 12%, var(--c1) 30%, var(--c2) 100%);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 0 18px rgba(255, 200, 60, 0.35);
}
.coin.eth { --c1: #a9b8ff; --c2: #5a6fe0; color: #0e1650; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25), inset 0 2px 0 rgba(255,255,255,.5), 0 0 18px rgba(120,140,255,.45); }
.coin.sol { --c1: #9cf5d6; --c2: #8b4dff; color: #1c0b3d; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25), inset 0 2px 0 rgba(255,255,255,.5), 0 0 18px rgba(150,80,255,.45); }
.coin.btc { --c1: #ffc061; --c2: #f08a00; color: #3d1f00; }
.coin.usd { --c1: #9ff2c1; --c2: #1fae5e; color: #04301a; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25), inset 0 2px 0 rgba(255,255,255,.5), 0 0 18px rgba(40,200,110,.45); }
.coin.drop { --c1: #8ffff0; --c2: #00b8a3; color: #002b26; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25), inset 0 2px 0 rgba(255,255,255,.5), 0 0 18px rgba(0,255,224,.5); }

/* ---------- layout ---------- */
.landing {
  width: 100%; max-width: 1180px; margin: 0 auto; padding: 7vh 24px 3rem; min-height: min(100vh, 900px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--display); font-weight: 700; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 1.6rem; padding: 0.4rem 0.9rem 0.4rem 0.5rem; border-radius: 999px; background: rgba(0, 255, 224, 0.07); border: 1px solid rgba(0, 255, 224, 0.2); }
.brand-chute { width: 28px; height: 28px; display: inline-block; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px) rotate(4deg); } }

.hero { position: relative; }
.hero::before { content: ''; position: absolute; inset: -10% -8%; background: radial-gradient(closest-side, rgba(4, 5, 12, 0.75), transparent); z-index: -1; pointer-events: none; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; margin: 0 0 1.3rem; letter-spacing: 0.01em; }
.hero h1 .line { display: block; opacity: 0; transform: translateY(24px); animation: rise-in 0.8s cubic-bezier(.2,.8,.2,1) forwards; }
.hero h1 .line:nth-child(2) { animation-delay: 0.15s; }
@keyframes rise-in { to { opacity: 1; transform: none; } }
.glow {
  background: linear-gradient(90deg, #00ffe0, #7dfcff, #ffd76a, #00ffe0); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 255, 224, 0.45)); animation: rise-in 0.8s 0.15s cubic-bezier(.2,.8,.2,1) forwards, shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 300% 0; } }
.lead { font-size: 1.12rem; color: #c3cee6; text-shadow: 0 2px 12px #04050c, 0 0 2px #04050c; max-width: 520px; margin: 0 0 2rem; opacity: 0; animation: rise-in 0.8s 0.3s forwards; }

.btn-connect {
  position: relative; overflow: hidden; padding: 1.05rem 2.4rem; font-size: 1.12rem; font-weight: 700; border-radius: 16px;
  box-shadow: 0 0 0 0 rgba(0, 255, 224, 0.6), 0 10px 40px rgba(0, 255, 224, 0.35);
  animation: rise-in 0.8s 0.45s forwards, pulse 2.4s 1.3s ease-out infinite; opacity: 0;
}
.btn-connect:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(0, 255, 224, 0.55); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 255, 224, 0.55), 0 10px 40px rgba(0, 255, 224, 0.35); } 70% { box-shadow: 0 0 0 18px rgba(0, 255, 224, 0), 0 10px 40px rgba(0, 255, 224, 0.35); } 100% { box-shadow: 0 0 0 0 rgba(0, 255, 224, 0), 0 10px 40px rgba(0, 255, 224, 0.35); } }
.btn-shine { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 60%, 100% { transform: translateX(120%); } }
.btn-label { position: relative; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; opacity: 0; animation: rise-in 0.8s 0.6s forwards; }
.pill { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.75rem 0.35rem 0.4rem; border-radius: 999px; font-size: 0.84rem; color: #cfd8ee; background: #0d1120; border: 1px solid rgba(255, 255, 255, 0.08); }
.coin-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.coin-dot.eth { background: #5a6fe0; color: #fff; }
.coin-dot.sol { background: linear-gradient(135deg, #14f195, #9945ff); color: #fff; }
.coin-dot.gift { background: rgba(255, 215, 106, 0.18); font-size: 12px; }
.coin-dot.ok { background: rgba(55, 214, 122, 0.2); color: var(--ok); }

/* ---------- showcase: claim card ---------- */
.showcase { position: relative; display: grid; place-items: center; min-height: 520px; opacity: 0; animation: rise-in 1s 0.3s forwards; }
.claim-card {
  position: relative; width: min(380px, 100%); padding: 1.4rem; border-radius: 24px;
  background: linear-gradient(160deg, rgba(26, 32, 52, 0.92), rgba(12, 15, 28, 0.92));
  border: 1px solid rgba(0, 255, 224, 0.25); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 255, 224, 0.12);
  backdrop-filter: blur(16px); animation: hover 6s ease-in-out infinite;
}
@keyframes hover { 50% { transform: translateY(-10px) rotate(-0.6deg); } }
.cc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.cc-proj { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 0.92rem; }
.cc-logo { width: 30px; height: 30px; display: inline-block; }
.cc-live { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; font-weight: 700; color: var(--ok); padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(55, 214, 122, 0.12); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(55, 214, 122, 0.7); animation: live 1.6s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(55, 214, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(55, 214, 122, 0); } }
.cc-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.cc-amount { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.2rem; }
#cc-counter { font-family: var(--display); font-weight: 800; font-size: 2.35rem; color: #fff; text-shadow: 0 0 24px rgba(0, 255, 224, 0.45); font-variant-numeric: tabular-nums; }
.cc-sym { font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 1rem; }
.cc-usd { color: var(--ok); font-size: 0.9rem; font-weight: 600; margin-top: 0.1rem; }
.spark { width: 100%; height: 80px; margin: 0.9rem 0 0.6rem; overflow: visible; }
.spark-line { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.4s 0.6s ease-out forwards; filter: drop-shadow(0 0 6px rgba(0, 255, 224, 0.8)); }
.spark-area { opacity: 0; animation: fade 1.2s 1.6s forwards; }
.spark-dot { opacity: 0; animation: fade 0.3s 2.9s forwards, blink 1.6s 3s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes blink { 50% { r: 7; opacity: 0.6; } }
.cc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1.1rem; }
.cc-stats div { background: rgba(255, 255, 255, 0.04); border-radius: 12px; padding: 0.55rem 0.6rem; display: flex; flex-direction: column; }
.cc-stats small { font-size: 0.66rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.cc-stats b { font-size: 0.9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
#cc-countdown { font-size: 0.82rem; }
.cc-claim { position: relative; }
.claim-btn {
  position: relative; overflow: hidden; display: block; text-align: center; padding: 0.95rem; border-radius: 14px; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em;
  color: #002b26; background: linear-gradient(90deg, #00ffe0, #6dfcff, #00ffe0); background-size: 200% 100%; animation: shimmer 3s linear infinite;
}
.claim-btn.pop { animation: shimmer 3s linear infinite, press 0.35s ease-out; }
@keyframes press { 40% { transform: scale(0.95); } }
.claim-ring { position: absolute; inset: -4px; border-radius: 18px; border: 2px solid rgba(0, 255, 224, 0.6); animation: ring 2s ease-out infinite; pointer-events: none; }
@keyframes ring { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(1.08, 1.35); } }
.burst { position: absolute; left: 50%; top: 50%; pointer-events: none; animation: burst 1.1s cubic-bezier(.15,.7,.3,1) forwards; }
.burst .coin { width: 24px; height: 24px; font-size: 12px; }
@keyframes burst { 0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot)); opacity: 0; } }
.feed { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); width: 100%; display: flex; justify-content: center; pointer-events: none; }
.feed-item { position: absolute; white-space: nowrap; font-size: 0.8rem; font-weight: 700; color: #002b26; background: var(--accent); padding: 0.3rem 0.7rem; border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 255, 224, 0.4); animation: feed 2.6s ease-out forwards; }
@keyframes feed { 0% { opacity: 0; transform: translateY(10px) scale(0.9); } 15% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-30px); } }


@media (max-width: 900px) {
  .landing { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 5vh; text-align: center; }
  .hero { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .chips { justify-content: center; }
  .showcase { min-height: 470px; }
  .claim-card { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* connect modal */
.connect { display: flex; flex-direction: column; gap: 0.8rem; }
.net-choice { display: flex; flex-direction: column; gap: 0.6rem; }
.net-btn {
  display: flex; align-items: center; gap: 0.9rem; width: 100%; padding: 1rem; border-radius: 14px; cursor: pointer; text-align: left;
  background: var(--bg-2); border: 1px solid rgba(255, 255, 255, 0.09); color: var(--text); transition: border-color 0.2s, transform 0.15s;
}
.net-btn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.net-glyph { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--accent-soft); color: var(--accent); flex: none; }
.net-text { flex: 1; display: flex; flex-direction: column; }
.net-text strong { font-size: 1.02rem; }
.net-text small { color: var(--muted); font-size: 0.78rem; }
.back-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.3rem; background: none; border: 0; color: var(--muted); cursor: pointer; font-weight: 600; padding: 0.2rem 0; }
.back-btn:hover { color: var(--text); }
.wallet-list { display: flex; flex-direction: column; gap: 0.5rem; }
.wallet-list.missing { border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 0.8rem; }
.wallet-btn {
  display: flex; align-items: center; gap: 0.8rem; width: 100%; padding: 0.8rem 0.95rem; border-radius: 12px; color: var(--text);
  background: var(--bg-2); border: 1px solid rgba(255, 255, 255, 0.09); cursor: pointer; text-align: left; transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.wallet-btn:hover { border-color: var(--line-strong); background: #0f1424; transform: translateY(-1px); text-decoration: none; }
.wallet-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.wallet-btn.ghost { background: transparent; opacity: 0.75; }
.wallet-btn.ghost:hover { opacity: 1; }
.wallet-btn .w-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #1b2133; font-size: 1rem; overflow: hidden; flex: none; color: var(--accent); }
.wallet-btn .w-icon img { width: 100%; height: 100%; object-fit: cover; }
.wallet-btn .w-name { font-weight: 600; flex: 1; }
.wallet-btn .w-hint { font-size: 0.78rem; color: var(--accent); }
.wallet-btn .spinner { width: 16px; height: 16px; border: 2px solid var(--line-strong); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.none { margin: 0.2rem 0; font-size: 0.9rem; }
.email-form { display: flex; flex-direction: column; gap: 0.7rem; }

