/* ZenPips programėlė – PREMIUM išvaizda: animuotas fonas, įžanga, hero kortelė, mygtukai, skirtukai. */
body { background: #05080F; }

/* animuotas fonas */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, #0E1838 0%, #070B14 55%, #05080F 100%); }
.bg-fx i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.bg-fx .a1 { width: 70vw; height: 70vw; left: -20vw; top: -15vw; background: radial-gradient(circle, rgba(232, 185, 35, .35), transparent 65%); animation: zpFloat1 18s ease-in-out infinite alternate; }
.bg-fx .a2 { width: 60vw; height: 60vw; right: -25vw; top: 35vh; background: radial-gradient(circle, rgba(59, 91, 219, .35), transparent 65%); animation: zpFloat2 22s ease-in-out infinite alternate; }
.bg-fx .a3 { width: 50vw; height: 50vw; left: 10vw; bottom: -20vw; background: radial-gradient(circle, rgba(232, 185, 35, .18), transparent 65%); animation: zpFloat1 26s ease-in-out infinite alternate-reverse; }
.bg-fx b { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: #E8B923; opacity: 0; animation: zpRise 12s linear infinite; }
.bg-fx b:nth-of-type(1) { left: 8%; animation-delay: 0s; }
.bg-fx b:nth-of-type(2) { left: 22%; animation-delay: 3s; background: #8FA6D9; }
.bg-fx b:nth-of-type(3) { left: 37%; animation-delay: 6s; }
.bg-fx b:nth-of-type(4) { left: 51%; animation-delay: 1.5s; width: 2px; height: 2px; }
.bg-fx b:nth-of-type(5) { left: 64%; animation-delay: 4.5s; background: #8FA6D9; }
.bg-fx b:nth-of-type(6) { left: 77%; animation-delay: 7.5s; }
.bg-fx b:nth-of-type(7) { left: 88%; animation-delay: 9s; width: 2px; height: 2px; }
.bg-fx b:nth-of-type(8) { left: 95%; animation-delay: 2.2s; }
@keyframes zpFloat1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(12vw, 8vh) scale(1.15); } }
@keyframes zpFloat2 { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-14vw, -10vh) scale(.95); } }
@keyframes zpRise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } 85% { opacity: .5; } 100% { transform: translateY(-105vh); opacity: 0; } }

/* įžangos ekranas */
#splash { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 6px;
  background: radial-gradient(90% 60% at 50% 40%, #101C40 0%, #070B14 60%, #04060C 100%); transition: opacity .55s ease, visibility .55s; }
#splash.done { opacity: 0; visibility: hidden; }
#splash img { position: relative; animation: zpPop .9s cubic-bezier(.2, .9, .25, 1.2) both; filter: drop-shadow(0 10px 30px rgba(232, 185, 35, .35)); }
#splash .sp-glow { position: absolute; width: 260px; height: 260px; left: 50%; top: 42%; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(232, 185, 35, .45), transparent 65%); animation: zpPulse 1.6s ease-in-out infinite; }
#splash .sp-name { position: relative; font-size: 34px; font-weight: 800; letter-spacing: .02em;
  background: linear-gradient(90deg, #C9971A, #FFE48A 45%, #C9971A 55%, #FFE48A); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: zpUp .7s .25s both, zpShine 2.2s linear infinite; }
#splash .sp-sub { position: relative; font-size: 11px; letter-spacing: .28em; color: #B8902A; font-weight: 700; animation: zpUp .7s .4s both; }
#splash .sp-bar { position: relative; width: 140px; height: 3px; margin-top: 18px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
#splash .sp-bar span { position: absolute; top: 0; bottom: 0; width: 40%; border-radius: 3px; background: linear-gradient(90deg, transparent, #E8B923, transparent); animation: zpLoad 1.1s ease-in-out infinite; }
@keyframes zpPop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes zpUp { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes zpPulse { 0%, 100% { transform: translate(-50%, -50%) scale(.9); opacity: .7; } 50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } }
@keyframes zpShine { to { background-position: 200% center; } }
@keyframes zpLoad { from { left: -40%; } to { left: 100%; } }

/* stiklo kortelės ir ekranų perėjimai */
.screen .card, .item, .kpis .card { background: linear-gradient(180deg, rgba(22, 31, 54, .78), rgba(14, 20, 36, .78));
  border: 1px solid rgba(64, 84, 130, .35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 16px; }
.screen:not(.hidden) { animation: zpUp .35s ease both; }
.bar { background: rgba(7, 11, 20, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.bar .title { background: linear-gradient(90deg, #FFE48A, #E8B923); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* hero kortelė */
.hero { position: relative; overflow: hidden; padding: 18px 18px 26px; margin-bottom: 12px; border-radius: 20px;
  background: radial-gradient(140% 120% at 100% 0%, rgba(232, 185, 35, .20), transparent 55%),
              radial-gradient(120% 120% at 0% 100%, rgba(59, 91, 219, .22), transparent 55%),
              linear-gradient(180deg, #121B36, #0B1124);
  border: 1px solid rgba(232, 185, 35, .35); box-shadow: 0 10px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); }
.hero.live { border-color: rgba(47, 191, 113, .45);
  background: radial-gradient(140% 120% at 100% 0%, rgba(47, 191, 113, .20), transparent 55%),
              radial-gradient(120% 120% at 0% 100%, rgba(59, 91, 219, .22), transparent 55%),
              linear-gradient(180deg, #10203A, #0B1124); }
.hero-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; position: relative; z-index: 1; }
.hero-state { font-weight: 800; font-size: 17px; }
.hero-k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); position: relative; z-index: 1; }
.hero .big { font-size: 36px; position: relative; z-index: 1; }
.hero .small { position: relative; z-index: 1; }
.hero .cur { font-size: 14px; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.gold-text { background: linear-gradient(90deg, #FFE9A6, #E8B923 60%, #C9971A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .ring { position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .05); }
.hero .ring i { width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.hero .ring.on i { background: var(--green); box-shadow: 0 0 12px var(--green); }
.hero .ring.on::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid var(--green); animation: zpRing 1.8s ease-out infinite; }
@keyframes zpRing { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 56px; opacity: .55; }
.hero-wave path { fill: none; stroke: #E8B923; stroke-width: 2; stroke-dasharray: 600; stroke-dashoffset: 600;
  animation: zpDraw 2.4s ease forwards, zpGlow 3s ease-in-out 2.4s infinite; }
.hero.live .hero-wave path { stroke: #2FBF71; }
@keyframes zpDraw { to { stroke-dashoffset: 0; } }
@keyframes zpGlow { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }

/* premium mygtukai */
.btn { border-radius: 12px; transition: transform .12s ease, box-shadow .2s ease, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn-gold { position: relative; overflow: hidden; border: 0; color: #1A1405;
  background: linear-gradient(180deg, #FFE48A 0%, #E8B923 55%, #C9971A 100%);
  box-shadow: 0 6px 20px rgba(232, 185, 35, .35), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-gold:hover { background: linear-gradient(180deg, #FFEDA8 0%, #F0C23A 55%, #D9A622 100%); color: #1A1405; }
.btn-gold::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg);
  animation: zpSweep 3.5s ease-in-out infinite; pointer-events: none; }
@keyframes zpSweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* skirtukai */
.tabs { background: rgba(10, 15, 28, .78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.tabs a { position: relative; transition: color .2s; }
.tabs a.on span { filter: drop-shadow(0 0 8px rgba(232, 185, 35, .7)); }
.tabs a.on::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, #E8B923, transparent); box-shadow: 0 0 12px rgba(232, 185, 35, .8); }
.auth-logo img { filter: drop-shadow(0 8px 26px rgba(232, 185, 35, .35)); animation: zpPop .8s cubic-bezier(.2, .9, .25, 1.2) both; }

/* ZenPips signalo kortelė (kaip Telegram kanale) */
.zen-sig { position: relative; overflow: hidden; border-radius: 18px; padding: 14px 14px 12px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(232, 185, 35, .20), transparent 60%), linear-gradient(180deg, #121B36, #0A1022);
  border: 1px solid rgba(232, 185, 35, .40); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.zen-sig::after { content: ""; position: absolute; top: 0; left: -60%; width: 35%; height: 100%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .10), transparent); transform: skewX(-20deg); animation: zpSweep 4.5s ease-in-out infinite; }
.zs-top { display: flex; align-items: center; gap: 10px; }
.zs-top img { filter: drop-shadow(0 0 10px rgba(232, 185, 35, .5)); }
.zs-sym { flex: 1; font-size: 22px; font-weight: 800; letter-spacing: .02em;
  background: linear-gradient(180deg, #FFE48A, #C9971A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zs-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; font-weight: 800; font-size: 13px; color: #1A1405;
  background: linear-gradient(180deg, #FFE48A, #E8B923 55%, #C9971A); box-shadow: 0 4px 14px rgba(232, 185, 35, .35); }
.zs-badge i { font-style: normal; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; font-size: 10px; }
.zen-sig.long .zs-badge i { background: var(--green); }
.zen-sig.short .zs-badge i { background: var(--red); }
.zs-lv, .zs-tp { display: grid; gap: 6px; margin-top: 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.zs-lv { grid-template-columns: 1fr 1fr; }
.zs-tp { grid-template-columns: repeat(3, 1fr); }
.zs-lv div, .zs-tp div { background: rgba(255, 255, 255, .05); border-radius: 10px; padding: 7px 9px; }
.zs-lv b, .zs-tp b { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.zs-lv .sl { box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .35); }
.zs-tp div { box-shadow: inset 0 0 0 1px rgba(47, 191, 113, .30); }
.zs-meta { margin-top: 10px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

@media (prefers-reduced-motion: reduce) {
  .zen-sig::after { animation: none; }
  .bg-fx i, .bg-fx b, .btn-gold::after, .hero .ring.on::after, #splash *, .screen:not(.hidden) { animation: none !important; }
  .hero-wave path { animation: none; stroke-dashoffset: 0; }
}

/* kalbos pasirinkimas nustatymuose */
.lang-pick { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.lang-pick a { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: none; }
.lang-pick a.on { background: linear-gradient(180deg, #FFE48A, #C9971A); color: #1A1405; }

/* Rekomendacijos */
.screen .card.ref-card { border-color: rgba(232, 185, 35, .45); background: linear-gradient(160deg, rgba(232, 185, 35, .14), rgba(14, 20, 36, .85) 60%); }
.ref-link { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px dashed rgba(232, 185, 35, .5); font-size: 13px; word-break: break-all; }
.ref-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; text-align: center; }
.ref-stats div { padding: 10px 4px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.ref-stats b { display: block; font-size: 20px; }
.ref-stats span { font-size: 12px; color: var(--muted, #8a94ab); }

.ref-progress { margin-top: 10px; }
.ref-progress div { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ref-progress i { display: block; height: 100%; min-width: 4px; background: linear-gradient(90deg, #c9971a, #f5cc4a); border-radius: 99px; }
.ref-progress span { display: block; font-size: 12px; color: var(--muted, #8a94ab); margin-top: 4px; }
