/* ============================================================
   GoldenPulse — design system 2025
   glass · aurora · gold dust · neural glow
   ============================================================ */

/* ---------- fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+FEFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+FEFF;
}

/* ---------- tokens ---------- */
:root {
  --gold: #FFC84D;
  --gold-hi: #FFE49A;
  --gold2: #FF9B2F;
  --gold-deep: #C97B04;
  --bg: #05060C;
  --bg-2: #0A0D1A;
  --card: rgba(15, 19, 38, .55);
  --card-solid: #0D1122;
  --line: rgba(255, 255, 255, .07);
  --line-gold: rgba(255, 200, 77, .22);
  --txt: #EDF0F8;
  --mut: #8B96B8;
  --ok: #2FE6A7;
  --bad: #FF5E7A;
  --blue: #6A8CFF;
  --violet: #8B5CF6;
  --radius: 18px;
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(255, 200, 77, .35); color: #fff; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1c2340; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2a3358; }

/* ---------- aurora background ---------- */
.gp-aurora {
  position: fixed; inset: 0; z-index: -3; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 75% -10%, rgba(255, 155, 47, .10), transparent 62%),
    radial-gradient(900px 620px at 8% 108%, rgba(139, 92, 246, .10), transparent 60%),
    radial-gradient(700px 500px at 55% 55%, rgba(47, 230, 167, .035), transparent 65%),
    var(--bg);
}
.gp-aurora::before, .gp-aurora::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .55;
  will-change: transform;
}
.gp-aurora::before {
  width: 46vw; height: 46vw; left: -12vw; top: -10vw;
  background: radial-gradient(circle, rgba(255, 155, 47, .16), transparent 65%);
  animation: aurora-drift-1 26s ease-in-out infinite alternate;
}
.gp-aurora::after {
  width: 40vw; height: 40vw; right: -10vw; bottom: -14vw;
  background: radial-gradient(circle, rgba(139, 92, 246, .14), transparent 65%);
  animation: aurora-drift-2 32s ease-in-out infinite alternate;
}
@keyframes aurora-drift-1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(9vw, 7vh, 0) scale(1.18); }
}
@keyframes aurora-drift-2 {
  0% { transform: translate3d(0, 0, 0) scale(1.1); }
  100% { transform: translate3d(-8vw, -6vh, 0) scale(.92); }
}

/* grid overlay */
.gp-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
}

/* ---------- shared primitives ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; position: relative; }

a { color: var(--gold); text-decoration: none; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 19px; letter-spacing: .4px; color: #fff;
}
.logo b {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.glogo { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 0 8px rgba(255, 200, 77, .45)); }
.logo .ai-tag {
  font-family: var(--font-body);
  font-size: 10px; color: #1a1200; background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 5px; padding: 2px 6px; font-weight: 900;
  box-shadow: 0 0 14px rgba(255, 200, 77, .4);
}

/* glass card */
.gcard {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015) 42%), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
.gcard.hoverable { transition: transform .45s var(--ease-out), border-color .3s, box-shadow .45s; }
.gcard.hoverable:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 200, 77, .08), 0 8px 34px -8px rgba(255, 200, 77, .14);
}

/* conic border spotlight card */
.card-glow { position: relative; overflow: hidden; }
.card-glow::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--spot-angle, 0deg) at var(--mx, 50%) var(--my, 50%),
    transparent 0deg, rgba(255, 200, 77, .55) 40deg, transparent 90deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.card-glow:hover::before { opacity: 1; }
.card-glow::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 200, 77, .09), transparent 55%);
  opacity: 0; transition: opacity .35s;
}
.card-glow:hover::after { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 38%, var(--gold2));
  color: #1a1200; font-weight: 800; border: 0; border-radius: 12px;
  padding: 14px 28px; font-size: 15px; font-family: var(--font-body);
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 28px -6px rgba(255, 180, 40, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .18s var(--ease-spring), box-shadow .3s, filter .2s;
  will-change: transform;
}
.btn::before { /* sweep shine */
  content: ""; position: absolute; top: -60%; bottom: -60%; width: 34%; left: -50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-22deg); transition: left .7s var(--ease-out); z-index: 1;
}
.btn:hover::before { left: 130%; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -6px rgba(255, 180, 40, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn:active { transform: translateY(0) scale(.975); transition-duration: .05s; }
.btn.ghost {
  background: rgba(255, 200, 77, .06); color: var(--gold);
  border: 1px solid rgba(255, 200, 77, .35);
  box-shadow: none;
}
.btn.ghost:hover { background: rgba(255, 200, 77, .13); border-color: rgba(255, 200, 77, .6); box-shadow: 0 0 24px rgba(255, 200, 77, .15); }
.btn.sm { padding: 9px 18px; font-size: 13px; border-radius: 10px; }
.btn.lg { padding: 17px 42px; font-size: 16.5px; border-radius: 14px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn .arr { transition: transform .25s var(--ease-spring); }
.btn:hover .arr { transform: translateX(4px); }

/* pulse ring on primary CTA */
.btn-pulse::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit;
  border: 2px solid rgba(255, 200, 77, .65); z-index: -1;
  animation: btn-pulse 2.4s var(--ease-out) infinite;
}
@keyframes btn-pulse {
  0% { transform: scale(1); opacity: .9; }
  70%, 100% { transform: scale(1.16); opacity: 0; }
}

/* magnetic */
[data-magnetic] { transition: transform .3s var(--ease-spring); will-change: transform; }

/* ---------- badge / chip / live dot ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 200, 77, .09); border: 1px solid rgba(255, 200, 77, .3);
  color: var(--gold); border-radius: 999px; padding: 7px 15px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 8px rgba(47, 230, 167, .9);
  animation: live-blink 1.8s ease-in-out infinite;
}
@keyframes live-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.pulse {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--ok); color: #041b12; font-size: 10px; font-weight: 900;
  padding: 3px 10px; border-radius: 20px; letter-spacing: .6px;
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 230, 167, .5); }
  50% { box-shadow: 0 0 0 8px rgba(47, 230, 167, 0); }
}

/* ---------- inputs ---------- */
input, select, textarea {
  width: 100%; background: rgba(9, 12, 24, .8); border: 1px solid var(--line);
  border-radius: 12px; color: var(--txt); padding: 13px 15px; font-size: 14px;
  font-family: var(--font-body); outline: none;
  transition: border-color .2s, box-shadow .25s, background .2s;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(255, 200, 77, .65);
  box-shadow: 0 0 0 3px rgba(255, 200, 77, .14), 0 0 22px rgba(255, 200, 77, .08);
  background: rgba(9, 12, 24, .95);
}
input::placeholder { color: #596180; }

.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 11px; color: var(--mut);
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 7px; font-weight: 600;
}

/* ---------- header ---------- */
header.gp-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(5, 6, 12, .72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
header.gp-head.scrolled { border-bottom-color: var(--line); background: rgba(5, 6, 12, .88); }
header.gp-head .wrap { display: flex; align-items: center; height: 66px; gap: 18px; }

/* nav */
.gp-nav { display: flex; gap: 4px; margin-left: 8px; }
.gp-nav a {
  padding: 9px 15px; border-radius: 10px; color: var(--mut);
  font-size: 13px; font-weight: 600; transition: color .2s, background .2s;
}
.gp-nav a:hover { color: var(--txt); background: rgba(255, 255, 255, .05); }
.gp-nav a.on { color: var(--gold); background: rgba(255, 200, 77, .12); }

/* ---------- ticker marquee ---------- */
.gp-ticker {
  position: relative; overflow: hidden; border-block: 1px solid var(--line);
  background: rgba(9, 12, 24, .55); backdrop-filter: blur(8px);
  padding: 10px 0; font-family: 'Sora', monospace; font-size: 12px;
}
.gp-ticker .tk-track {
  display: flex; gap: 44px; width: max-content;
  animation: ticker-scroll 36s linear infinite;
}
.gp-ticker:hover .tk-track { animation-play-state: paused; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
.tk-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--mut); }
.tk-item b { color: var(--txt); font-weight: 700; }
.tk-item .up { color: var(--ok); font-weight: 700; }
.tk-item .dn { color: var(--bad); font-weight: 700; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-blur { opacity: 0; transform: translateY(24px) scale(.98); filter: blur(10px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s;
  transition-delay: var(--rd, 0ms); }
.reveal-blur.in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- shimmer skeleton ---------- */
.shimmer {
  position: relative; overflow: hidden; background: rgba(255, 255, 255, .04); border-radius: 8px;
}
.shimmer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent);
  animation: shimmer-sweep 1.6s infinite;
}
@keyframes shimmer-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- price flash ---------- */
@keyframes flash-up { 0% { color: var(--ok); text-shadow: 0 0 18px rgba(47, 230, 167, .8); } 100% { } }
@keyframes flash-dn { 0% { color: var(--bad); text-shadow: 0 0 18px rgba(255, 94, 122, .8); } 100% { } }
.flash-up { animation: flash-up .9s ease-out; }
.flash-dn { animation: flash-dn .9s ease-out; }

/* ---------- HUD ---------- */
.hudbar {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 2px 6px;
  padding: 9px 12px; background: rgba(6, 8, 18, .65);
  border: 1px solid rgba(255, 200, 77, .16); border-radius: 10px;
  font-family: 'Sora', monospace; font-size: 10px; color: var(--mut); letter-spacing: .5px;
}
.hudbar b { color: var(--gold); font-weight: 700; }
.hudbar i.dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); margin-right: 6px; box-shadow: 0 0 7px rgba(47, 230, 167, .8);
  animation: live-blink 2.4s ease-in-out infinite;
}
.nscan {
  display: inline-flex; align-items: center; gap: 5px; margin-left: 10px;
  padding: 3px 11px; border-radius: 20px; border: 1px solid rgba(255, 200, 77, .4);
  color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: 1.4px;
  animation: live-blink 3s ease-in-out infinite;
}

/* scan beam over charts */
.scanbeam {
  position: absolute; top: 46px; bottom: 96px; width: 52px; pointer-events: none; left: -10%;
  background: linear-gradient(90deg, transparent, rgba(255, 200, 77, .10) 42%, rgba(255, 200, 77, .5) 50%, rgba(255, 200, 77, .10) 58%, transparent);
  animation: gp-scan 13s linear infinite; z-index: 2;
}
.scanbeam::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: rgba(255, 230, 140, .85); box-shadow: 0 0 14px rgba(255, 200, 77, .8);
}
@keyframes gp-scan { 0% { left: -10%; } 100% { left: 105%; } }
@media (max-width: 640px) {
  .scanbeam { top: 84px; bottom: 92px; opacity: .65; }
}

/* ---------- toast ---------- */
.gp-toast {
  position: fixed; bottom: 26px; left: 50%; z-index: 400;
  background: rgba(13, 17, 34, .92); border: 1px solid rgba(255, 200, 77, .5);
  color: var(--txt); padding: 13px 24px; border-radius: 14px; font-size: 13.5px;
  backdrop-filter: blur(14px); box-shadow: 0 18px 50px rgba(0, 0, 0, .65);
  transform: translate(-50%, 80px); opacity: 0;
  transition: transform .45s var(--ease-spring), opacity .35s;
  display: flex; align-items: center; gap: 9px; max-width: min(92vw, 440px);
}
.gp-toast.show { transform: translate(-50%, 0); opacity: 1; }
.gp-toast.ok { border-color: rgba(47, 230, 167, .55); }
.gp-toast.err { border-color: rgba(255, 94, 122, .6); }

/* ---------- confetti canvas ---------- */
.gp-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 500; }

/* ---------- gold particles canvas ---------- */
.gp-canvas-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ---------- number odometer ---------- */
.odo { display: inline-block; font-variant-numeric: tabular-nums; }

/* ---------- status pills ---------- */
.status-pill { display: none; padding: 13px 17px; border-radius: 12px; font-size: 13px; font-weight: 700; text-align: center; }
.status-pill.wait { display: block; background: rgba(255, 200, 77, .1); border: 1px solid rgba(255, 200, 77, .4); color: var(--gold); animation: soft-breathe 2.6s ease-in-out infinite; }
.status-pill.done { display: block; background: rgba(47, 230, 167, .13); border: 1px solid rgba(47, 230, 167, .5); color: var(--ok); }
@keyframes soft-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 200, 77, 0); } 50% { box-shadow: 0 0 26px -2px rgba(255, 200, 77, .28); } }

/* error / ok boxes */
.errbox { display: none; background: rgba(255, 94, 122, .1); border: 1px solid rgba(255, 94, 122, .4); color: #ffb0bd; border-radius: 12px; padding: 11px 15px; font-size: 13px; margin-bottom: 14px; }
.okbox { display: none; background: rgba(47, 230, 167, .09); border: 1px solid rgba(47, 230, 167, .35); color: #9df0d6; border-radius: 12px; padding: 11px 15px; font-size: 13px; margin-bottom: 14px; }
.errbox.shake, .shake { animation: gp-shake .5s var(--ease-out); }
@keyframes gp-shake {
  10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-3px); } 40%, 60% { transform: translateX(3px); }
}

/* ---------- language picker ---------- */
#gpLangPick {
  position: fixed; right: 22px; bottom: 92px; z-index: 79;
  background: rgba(13, 17, 34, .9); border: 1px solid var(--line); border-radius: 12px;
  padding: 7px 13px; font-size: 12px; display: flex; gap: 8px; align-items: center;
  backdrop-filter: blur(10px); transition: border-color .2s, box-shadow .3s;
}
#gpLangPick:hover { border-color: var(--line-gold); box-shadow: 0 0 20px rgba(255, 200, 77, .1); }
#gpLangPick select { background: transparent; border: 0; color: #fff; font-size: 12px; outline: none; }

/* ---------- support chat ---------- */
#gpChatBtn {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px;
  border-radius: 50%; background: linear-gradient(135deg, var(--gold-hi), var(--gold) 40%, var(--gold2));
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 10px 32px rgba(255, 180, 40, .4); border: 0;
  transition: transform .25s var(--ease-spring), box-shadow .3s;
}
#gpChatBtn:hover { transform: scale(1.09); box-shadow: 0 12px 40px rgba(255, 180, 40, .55); }
#gpChatBtn:active { transform: scale(.94); }
#gpChatBtn svg { width: 26px; height: 26px; }
#gpChatBtn::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid rgba(255, 200, 77, .5); animation: btn-pulse 2.8s var(--ease-out) infinite;
}
#gpChat {
  position: fixed; right: 22px; bottom: 88px; z-index: 81; width: 350px;
  max-width: calc(100vw - 44px); height: 450px;
  background: rgba(13, 17, 34, .92); border: 1px solid var(--line); border-radius: 18px;
  display: none; flex-direction: column; overflow: hidden;
  backdrop-filter: blur(20px); box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
}
#gpChat.open { display: flex; animation: chat-pop .35s var(--ease-spring); }
@keyframes chat-pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.gpch-h { background: linear-gradient(135deg, rgba(255, 200, 77, .16), transparent); padding: 14px 17px; border-bottom: 1px solid var(--line); font-weight: 800; }
.gpch-h span { font-size: 11px; color: var(--ok); font-weight: 600; display: block; margin-top: 2px; }
.gpch-b { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 80%; padding: 9px 14px; border-radius: 13px; font-size: 13px; line-height: 1.45; }
.msg.me { background: rgba(255, 200, 77, .13); border: 1px solid rgba(255, 200, 77, .3); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.ag { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.gpch-i { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.gpch-i input { border-radius: 10px; font-size: 13px; }
.gpch-i button { padding: 0 15px; border-radius: 10px; }

/* ---------- text gradient ---------- */
.grad-gold {
  background: linear-gradient(135deg, var(--gold-hi) 10%, var(--gold) 42%, var(--gold2) 75%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.grad-text-shine {
  background: linear-gradient(110deg, #fff 25%, var(--gold-hi) 38%, var(--gold) 50%, #fff 65%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: text-shine 5s linear infinite;
}
@keyframes text-shine { to { background-position: -220% 0; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 14px; }
  header.gp-head .wrap { height: auto; min-height: 56px; flex-wrap: wrap; padding-block: 8px; gap: 8px; }
  .logo { font-size: 15px; gap: 7px; }
  .logo .logotext { display: none; }
  .glogo { width: 26px; height: 26px; }
  .gp-nav { order: 3; flex-basis: 100%; margin-left: 0; overflow-x: auto; }
  .gp-nav a { flex: 1; text-align: center; padding: 8px 10px; font-size: 12px; white-space: nowrap; }
  .btn.sm { padding: 8px 13px; font-size: 12px; }
  input, select { font-size: 16px; }
  #gpLangPick { bottom: 86px; right: 14px; padding: 5px 9px; }
  #gpChatBtn { right: 16px; bottom: 16px; }
  #gpChat { right: 16px; bottom: 80px; }
}

/* ============================================================
   v2 — cinematic layer: grain · cursor · marquee · pushes
   ============================================================ */

/* film grain */
.gp-grain {
  position: fixed; inset: -100px; z-index: 250; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .045; mix-blend-mode: overlay;
  animation: grain-jitter 1.1s steps(4) infinite;
}
@keyframes grain-jitter {
  0% { transform: translate(0, 0); } 25% { transform: translate(-18px, 12px); }
  50% { transform: translate(14px, -20px); } 75% { transform: translate(-10px, -14px); } 100% { transform: translate(0, 0); }
}

/* custom cursor (desktop only) */
.gp-cursor, .gp-cursor-ring { position: fixed; top: 0; left: 0; z-index: 9990; pointer-events: none; border-radius: 50%; }
.gp-cursor {
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  background: var(--gold); box-shadow: 0 0 10px rgba(255, 200, 77, .9), 0 0 26px rgba(255, 200, 77, .5);
}
.gp-cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1.5px solid rgba(255, 200, 77, .45);
  transition: width .25s var(--ease-out), height .25s var(--ease-out), margin .25s var(--ease-out), border-color .25s, background .25s;
}
.gp-cursor-ring.hot {
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-color: rgba(255, 200, 77, .85); background: rgba(255, 200, 77, .07);
}
@media (pointer: coarse) { .gp-cursor, .gp-cursor-ring { display: none; } }

/* split-text chars */
.split-c { display: inline-block; opacity: 0; transform: translateY(.65em) rotate(4deg); animation: char-rise .75s var(--ease-out) forwards; animation-delay: calc(var(--i) * 28ms + var(--base, 0ms)); }
@keyframes char-rise { to { opacity: 1; transform: none; } }

/* animated conic border */
@property --ga { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.border-anim { position: relative; }
.border-anim::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ga), transparent 8%, rgba(255, 200, 77, .8) 18%, rgba(47, 230, 167, .5) 26%, transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-spin 5s linear infinite; pointer-events: none;
}
@keyframes border-spin { to { --ga: 360deg; } }

/* logo marquee */
.gp-marquee {
  overflow: hidden; position: relative; padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mq-track { display: flex; gap: 54px; width: max-content; align-items: center; animation: mq-scroll 30s linear infinite; }
.gp-marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq-scroll { to { transform: translateX(-50%); } }
.plogo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 17px; color: #97A1C0; opacity: .55; filter: grayscale(1); transition: opacity .3s, filter .3s, color .3s, transform .3s; white-space: nowrap; }
.plogo:hover { opacity: 1; filter: none; color: #fff; transform: translateY(-2px); }
.plogo svg { width: 22px; height: 22px; flex: none; }

/* social proof pushes */
.gp-push {
  position: fixed; left: 22px; bottom: 22px; z-index: 390;
  display: flex; align-items: center; gap: 12px; max-width: 340px;
  background: rgba(13, 17, 34, .92); border: 1px solid rgba(255, 200, 77, .35);
  border-radius: 16px; padding: 12px 16px 14px 12px; cursor: pointer;
  backdrop-filter: blur(16px); box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 200, 77, .06);
  transform: translateX(-120%); opacity: 0;
  transition: transform .55s var(--ease-spring), opacity .4s;
  overflow: hidden;
}
.gp-push.show { transform: none; opacity: 1; }
.gp-push .pa { width: 38px; height: 38px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.gp-push .pt { font-size: 12.5px; line-height: 1.45; color: var(--txt); }
.gp-push .pt b { color: var(--gold); }
.gp-push .pt .tm { display: block; font-size: 10px; color: var(--mut); margin-top: 2px; }
.gp-push .bar { position: absolute; left: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold2)); width: 100%; transform-origin: left; animation: push-bar linear forwards; animation-duration: inherit; }
@keyframes push-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 640px) { .gp-push { left: 12px; right: 12px; max-width: none; bottom: 12px; } }

/* reviews */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0 10px; }
.rev-card { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rev-stars { display: flex; gap: 3px; font-size: 14px; letter-spacing: 1px; }
.rev-stars .f { color: var(--gold); text-shadow: 0 0 10px rgba(255, 200, 77, .55); }
.rev-stars .e { color: rgba(255, 255, 255, .16); }
.rev-text { font-size: 13.5px; line-height: 1.7; color: #C7CEE4; flex: 1; }
.rev-text::before { content: "“"; display: block; font-family: var(--font-display); font-size: 34px; line-height: .4; color: rgba(255, 200, 77, .5); margin-bottom: 8px; }
.rev-foot { display: flex; align-items: center; gap: 11px; border-top: 1px solid rgba(255, 255, 255, .06); padding-top: 13px; }
.rev-av { width: 38px; height: 38px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; color: #fff; }
.rev-who { font-size: 12.5px; font-weight: 700; }
.rev-who .flag { margin-right: 4px; }
.rev-meta { font-size: 10.5px; color: var(--mut); margin-top: 1px; }
.rev-meta b { color: var(--ok); }
.rev-ver { margin-left: auto; flex: none; font-size: 9px; font-weight: 900; letter-spacing: .6px; color: var(--ok); background: rgba(47, 230, 167, .1); border: 1px solid rgba(47, 230, 167, .35); border-radius: 20px; padding: 4px 9px; }
@media (max-width: 900px) { .rev-grid { grid-template-columns: 1fr; } }

/* AI process timeline */
.tl { position: relative; margin: 30px 0 20px; padding-left: 34px; }
.tl::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(47, 230, 167, .6), transparent); border-radius: 2px; box-shadow: 0 0 12px rgba(255, 200, 77, .35); }
.tl-step { position: relative; padding: 0 0 30px; }
.tl-step:last-child { padding-bottom: 4px; }
.tl-dot { position: absolute; left: -34px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: rgba(9, 12, 24, .9); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; color: var(--gold); box-shadow: 0 0 16px rgba(255, 200, 77, .45); }
.tl-step h3 { font-size: 16px; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; }
.tl-step h3 .emo { font-size: 19px; filter: drop-shadow(0 0 8px rgba(255, 200, 77, .5)); }
.tl-step p { color: var(--mut); font-size: 13.5px; line-height: 1.7; max-width: 560px; }
.tl-step .metric { display: inline-block; margin-top: 8px; font-family: var(--font-display); font-size: 10.5px; font-weight: 700; color: var(--gold); background: rgba(255, 200, 77, .08); border: 1px solid rgba(255, 200, 77, .28); border-radius: 8px; padding: 4px 11px; letter-spacing: .5px; }

/* confidence meter */
.conf-meter { height: 7px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; margin-top: 12px; max-width: 300px; }
.conf-meter i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--gold2), var(--gold), var(--ok)); box-shadow: 0 0 14px rgba(255, 200, 77, .5); animation: conf-fill 3.4s var(--ease-out) infinite; }
@keyframes conf-fill { 0% { width: 12%; } 55% { width: 91%; } 70% { width: 88%; } 100% { width: 12%; } }

/* ============================================================
   v4 — premium: preloader · progress · ripple · odometer · 3d
   ============================================================ */

/* ---------- preloader ---------- */
.gp-preloader {
  position: fixed; inset: 0; z-index: 2000; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity .55s ease, visibility .55s;
}
.gp-preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.gp-preloader .pl-ring { position: relative; width: 92px; height: 92px; }
.gp-preloader .pl-ring::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(255, 200, 77, .25); border-top-color: var(--gold);
  animation: pl-spin 1s linear infinite;
}
@keyframes pl-spin { to { transform: rotate(360deg); } }
.gp-preloader svg .drc { stroke-dasharray: 107; stroke-dashoffset: 107; animation: svg-draw 1.1s .1s ease forwards; }
.gp-preloader svg .drp { stroke-dasharray: 46; stroke-dashoffset: 46; animation: svg-draw .8s .55s ease forwards; }
@keyframes svg-draw { to { stroke-dashoffset: 0; } }
.gp-preloader .pl-bar { width: 170px; height: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
.gp-preloader .pl-bar i { display: block; height: 100%; width: 38%; background: linear-gradient(90deg, var(--gold), var(--gold2)); border-radius: 2px; animation: pl-slide .85s ease-in-out infinite; box-shadow: 0 0 12px rgba(255, 200, 77, .7); }
@keyframes pl-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(480%); } }
.gp-preloader .pl-txt { font-size: 10px; letter-spacing: 3.5px; color: var(--mut); text-transform: uppercase; font-weight: 600; }

/* header logo draw-on (landing, once) */
.glogo.draw circle { stroke-dasharray: 107; stroke-dashoffset: 107; animation: svg-draw 1.2s .2s ease forwards; }
.glogo.draw path { stroke-dasharray: 46; stroke-dashoffset: 46; animation: svg-draw .9s .7s ease forwards; }

/* ---------- scroll progress ---------- */
.gp-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 1200;
  background: linear-gradient(90deg, var(--gold), var(--gold2), var(--ok));
  box-shadow: 0 0 12px rgba(255, 200, 77, .65);
}

/* ---------- premium top-edge light on cards ---------- */
.gcard { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .075); }
.gcard.hoverable:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1),
    0 24px 60px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 200, 77, .08), 0 8px 34px -8px rgba(255, 200, 77, .14);
}

/* ---------- ripple ---------- */
.rippled { position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.gp-ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(255, 244, 214, .55), rgba(255, 200, 77, .22) 42%, transparent 70%);
  transform: scale(0); animation: gp-rip .65s ease-out forwards;
}
@keyframes gp-rip { to { transform: scale(1); opacity: 0; } }

/* ---------- odometer digits ---------- */
.odo2 { display: inline-flex; overflow: hidden; height: 1.05em; line-height: 1.05em; vertical-align: baseline; }
.odo2 .dg { position: relative; display: inline-block; width: .6em; height: 1.05em; }
.odo2 .dg .col { position: absolute; left: 0; top: .025em; display: flex; flex-direction: column; transition: transform .55s var(--ease-out); will-change: transform; }
.odo2 .dg .col span { height: 1.05em; line-height: 1.05em; display: block; text-align: center; }
.odo2 .st { width: auto; }

/* ---------- 3D gold coin ---------- */
.gp-coinwrap { position: absolute; z-index: 5; perspective: 700px; animation: floaty 5.5s ease-in-out infinite; pointer-events: none; }
.gp-coin { width: 88px; height: 88px; position: relative; transform-style: preserve-3d; animation: coin-spin 7s cubic-bezier(.45,.05,.55,.95) infinite; }
.gp-coin .face {
  position: absolute; inset: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: radial-gradient(circle at 32% 28%, #FFE9AE, #FFC84D 45%, #C97B04 90%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35), inset 0 -7px 16px rgba(122, 62, 0, .55), 0 20px 44px rgba(0, 0, 0, .55);
}
.gp-coin .face.back { transform: rotateY(180deg); }
.gp-coin .face svg { width: 54%; height: 54%; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .4)); }
.gp-coin .face .emb { color: #8a5300; font-family: var(--font-display); font-weight: 800; font-size: 34px; text-shadow: 0 1px 0 rgba(255,255,255,.45); }
@keyframes coin-spin {
  0% { transform: rotateY(0) rotateZ(-7deg); }
  50% { transform: rotateY(180deg) rotateZ(7deg); }
  100% { transform: rotateY(360deg) rotateZ(-7deg); }
}
@media (max-width: 1100px) { .gp-coinwrap { display: none; } }

/* ---------- section watermarks ---------- */
[data-wm] { position: relative; }
[data-wm]::after {
  content: attr(data-wm); position: absolute; top: -38px; left: -14px; z-index: 0;
  font-family: var(--font-display); font-size: 128px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .055); pointer-events: none;
}
@media (max-width: 900px) { [data-wm]::after { font-size: 84px; top: -26px; } }

/* ---------- ambient spotlight ---------- */
.gp-ambient {
  position: absolute; width: 540px; height: 540px; border-radius: 50%; z-index: 1;
  pointer-events: none; transform: translate(-50%, -50%); opacity: 0;
  background: radial-gradient(circle, rgba(255, 200, 77, .11), transparent 62%);
  mix-blend-mode: screen; transition: opacity .8s;
}
.gp-ambient.on { opacity: 1; }

/* ---------- exit-intent modal ---------- */
.gp-exit {
  position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(3, 4, 9, .72); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.gp-exit.show { opacity: 1; visibility: visible; }
.gp-exit .ex-card { position: relative; max-width: 450px; width: 100%; padding: 36px 32px 30px; text-align: center; transform: translateY(26px) scale(.95); transition: transform .5s var(--ease-spring); }
.gp-exit.show .ex-card { transform: none; }
.gp-exit h3 { font-family: var(--font-display); font-size: 27px; font-weight: 800; margin: 15px 0 9px; letter-spacing: -.4px; }
.gp-exit p { color: var(--mut); font-size: 14px; line-height: 1.7; margin-bottom: 22px; }
.gp-exit .ex-close { position: absolute; top: 10px; right: 13px; background: none; border: 0; color: var(--mut); font-size: 21px; cursor: pointer; padding: 6px; line-height: 1; transition: color .2s; }
.gp-exit .ex-close:hover { color: var(--txt); }
.gp-exit .ex-mini { display: flex; justify-content: center; gap: 26px; margin-bottom: 24px; }
.gp-exit .ex-mini div { font-size: 10px; color: var(--mut); text-transform: uppercase; letter-spacing: 1px; }
.gp-exit .ex-mini b { display: block; font-size: 19px; font-family: var(--font-display); font-weight: 800; color: var(--gold); margin-bottom: 3px; text-transform: none; letter-spacing: 0; }
.gp-exit .ex-flame { font-size: 40px; display: inline-block; animation: ex-flame 1.6s ease-in-out infinite; filter: drop-shadow(0 0 18px rgba(255, 155, 47, .7)); }
@keyframes ex-flame { 0%, 100% { transform: scale(1) rotate(-4deg); } 50% { transform: scale(1.12) rotate(4deg); } }
