/* ===== ARTI.LT – animacijos, mobilus pritaikymas, Discord ===== */
:root {
  --serif: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --discord: #5865f2;
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
}
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { overflow-x: hidden; min-height: 100vh; min-height: 100dvh; -webkit-tap-highlight-color: transparent; padding-bottom: var(--sab); }
img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.site-header {  padding-top: var(--sat); }
.badge, .gallery .nav {  }

/* ---- fonas (lengvas: be blur / blend) ---- */
.glow { position: fixed; inset: -20% -10% auto -10%; height: 90vh; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 20% 30%, rgba(167, 139, 250,.16), transparent 70%), radial-gradient(35% 45% at 85% 20%, rgba(167, 139, 250,.08), transparent 70%);
  animation: glowmove 18s ease-in-out infinite alternate; }
@keyframes glowmove { to { transform: translate3d(6%, 8%, 0); } }

/* ---- header ---- */
.header-actions { display: flex; align-items: center; gap: 8px; }
.discord-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--discord); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; box-shadow: 0 6px 22px rgba(88, 101, 242, .35); }
.discord-btn svg { width: 20px; height: 20px; flex: none; }

@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.discord-btn.lg { padding: 14px 26px; font-size: 16px; }
.nav-link { min-height: 40px; display: inline-flex; align-items: center; }

/* ---- marquee: pilnai geltona juosta ---- */
.marquee { overflow: hidden; background: var(--accent); color: #0a0a0a; padding: 10px 0; white-space: nowrap; transform: rotate(-1.2deg); margin: 10px -2vw 0; }
.marquee div { display: inline-flex; animation: slide 26s linear infinite; font-family: var(--serif); font-weight: 800; font-size: 17px; letter-spacing: .06em; will-change: transform; }
.marquee span { display: inline-block; padding-right: 28px; }
.marquee span::after { content: "✦"; padding-left: 28px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---- hero ---- */
.hero { padding: clamp(44px, 9vw, 96px) 0 34px; }
.hero h1 { font-style: normal; font-weight: 800; font-size: clamp(40px, 10vw, 104px); line-height: .96; letter-spacing: -.04em; text-wrap: balance; color: var(--cream); }
.hero h1 .w:nth-child(odd) { color: var(--accent); }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(3deg); animation: wordIn .8s cubic-bezier(.2, .9, .2, 1) forwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero p { margin-top: 18px; font-size: clamp(15px, 2.2vw, 18px); }
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn.ghost { background: transparent; }

/* ---- kortelės ---- */
.card { position: relative; }
.card::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(167, 139, 250, .20), transparent 60%); }
.reveal { opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

.sale-tag { animation: pop 2.4s ease-in-out infinite; }
@keyframes pop { 50% { transform: scale(1.1) rotate(-3deg); } }
.chip.active { box-shadow: 0 0 0 4px rgba(167, 139, 250, .14); }
.chip { transition: all .2s, transform .15s; } .chip:active { transform: scale(.94); }
.btn:active, .discord-btn:active, .contact-btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .card:hover::before { opacity: 1; }
  .card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
  .discord-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(88, 101, 242, .55); }
}

/* ---- apačia ---- */
.site-footer .wrap { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.footer-links a { color: var(--accent); text-decoration: none; font-weight: 700; }
.float-dc { position: fixed; right: 16px; bottom: calc(16px + var(--sab)); z-index: 30; width: 54px; height: 54px; border-radius: 50%; background: var(--discord); color: #fff; display: none; place-items: center; box-shadow: 0 8px 26px rgba(88, 101, 242, .5); animation: bob 3.2s ease-in-out infinite; }
.float-dc svg { width: 28px; height: 28px; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.toast { bottom: calc(22px + var(--sab)); }

/* ---- anti-devtools ---- */
.dt-lock { position: fixed; inset: 0; z-index: 99999; background: #0c0a07; color: var(--cream); display: none; place-items: center; text-align: center; padding: 30px; font-weight: 700; }
html.dt-open .dt-lock { display: grid; }
html.dt-open body > *:not(.dt-lock) { visibility: hidden; }

/* ---- mobilus / planšetė ---- */
@media (max-width: 820px) {
  .site-header .wrap { gap: 10px; }
  .logo img { height: 44px; }
  .header-actions { margin-left: auto; }
  .discord-btn:not(.lg) span { display: none; } .discord-btn:not(.lg) { padding: 10px; }
  .header-search { order: 3; flex-basis: 100%; margin: 0 0 8px; }
  .filters { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chips::-webkit-scrollbar { display: none; } .chip { flex: none; min-height: 40px; }
  .filters .select { width: 100%; }
  .float-dc { display: grid; }
  .thumbs button { width: 62px; height: 78px; }
  .gallery .nav { width: 46px; height: 46px; }
  .contact-btn { min-height: 52px; }
  .detail { padding-bottom: 90px; }
  .marquee div { font-size: 13px; }
}
@media (max-width: 380px) { .grid { gap: 10px; } .price { font-size: 16px; } }
input, select, textarea { font-size: 16px; }   /* iOS nebeprišvartuoja (zoom) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal, .hero h1 .w { opacity: 1 !important; transform: none !important; }
}

.card:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 16px 34px rgba(0,0,0,.5); }
.btn.primary, .chip.active, .sale-tag { background: var(--accent); color: #0a0a0a; }
.login-card { border-color: var(--accent) !important; box-shadow: 8px 8px 0 var(--accent); }
.site-header { border-bottom: 2px solid var(--accent) !important; }

/* ================= V4: juoda + geltona + oranžinė ================= */
:root { --orange: #a78bfa; --ember: #d946ef; --grad: linear-gradient(120deg, #c4b5fd 0%, #a78bfa 45%, #e879f9 100%); }
.glow { background: radial-gradient(38% 45% at 15% 25%, rgba(217, 70, 239,.22), transparent 70%), radial-gradient(35% 45% at 88% 15%, rgba(167, 139, 250,.14), transparent 70%), radial-gradient(40% 40% at 60% 95%, rgba(217, 70, 239,.12), transparent 70%); }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }
.cursor-glow { position: fixed; left: 0; top: 0; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%; pointer-events: none; z-index: -1; opacity: 0;
  background: radial-gradient(circle, rgba(167, 139, 250,.13), transparent 65%); transition: opacity .3s; will-change: transform; }
.site-header { border-bottom: 0 !important; position: sticky; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, #c4b5fd, #8b5cf6, #c4b5fd, transparent); background-size: 50% 100%; background-repeat: repeat-x; animation: flow 5s linear infinite; }
@keyframes flow { to { background-position: 100% 0; } }
.logo img { filter: drop-shadow(0 0 14px rgba(167, 139, 250,.35)); transition: transform .4s cubic-bezier(.2,.9,.2,1); }
.logo:hover img { transform: rotate(-3deg) scale(1.06); }

.marquee { background: var(--grad); box-shadow: 0 10px 40px rgba(217, 70, 239,.25); }
.hero { position: relative; isolation: isolate; }
.hero h1 .w:nth-child(odd) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .w:nth-child(even) { -webkit-text-stroke: 0; }
.hero p { color: var(--cream-dim); }
.spark { position: absolute; bottom: 0; color: #c084fc; opacity: 0; font-size: var(--s, 16px); left: var(--x, 50%); z-index: -1; animation: rise-up var(--t, 9s) linear var(--dl, 0s) infinite; pointer-events: none; }
@keyframes rise-up { 0% { transform: translateY(0) rotate(0); opacity: 0; } 15% { opacity: .8; } 100% { transform: translateY(-380px) rotate(200deg); opacity: 0; } }
.ring { position: absolute; z-index: -1; border-radius: 50%; border: 2px dashed rgba(167, 139, 250,.25); animation: spin 40s linear infinite; pointer-events: none; }
.ring.a { width: 340px; height: 340px; left: -120px; top: 10px; } .ring.b { width: 220px; height: 220px; right: -70px; top: -10px; animation-direction: reverse; border-color: rgba(167, 139, 250,.22); }
@keyframes spin { to { transform: rotate(360deg); } }

.btn.primary, .chip.active, .discord-btn.lg + .btn.primary { background: var(--grad) !important; border-color: transparent !important; color: #0a0a0a !important; }
.btn.primary { position: relative; overflow: hidden; box-shadow: 0 8px 26px rgba(217, 70, 239,.28); }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%); transform: translateX(-130%); }
@media (hover: hover) { .btn.primary:hover::after { transform: translateX(130%); transition: transform .7s; } .btn.primary:hover { transform: translateY(-2px); } }
.btn.ghost { border-color: rgba(167, 139, 250,.5); color: var(--accent); }
.price { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.sale-tag { background: var(--ember) !important; color: #fff !important; }
.card { border-color: #2b2438; background: linear-gradient(180deg, #16111f, #0d0a14); }
.card:hover { border-color: #a78bfa; box-shadow: 0 0 0 1px #a78bfa, 0 18px 44px rgba(217, 70, 239,.22); }
.card .meta { color: #9d86d9; }
.chip:hover { border-color: #a78bfa; }
.count { color: var(--orange); font-weight: 700; }
.detail, .hero, .filters { animation: pageIn .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(18px); } }
.contact-btn .ico, .role-tag { background: var(--grad); color: #0a0a0a; border-color: transparent; }
.status-pill.available { box-shadow: 0 0 0 0 rgba(123,216,143,.5); animation: ping 2.2s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 9px rgba(123,216,143,0); } }
.site-footer { background: linear-gradient(180deg, transparent, rgba(217, 70, 239,.08)); }
.login-card { box-shadow: 10px 10px 0 #8b5cf6, 18px 18px 0 #c4b5fd !important; border-color: #a78bfa !important; }
.side-btn.active { background: rgba(167, 139, 250,.14); color: #c084fc; box-shadow: inset 3px 0 0 #a78bfa; }
.stat b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 820px) { .ring, .cursor-glow { display: none; } .marquee { transform: rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { .spark, .ring, .site-header::after, .glow { animation: none !important; } }

/* ================= V5: pilnesnis puslapis, dialogai, panelė ================= */
.wrap { width: min(1240px, 100% - 32px); }
.hero { padding: clamp(32px, 6vw, 64px) 0 20px; }
.hero-stats { display: flex; justify-content: center; gap: clamp(14px, 4vw, 44px); margin-top: 34px; flex-wrap: wrap; }
.hero-stats div { text-align: center; min-width: 96px; padding: 10px 18px; border-radius: 14px; border: 1px solid #2b2438; background: rgba(255,255,255,.02); }
.hero-stats b { display: block; font-family: var(--serif); font-size: clamp(28px, 5vw, 40px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.hero-stats span { color: var(--muted); font-size: 13px; }
.grid { padding-bottom: 36px; }
.ph { background: repeating-linear-gradient(135deg, #1b1626 0 14px, #13101b 14px 28px); color: #2d2346; }
.ph svg { color: #a78bfa; opacity: .55; animation: bob 3.4s ease-in-out infinite; }
.sec-title { font-family: var(--serif); font-size: clamp(24px, 4vw, 36px); margin: 0 0 22px; letter-spacing: -.02em; }
.steps { padding: 30px 0 10px; }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 24px 22px; border-radius: 18px; background: linear-gradient(180deg, #16111f, #0d0a14); border: 1px solid #2b2438; overflow: hidden; }
.step i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #0a0a0a; font: 800 20px var(--serif); font-style: normal; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 19px; } .step p { margin: 0; color: var(--cream-dim); font-size: 15px; }
.step::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(167, 139, 250,.22), transparent 70%); }
.dc-banner { margin: 36px 0; padding: clamp(22px, 4vw, 38px); border-radius: 22px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(88,101,242,.25), rgba(217, 70, 239,.18)), #110d19; border: 1px solid rgba(167, 139, 250,.35); }
.dc-banner h2 { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(22px, 3.4vw, 32px); max-width: 560px; letter-spacing: -.02em; }
.dc-banner p { margin: 0; color: var(--cream-dim); }
.faq { padding-bottom: 60px; max-width: 860px; }
.faq details { border: 1px solid #2b2438; background: #110d19; border-radius: 14px; margin-bottom: 10px; transition: border-color .2s; }
.faq details[open] { border-color: #a78bfa; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: #a78bfa; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--cream-dim); animation: pageIn .3s both; }
@media (max-width: 820px) { .steps-row { grid-template-columns: 1fr; } .dc-banner { flex-direction: column; align-items: flex-start; } .dc-banner .discord-btn { width: 100%; justify-content: center; } }

/* dialogai */
.dlg { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.72); opacity: 0; transition: opacity .2s; }
.dlg.open { opacity: 1; }
.dlg-box { width: min(420px, 100%); background: #15101e; border: 1px solid #a78bfa; border-radius: 20px; padding: 26px 24px 22px; text-align: center; transform: translateY(14px) scale(.96); transition: transform .25s cubic-bezier(.2,.9,.2,1); box-shadow: 8px 8px 0 #8b5cf6; }
.dlg.open .dlg-box { transform: none; }
.dlg-box.danger { border-color: #ff5a4d; box-shadow: 8px 8px 0 #ff5a4d; }
.dlg-ico { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font: 800 28px var(--serif); background: var(--grad); color: #0a0a0a; }
.dlg-box.danger .dlg-ico { background: #ff5a4d; color: #fff; animation: pop 1.6s ease-in-out infinite; }
.dlg-box h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 22px; } .dlg-box p { margin: 0 0 16px; color: var(--cream-dim); }
.dlg-box .input { margin-bottom: 16px; }
.dlg-actions { display: flex; gap: 10px; } .dlg-actions .btn { flex: 1; min-height: 46px; }
.btn.danger-solid { background: #ff5a4d; border-color: #ff5a4d; color: #fff; font-weight: 700; }

/* panelė */
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.content { max-width: 1240px; }
.stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat { position: relative; overflow: hidden; padding: 18px; border-radius: 16px; background: linear-gradient(180deg, #17121f, #0d0a14); }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c, #c4b5fd); }
.stat b { font-size: 34px; } .stat.s-ok { --c: #7bd88f; } .stat.s-warn { --c: #ffb020; } .stat.s-sold { --c: #ff6b5e; } .stat.s-hid { --c: #8b8878; } .stat.s-all { --c: #a78bfa; }
.panel { border-radius: 18px; background: linear-gradient(180deg, #15101e, #0d0a14); }
.tbl tbody tr { transition: background .15s; } .tbl tbody tr:hover { background: rgba(167, 139, 250,.05); }
.tbl .t-img { width: 62px; height: 76px; border-radius: 10px; }
.tbl .select.st { border-radius: 999px; padding-inline: 12px; }
.sidebar { background: #0a0810; }
.side-btn { transition: background .15s, transform .15s; } .side-btn:hover { transform: translateX(3px); }
.layout .content > * { animation: pageIn .45s cubic-bezier(.2,.8,.2,1) both; }
@media (max-width: 860px) { .tbl .t-img { width: 48px; height: 60px; } .dash-head .btn { width: 100%; } }

/* komanda */
.team { padding: 34px 0 6px; } .team-sub { margin: -12px 0 20px; color: var(--cream-dim); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.member { position: relative; text-align: center; padding: 26px 18px 20px; border-radius: 20px; background: linear-gradient(180deg, #16111f, #0d0a14); border: 1px solid #2b2438; transition: border-color .2s, transform .25s; }
.member.is-owner { border-color: rgba(167, 139, 250,.6); background: linear-gradient(180deg, rgba(167, 139, 250,.12), #0d0a14 60%); }
@media (hover: hover) { .member:hover { transform: translateY(-5px); border-color: #a78bfa; } }
.avatar { position: relative; width: 92px; height: 92px; margin: 0 auto 12px; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #c084fc; background: #201a2e; }
.member.is-owner .avatar::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px dashed rgba(167, 139, 250,.6); animation: spin 18s linear infinite; }
.vf { position: absolute; right: -2px; bottom: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #3ddc84; color: #06220f; font-weight: 800; font-size: 15px; border: 3px solid #0d0a14; }
.member h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 19px; word-break: break-word; }
.member .role { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--grad); color: #0a0a0a; }
.member:not(.is-owner) .role { background: #242424; color: var(--cream); border: 1px solid #3a3a3a; }
.member p { margin: 10px 0 0; color: var(--cream-dim); font-size: 14px; }
.member small { display: block; margin-top: 10px; color: #3ddc84; font-size: 12px; }

/* botas */
.bot-status { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bot-status .bot-actions { margin-left: auto; display: flex; gap: 8px; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: #6b6480; flex: none; }
.dot.online { background: #3ddc84; animation: ping 2s infinite; } .dot.connecting { background: #ffb020; animation: pop 1s infinite; } .dot.error { background: #ff6b5e; }
button:disabled { opacity: .45; cursor: not-allowed; }

/* ================= V8: intro, scroll animacijos, magnetas ================= */
.intro { position: fixed; inset: 0; z-index: 100000; display: grid; place-content: center; justify-items: center; gap: 22px; background: radial-gradient(circle at 50% 40%, #1a1030, #08060d 70%); transition: transform .9s cubic-bezier(.77,0,.18,1); }
.intro img { width: min(260px, 60vw); animation: introLogo 1.1s cubic-bezier(.2,.9,.2,1) both; filter: drop-shadow(0 0 30px rgba(167,139,250,.55)); }
.intro i { display: block; width: min(220px, 55vw); height: 4px; border-radius: 4px; background: #241a3a; overflow: hidden; }
.intro i::after { content: ""; display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; animation: introBar 1.1s ease-in-out both; }
.intro.out { transform: translateY(-101%); }
@keyframes introLogo { from { opacity: 0; transform: scale(.6) rotate(-6deg); } }
@keyframes introBar { from { transform: scaleX(0); } }

.site-header { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.site-header.hide { transform: translateY(-101%); }

.marquee:hover div { animation-play-state: paused; }
.marquee.alt { background: transparent; box-shadow: none; transform: rotate(1deg); margin-top: -4px; border-block: 1px solid rgba(167,139,250,.35); }
.marquee.alt div { animation-direction: reverse; animation-duration: 34s; color: transparent; -webkit-text-stroke: 1px #a78bfa; font-size: 22px; }
.marquee.alt span::after { -webkit-text-stroke: 0; color: #e879f9; }

/* scroll animacijos */
.rv { opacity: 0; transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.rv[data-rv="up"] { transform: translateY(46px); } .rv[data-rv="pop"] { transform: scale(.78) translateY(20px); } .rv[data-rv="left"] { transform: translateX(-46px); } .rv[data-rv="right"] { transform: translateX(46px); }
.rv.show { opacity: 1; transform: none; }
.sec-title { position: relative; padding-bottom: 12px; }
.sec-title::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; border-radius: 4px; background: var(--grad); transition: width .8s .25s cubic-bezier(.2,.8,.2,1); }
.sec-title.show::after { width: 72px; }
.step i { transition: transform .4s cubic-bezier(.3,1.6,.5,1); } @media (hover: hover) { .step:hover i { transform: rotate(-10deg) scale(1.15); } .step { transition: transform .3s, border-color .3s; } .step:hover { transform: translateY(-6px); border-color: #a78bfa; } }
.avatar img { animation: floaty 4s ease-in-out infinite; } .member:nth-child(2n) .avatar img { animation-delay: -1.5s; } .member:nth-child(3n) .avatar img { animation-delay: -2.7s; }
@keyframes floaty { 50% { transform: translateY(-5px); } }
.hero-stats div { transition: transform .3s, border-color .3s; } @media (hover: hover) { .hero-stats div:hover { transform: translateY(-4px) scale(1.04); border-color: #a78bfa; } }

/* kortelių nuotraukos */
.card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.22) 50%, transparent 62%); transform: translateX(-130%); pointer-events: none; }
.card .thumb::before { content: "Peržiūrėti →"; position: absolute; left: 50%; bottom: 12px; z-index: 3; transform: translate(-50%, 160%); padding: 8px 16px; border-radius: 999px; background: var(--grad); color: #0a0a0a; font-weight: 800; font-size: 13px; white-space: nowrap; transition: transform .35s cubic-bezier(.2,.9,.2,1); }
@media (hover: hover) and (pointer: fine) { .card:hover .thumb::after { transform: translateX(130%); transition: transform .8s; } .card:hover .thumb::before { transform: translate(-50%, 0); } }
#main-img.swap { animation: imgSwap .5s cubic-bezier(.2,.8,.2,1); }
@keyframes imgSwap { from { opacity: 0; transform: scale(1.06); filter: saturate(1.6); } }

/* Discord blokas su besisukančiu kraštu */
.dc-banner { position: relative; isolation: isolate; overflow: hidden; border: 0; background: none; }
.dc-banner::before { content: ""; position: absolute; inset: -80%; z-index: -2; background: conic-gradient(from 0deg, #8b5cf6, #e879f9, #5865f2, #8b5cf6); animation: spin 7s linear infinite; }
.dc-banner::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 20px; background: linear-gradient(120deg, rgba(88,101,242,.24), rgba(167,139,250,.10)), #0f0b18; }

/* magnetas, ripple, į viršų */
.mag { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.btn, .chip, .discord-btn { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.38); transform: scale(0); animation: rip .65s ease-out forwards; pointer-events: none; }
@keyframes rip { to { transform: scale(1); opacity: 0; } }
.to-top { position: fixed; left: 16px; bottom: calc(16px + var(--sab)); z-index: 30; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #14101d; color: var(--cream); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); } .to-top circle { fill: none; stroke-width: 3; } .to-top .bg { stroke: #2b2438; } .to-top .fg { stroke: #c084fc; stroke-linecap: round; }
.hero .ring { translate: 0 calc(var(--py, 0) * -.14px); }
@media (max-width: 820px) { .marquee.alt { font-size: 15px; } .marquee.alt div { font-size: 17px; } .to-top { width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } .rv { opacity: 1 !important; transform: none !important; } .sec-title::after { width: 72px; } }

/* ================= V9: mobilus + daugiau animacijų ================= */
a, button, summary, .chip { touch-action: manipulation; }
html { overscroll-behavior-y: none; }
.stars { position: fixed; left: 0; top: 0; width: 2px; height: 2px; border-radius: 50%; z-index: -1; pointer-events: none; animation: twinkle 3.4s ease-in-out infinite alternate; }
.stars.b { animation-duration: 5.2s; animation-delay: -2s; }
@keyframes twinkle { from { opacity: .15; } to { opacity: .9; } }
html.lite .stars, html.lite .spark, html.lite .ring, html.lite .cursor-glow { display: none !important; }
html.lite .glow, html.lite .site-header::after { animation: none !important; }

/* žodžių rotatorius */
.rotator { position: relative; height: 1.5em; margin: 16px auto 0; overflow: hidden; font: 800 clamp(22px, 5.5vw, 36px)/1.5 var(--serif); letter-spacing: -.02em; }
.rotator span { position: absolute; inset: 0; opacity: 0; transform: translateY(100%); transition: transform .6s cubic-bezier(.2,.9,.2,1), opacity .5s; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rotator span.on { opacity: 1; transform: none; } .rotator span.off { opacity: 0; transform: translateY(-100%); }
.scroll-cue { display: block; width: 30px; height: 48px; margin: 30px auto 0; border: 2px solid #5b4a8a; border-radius: 20px; position: relative; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 5px; height: 9px; margin-left: -2.5px; border-radius: 4px; background: #c084fc; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(18px); } }
.hero-cta .discord-btn { animation: wiggle 6s ease-in-out 3s infinite; }
@keyframes wiggle { 0%, 88%, 100% { transform: none; } 91% { transform: rotate(-3deg) scale(1.04); } 94% { transform: rotate(3deg) scale(1.04); } 97% { transform: rotate(-1.5deg); } }
.site-footer::before { content: ""; display: block; height: 2px; margin: -26px 0 26px; background: linear-gradient(90deg, transparent, #a78bfa, #e879f9, #a78bfa, transparent); background-size: 50% 100%; background-repeat: repeat-x; animation: flow 6s linear infinite reverse; }

/* kortelės: iš šonų (2 stulpeliai telefone) */
.grid .card.reveal:nth-child(odd) { transform: translateX(-36px) rotate(-2.5deg) scale(.95); }
.grid .card.reveal:nth-child(even) { transform: translateX(36px) rotate(2.5deg) scale(.95); }
.grid .card.reveal.in { transform: none; }
.card:active { transform: scale(.97) !important; transition-duration: .1s; }
.chip:active, .contact-btn:active, .step:active, .member:active, .faq summary:active { transform: scale(.96); }
.contact-btn { transition: transform .15s, border-color .15s, background .15s; }
@media (hover: none) {              /* iOS/Android: be „įstrigusio“ hover */
  .card:hover { transform: none; box-shadow: none; border-color: var(--border); } .card:hover .thumb img { transform: none; }
  .card:hover::before { opacity: 0; }
  .card .thumb::before { display: none; }
}
@supports (animation-timeline: view()) {   /* naujos Chrome/Android ir Safari: paralaksas slenkant */
  .card .thumb img { animation: imgPar linear both; animation-timeline: view(); animation-range: cover; transform: scale(1.14); }
  @keyframes imgPar { from { transform: translateY(-5%) scale(1.14); } to { transform: translateY(5%) scale(1.14); } }
}

/* apatinė programėlės juosta */
.tabbar { display: none; }
@media (max-width: 820px) {
  body { padding-bottom: calc(86px + var(--sab)); }
  .float-dc { display: none !important; }
  .toast { bottom: calc(90px + var(--sab)); }
  .to-top { left: auto; right: 14px; bottom: calc(86px + var(--sab)); }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + var(--sab)); height: 64px; padding: 6px; border-radius: 24px;
    background: rgba(20, 16, 29, .97); border: 1px solid #3a2f55; box-shadow: 0 12px 34px rgba(0,0,0,.6), 0 0 0 1px rgba(167,139,250,.08); animation: tabUp .7s cubic-bezier(.2,.9,.2,1) .4s both; }
  .tab-ind { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 4); border-radius: 18px; background: linear-gradient(135deg, rgba(167,139,250,.30), rgba(232,121,249,.20)); border: 1px solid rgba(192,132,252,.5); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
  .tabbar a { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 700; transition: color .2s; }
  .tabbar a svg { width: 22px; height: 22px; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
  .tabbar a.on { color: #e9ddff; } .tabbar a.on svg { transform: translateY(-2px) scale(1.18); }
  .tabbar a:active svg { transform: scale(.8); }
  .ring { display: block !important; opacity: .6; } .ring.a { width: 220px; height: 220px; left: -90px; } .ring.b { width: 150px; height: 150px; right: -50px; }
  .cursor-glow { display: none; }
  .hero-stats div { min-width: 0; flex: 1 1 28%; padding: 10px 8px; }
}
@keyframes tabUp { from { transform: translateY(130%); opacity: 0; } }

/* panelė */
.tbl tbody tr { animation: pageIn .45s cubic-bezier(.2,.8,.2,1) both; }
.tbl tbody tr:nth-child(1) { animation-delay: 45ms; }
.tbl tbody tr:nth-child(2) { animation-delay: 90ms; }
.tbl tbody tr:nth-child(3) { animation-delay: 135ms; }
.tbl tbody tr:nth-child(4) { animation-delay: 180ms; }
.tbl tbody tr:nth-child(5) { animation-delay: 225ms; }
.tbl tbody tr:nth-child(6) { animation-delay: 270ms; }
.tbl tbody tr:nth-child(7) { animation-delay: 315ms; }
.tbl tbody tr:nth-child(8) { animation-delay: 360ms; }
.tbl tbody tr:nth-child(9) { animation-delay: 405ms; }
.tbl tbody tr:nth-child(10) { animation-delay: 450ms; }
.tbl tbody tr:nth-child(11) { animation-delay: 495ms; }
.tbl tbody tr:nth-child(12) { animation-delay: 540ms; }
.stat { animation: pageIn .5s both; } .stat:nth-child(2) { animation-delay: .06s; } .stat:nth-child(3) { animation-delay: .12s; } .stat:nth-child(4) { animation-delay: .18s; } .stat:nth-child(5) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .tabbar, .rotator span, .stars, .scroll-cue::after, .hero-cta .discord-btn { animation: none !important; transition: none !important; } .rotator span:first-child { opacity: 1; transform: none; } }

/* ================= V12: pristatymas – saugi versija ================= */
/* Pagrindinė taisyklė: be animacijų visa matoma (galutinė būsena); animacijos tik „iš“ būsenos (backwards). */
html { background: #08060d; }
.cin { position: fixed; inset: 0; z-index: 100000; overflow: hidden; cursor: pointer; touch-action: none; animation: cinAuto 0s linear 7s forwards; }
@keyframes cinAuto { to { visibility: hidden; pointer-events: none; } }   /* net jei JS sustotų – po 7 s dingsta */
.cin-top, .cin-bot { position: absolute; left: 0; right: 0; height: 50.6%; background: #08060d; transition: transform 1s cubic-bezier(.8,0,.2,1) .3s; }
.cin-top { top: 0; } .cin-bot { bottom: 0; }
.cin-line { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, transparent, #c4b5fd, #e879f9, #c4b5fd, transparent); box-shadow: 0 0 26px 3px rgba(192,132,252,.65); animation: cinLine 1s cubic-bezier(.2,.9,.2,1) backwards; transition: opacity .3s .5s; }
.cin-stage { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0 16px 6vh; text-align: center; transition: opacity .45s, transform .6s cubic-bezier(.7,0,.3,1); }
.cin-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 46%, rgba(139,92,246,.40) 0, rgba(139,92,246,0) 60vmin); animation: cinGlow 3s ease-in-out infinite alternate; }
.cin-logo { display: block; width: min(230px, 54vw); height: auto; filter: drop-shadow(0 0 24px rgba(167,139,250,.6)); animation: cinLogo .9s cubic-bezier(.2,.9,.2,1) .3s backwards; }
.cin-words { display: block; }
.cin-words span { display: block; overflow: hidden; padding: .02em .12em; }
.cin-words b { display: block; font: 800 clamp(52px, 17vw, 112px)/1.04 var(--serif); letter-spacing: -.04em; color: #f4f1fa; animation: cinUp .85s cubic-bezier(.2,.9,.2,1) backwards; }
.cin-words span:nth-child(1) b { animation-delay: .9s; }
.cin-words span:nth-child(2) b { animation-delay: 1.08s; color: transparent; -webkit-text-stroke: 2px #c4b5fd; }
.cin-words span:nth-child(3) b { animation-delay: 1.26s; color: #d8b4fe; background: linear-gradient(120deg, #c4b5fd, #e879f9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cin-sub { margin: 0; color: #c1bbd0; font-size: clamp(11px, 3vw, 14px); letter-spacing: .16em; text-transform: uppercase; animation: cinFade .8s 2s backwards; }
.cin-foot { position: absolute; z-index: 3; left: 50%; bottom: calc(6vh + env(safe-area-inset-bottom, 0px)); width: min(300px, 70vw); margin-left: min(-150px, -35vw); display: flex; align-items: center; gap: 12px; transition: opacity .3s; animation: cinFade .6s .4s backwards; }
.cin-bar { display: block; flex: 1; height: 3px; border-radius: 3px; background: #241a3a; overflow: hidden; }
.cin-bar u { display: block; height: 100%; background: linear-gradient(90deg, #c4b5fd, #e879f9); transform-origin: 0 50%; transform: scaleX(0); text-decoration: none; }
.cin-num { min-width: 3.4ch; text-align: right; font: 700 13px system-ui, sans-serif; color: #c4b5fd; font-variant-numeric: tabular-nums; }
.cin-skip { position: absolute; z-index: 4; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; min-height: 40px; padding: 9px 16px; border-radius: 999px; border: 1px solid #3a2f55; background: #1a1330; color: #f4f1fa; -webkit-text-fill-color: #f4f1fa; font: 700 13px system-ui, sans-serif; cursor: pointer; transition: opacity .3s; animation: cinFade .6s .5s backwards; }
.cin.open { pointer-events: none; }
.cin.open .cin-top { transform: translateY(-101%); } .cin.open .cin-bot { transform: translateY(101%); }
.cin.open .cin-stage { opacity: 0; transform: scale(.92); } .cin.open .cin-line, .cin.open .cin-foot, .cin.open .cin-skip { opacity: 0; }
@keyframes cinLine { from { transform: scaleX(0); } }
@keyframes cinLogo { from { opacity: 0; transform: translateY(14px) scale(.7); } }
@keyframes cinUp { from { transform: translateY(118%); } }
@keyframes cinFade { from { opacity: 0; } }
@keyframes cinGlow { from { opacity: .55; } to { opacity: 1; } }
@media (max-height: 560px) { .cin-words b { font-size: clamp(34px, 11vh, 70px); } .cin-logo { width: 120px; } }
