/* ============================================================
   DISCORD TURGELIS — HELOVYNO EVENTAS
   Žaidimų centras: Trick or Treat, Find the Pumpkins, Halloween Wheel
   ============================================================ */

/* ---------- Šoninis meniu ---------- */
.ps-link.ps-hw { color: #f3a165; }
.ps-link.ps-hw:hover, .ps-link.ps-hw.active { color: #ffb47a; }
.ps-link.ps-hw.active { background: rgba(255, 138, 61, 0.08); border-color: rgba(255, 138, 61, 0.22); }
.ps-link.ps-hw::before { background: #ff8a3d; }
.ps-hw-dot { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #ff8a3d; animation: hwPulse 2s ease-out infinite; }
@keyframes hwPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 138, 61, 0.55); }
    80%, 100% { box-shadow: 0 0 0 7px rgba(255, 138, 61, 0); }
}

.hw {
    --hw-o: #ff8a3d; --hw-o2: #ffb47a; --hw-p: #9d7bff; --hw-p2: #c4b2ff; --hw-g: #fbbf24; --hw-gr: #4ade80;
    --hw-glass: rgba(12, 9, 18, 0.62);
    --hw-card: #0f0d14;
    --hw-line: rgba(255, 255, 255, 0.07);
    --hw-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}
.hw .hidden { display: none !important; }
.hw button { font-family: inherit; -webkit-tap-highlight-color: transparent; }
.hw button:active:not(:disabled) { transform: scale(0.97); }

/* Dalelės, skrendantys saldainiai, vaiduoklis — per visą ekraną */
.hw-fx { position: fixed !important; inset: 0; width: 100vw !important; height: 100vh !important; pointer-events: none; z-index: 9990 !important; }
.hw-flyc { position: fixed; left: 0; top: 0; width: 24px; height: 24px; margin: -12px 0 0 -12px; z-index: 9991; pointer-events: none; }
.hw-flyc svg { width: 100%; height: 100%; filter: drop-shadow(0 0 6px rgba(255, 138, 61, 0.7)); }
.hw-ghostfly { position: fixed !important; z-index: 9992 !important; }

/* ============================================================
   VIRŠUTINĖ JUOSTA
   ============================================================ */
.hw-bar {
    position: sticky; top: 76px; z-index: 30;
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px; padding: 8px 8px 8px 10px; border-radius: 16px;
    background: rgba(14, 11, 20, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--hw-line);
}
.hw-back {
    display: inline-flex; align-items: center; gap: 6px;
    max-width: 0; padding: 0; opacity: 0; overflow: hidden; white-space: nowrap;
    height: 38px; border-radius: 11px; border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.05); color: #e4e3ea; font-size: 0.82rem; font-weight: 600; cursor: pointer;
    transition: max-width 0.4s var(--hw-ease), opacity 0.3s ease, padding 0.4s var(--hw-ease), border-color 0.2s ease, background 0.2s ease;
}
.hw-back svg { width: 17px; height: 17px; flex: 0 0 auto; }
.hw-back:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.12); }
.hw[data-view="tot"] .hw-back, .hw[data-view="pk"] .hw-back, .hw[data-view="ratas"] .hw-back { max-width: 140px; opacity: 1; padding: 0 12px 0 8px; }

.hw-bar-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.hw-bar-t b { font-family: 'Outfit', sans-serif; font-size: 1.02rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: hwFadeUp 0.4s var(--hw-ease); }
.hw-kick { display: inline-flex; align-items: center; gap: 7px; font-size: 0.6rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--hw-o2); }
.hw-kick i { width: 6px; height: 6px; border-radius: 50%; background: var(--hw-o); animation: hwPulse 2s ease-out infinite; }
.hw-kick.off { color: #6e7280; }
.hw-kick.off i { background: #6e7280; animation: none; }
.hw-bar-r { display: flex; align-items: center; gap: 8px; }

.hw-pts {
    display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 5px; border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 138, 61, 0.16), rgba(255, 138, 61, 0.04));
    border: 1px solid rgba(255, 138, 61, 0.32);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.hw-pts-i { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 138, 61, 0.15); }
.hw-pts-i svg { width: 21px; height: 21px; }
.hw-pts b { font-family: 'Outfit', sans-serif; font-size: 1.12rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; min-width: 1.2em; }
.hw-pts i { font-style: normal; font-size: 0.68rem; color: #c9b7a4; font-weight: 600; }
.hw-pts.bump { animation: hwBagBump 0.32s ease; box-shadow: 0 0 22px -4px rgba(255, 138, 61, 0.6); }
.hw-pts.bump.minus { border-color: rgba(157, 123, 255, 0.5); box-shadow: 0 0 22px -4px rgba(157, 123, 255, 0.6); }
@keyframes hwBagBump { 0% { transform: scale(1); } 45% { transform: scale(1.08); } 100% { transform: scale(1); } }

.hw-ib {
    width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    background: var(--hw-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #d6d2dc; cursor: pointer; padding: 0;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.hw-ib svg { width: 18px; height: 18px; }
.hw-ib:hover { border-color: rgba(255, 138, 61, 0.45); color: #fff; }
.hw-ib.off { color: #6e7280; }

/* ============================================================
   VAIZDAI IR PERĖJIMAI
   ============================================================ */
.hw-views { position: relative; }
.hw-view { display: none; }
.hw-view.on { display: block; }
.hw-view.in { animation: hwViewIn 0.55s var(--hw-ease) both; }
.hw-view.out { animation: hwViewOut 0.22s ease both; }
@keyframes hwViewIn { from { opacity: 0; transform: translateY(14px) scale(0.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hwViewOut { to { opacity: 0; transform: translateY(-8px) scale(0.985); filter: blur(3px); } }
@keyframes hwFadeUp { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }


/* ============================================================
   SCENA
   ============================================================ */
.hw-stage {
    position: relative;
    height: clamp(400px, 46vw, 500px);
    border-radius: 22px;
    overflow: hidden;
    background: #05040a;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 30px 80px -30px rgba(255, 110, 40, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.4) inset;
    isolation: isolate;
    user-select: none;
    -webkit-user-select: none;
}
.hw-scroll { position: absolute; inset: 0; overflow: hidden; }
.hw-cam {
    position: relative; width: 100%; height: 100%; overflow: hidden;
    transition: transform 0.95s cubic-bezier(0.7, 0, 0.2, 1);
    will-change: transform;
}
.hw-cam.zoom { transform: scale(2.15); }
.hw-svg { display: block; width: 100%; height: 100%; }

/* Žvaigždės, mėnulis, debesys */
.hw-star { animation: hwTwinkle 4s ease-in-out infinite; }
@keyframes hwTwinkle { 0%, 100% { opacity: 0.85; } 50% { opacity: 0.15; } }
.hw-cloud { animation: hwCloud 40s linear infinite alternate; }
@keyframes hwCloud { from { transform: translateX(-60px); } to { transform: translateX(80px); } }

/* Rūkas */
.hw-fog {
    position: absolute; left: -50%; width: 200%; pointer-events: none;
    background:
        radial-gradient(40% 60% at 20% 60%, rgba(190, 170, 255, 0.16), transparent 70%),
        radial-gradient(35% 55% at 55% 50%, rgba(190, 170, 255, 0.12), transparent 70%),
        radial-gradient(40% 60% at 85% 60%, rgba(190, 170, 255, 0.14), transparent 70%);
    filter: blur(6px);
}
.hw-fog.f1 { bottom: 4%; height: 26%; animation: hwFog 38s linear infinite alternate; opacity: 0.9; }
.hw-fog.f2 { bottom: -6%; height: 22%; animation: hwFog 26s linear infinite alternate-reverse; opacity: 0.7; }
@keyframes hwFog { from { transform: translateX(-12%); } to { transform: translateX(10%); } }

/* Langai ir šviesos */
.hw-wg { opacity: 0.5; transition: opacity 0.5s ease; }
.hw-wl { transition: opacity 0.5s ease; }
.hw-flick { animation: hwFlick 5s ease-in-out infinite; }
@keyframes hwFlick { 0%, 100% { opacity: 1; } 42% { opacity: 0.88; } 46% { opacity: 0.45; } 50% { opacity: 0.95; } 53% { opacity: 0.6; } 56% { opacity: 1; } }
.hw-jglow { opacity: 0.45; animation: hwJack 2.4s ease-in-out infinite; }
.hw-face { animation: hwFace 2.4s ease-in-out infinite; }
@keyframes hwJack { 0%, 100% { opacity: 0.45; } 50% { opacity: 0.25; } 70% { opacity: 0.5; } }
@keyframes hwFace { 0%, 100% { opacity: 1; } 50% { opacity: 0.75; } }

.hw-smoke circle { fill: #4a4060; opacity: 0; filter: blur(3px); animation: hwSmoke 5s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.hw-smoke circle:nth-child(2) { animation-delay: 1.7s; }
.hw-smoke circle:nth-child(3) { animation-delay: 3.3s; }
@keyframes hwSmoke {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    20% { opacity: 0.55; }
    100% { opacity: 0; transform: translate(-30px, -90px) scale(2.4); }
}

/* Namai */
.hw-house { cursor: pointer; outline: none; transition: filter 0.35s ease, opacity 0.5s ease; }
.hw-house:hover, .hw-house:focus-visible { filter: brightness(1.18); }
.hw-lglow { opacity: 0.12; transition: opacity 0.35s ease; }
.hw-lbulb { transition: fill 0.35s ease; }
.hw-house:hover .hw-lglow, .hw-house:focus-visible .hw-lglow, .hw-house.active .hw-lglow { opacity: 0.85; }
.hw-house:hover .hw-lbulb, .hw-house:focus-visible .hw-lbulb, .hw-house.active .hw-lbulb { fill: #ffe2a2; }

.hw-stage.locked .hw-house { cursor: not-allowed; filter: none; }
.hw-stage.locked .hw-house .hw-lglow { opacity: 0.05; }
.hw-stage.locked .hw-house .hw-lbulb { fill: #3a2f40; }
.hw-stage.busy .hw-house { cursor: default; }
.hw-stage.busy .hw-house:not(.active) { filter: brightness(0.6); }

.hw-leaf {
    transform-box: fill-box; transform-origin: 0% 50%;
    transition: transform 0.75s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.hw-in, .hw-spill { opacity: 0; transition: opacity 0.5s ease 0.15s; }
.hw-house.open .hw-leaf { transform: scaleX(0.1) skewY(-14deg); }
.hw-house.open.r-t .hw-in-t, .hw-house.open.r-t .hw-spill.t,
.hw-house.open.r-k .hw-in-k, .hw-house.open.r-k .hw-spill.k { opacity: 1; }

.hw-house.knock .hw-leaf { animation: hwKnock 0.27s ease-in-out 3; }
@keyframes hwKnock {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-1.2px) rotate(-0.4deg); }
    45% { transform: translateX(1.4px); }
}

.hw-house.dark .hw-wl, .hw-house.dark .hw-wg { opacity: 0.04 !important; animation: none; }
.hw-house.dark .hw-lglow { opacity: 0 !important; }
.hw-house.dark .hw-lbulb { fill: #2a2030 !important; }

/* Šikšnosparniai */
.hw-bat { position: absolute; width: 34px; fill: #050308; z-index: 2; pointer-events: none; opacity: 0; }
.hw-bat.b1 { top: 16%; animation: hwBatFly 16s linear infinite 1s; }
.hw-bat.b2 { top: 24%; width: 24px; animation: hwBatFly 21s linear infinite 6s; }
.hw-bat.b3 { top: 10%; width: 20px; animation: hwBatFly 25s linear infinite 12s; }
@keyframes hwBatFly {
    0% { left: 104%; opacity: 1; transform: translateY(0) scaleY(1); }
    10% { transform: translateY(-14px) scaleY(0.55); }
    20% { transform: translateY(6px) scaleY(1); }
    30% { transform: translateY(-10px) scaleY(0.55); }
    40% { transform: translateY(10px) scaleY(1); }
    50% { transform: translateY(-6px) scaleY(0.6); }
    60% { transform: translateY(8px) scaleY(1); }
    70% { transform: translateY(-12px) scaleY(0.55); }
    80% { transform: translateY(4px) scaleY(1); }
    100% { left: -8%; opacity: 1; transform: translateY(-4px) scaleY(0.7); }
}

.hw-vignette {
    position: absolute; inset: 0; pointer-events: none; z-index: 3;
    background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(3, 2, 6, 0.65) 100%);
    transition: background-color 0.3s ease;
}
.hw-stage.busy .hw-vignette { background-color: rgba(3, 2, 6, 0.08); }
.hw-stage.scare { animation: hwScare 0.5s ease; }
.hw-stage.scare .hw-vignette { background-color: rgba(120, 90, 255, 0.22); }
@keyframes hwScare {
    0%, 100% { transform: translate(0, 0); }
    15% { transform: translate(-6px, 3px); }
    30% { transform: translate(5px, -4px); }
    45% { transform: translate(-4px, -2px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(-2px, 1px); }
}

.hw-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }

.hw-ghostfly {
    position: absolute; width: 110px; height: 110px; z-index: 6; pointer-events: none;
    transform: translate(-50%, -50%) scale(0.1); opacity: 0;
    filter: drop-shadow(0 0 30px rgba(196, 178, 255, 0.7));
}
.hw-ghostfly svg { width: 100%; height: 100%; }
.hw-ghostfly.go { animation: hwGhost 1.5s cubic-bezier(0.3, 0.6, 0.3, 1) forwards; }
@keyframes hwGhost {
    0% { opacity: 0; transform: translate(-50%, -40%) scale(0.15); }
    20% { opacity: 1; transform: translate(-60%, -70%) scale(0.9) rotate(-8deg); }
    55% { opacity: 1; transform: translate(-30%, -90%) scale(2.2) rotate(6deg); }
    100% { opacity: 0; transform: translate(-50%, -110%) scale(4) rotate(-4deg); }
}

.hw-flyc { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -12px 0 0 -12px; z-index: 7; pointer-events: none; }
.hw-flyc svg { width: 100%; height: 100%; filter: drop-shadow(0 0 6px rgba(255, 138, 61, 0.7)); }


.hw-kn {
    display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 13px; border-radius: 999px;
    background: var(--hw-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.75rem; color: #a49fae;
}
.hw-kn b { font-family: 'Outfit', sans-serif; color: #fff; font-size: 0.95rem; }
.hw-kn-d { display: flex; gap: 4px; }
.hw-kn-d i {
    position: relative; width: 11px; height: 10px; border-radius: 50% 50% 46% 46%;
    background: rgba(255, 255, 255, 0.1); transition: background 0.3s ease, box-shadow 0.3s ease;
}
.hw-kn-d i::before {
    content: ''; position: absolute; top: -3px; left: 5px; width: 2px; height: 4px; border-radius: 1px;
    background: rgba(255, 255, 255, 0.12);
}
.hw-kn-d i.on { background: radial-gradient(circle at 35% 30%, #ffb35a, #e2621a); box-shadow: 0 0 8px rgba(255, 138, 61, 0.55); }
.hw-kn-d i.on::before { background: #4d6b2f; }


.hw-hint {
    position: absolute; left: 50%; bottom: 16px; z-index: 8; transform: translateX(-50%);
    max-width: calc(100% - 28px);
    padding: 9px 18px; border-radius: 999px;
    background: var(--hw-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.82rem; color: #d6d2dc; white-space: nowrap; text-align: center;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.hw-hint b { color: var(--hw-o2); font-variant-numeric: tabular-nums; }
.hw-stage.busy .hw-hint { opacity: 0; }
.hw-hint.shake { animation: hwNo 0.45s ease; border-color: rgba(251, 191, 36, 0.5); }
@keyframes hwNo {
    0%, 100% { transform: translateX(-50%); }
    20% { transform: translateX(calc(-50% - 7px)); }
    40% { transform: translateX(calc(-50% + 6px)); }
    60% { transform: translateX(calc(-50% - 4px)); }
    80% { transform: translateX(calc(-50% + 3px)); }
}

.hw-info {
    position: absolute; top: 64px; right: 14px; z-index: 9; width: min(340px, calc(100% - 28px));
    padding: 1rem 1.1rem; border-radius: 16px;
    background: rgba(14, 10, 20, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0; transform: translateY(-6px); pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.hw-info.on { opacity: 1; transform: none; pointer-events: auto; }
.hw-info > b { font-size: 0.92rem; color: #fff; }
.hw-info ul { margin: 0.6rem 0 0.9rem; padding-left: 1.05rem; display: flex; flex-direction: column; gap: 6px; }
.hw-info li { font-size: 0.8rem; line-height: 1.5; color: #a49fae; }
.hw-info li b { color: #fff; font-weight: 600; }
.hw-info em { font-style: normal; font-weight: 700; }
.hw-info em.t { color: var(--hw-o2); }
.hw-info em.k { color: var(--hw-p2); }
.hw-info em.g { color: var(--hw-g); }
.hw-info-x {
    width: 100%; padding: 0.6rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05); color: #fff; font-family: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
.hw-info-x:hover { background: rgba(255, 255, 255, 0.09); }


/* ---------- Rezultatas ---------- */
.hw-reveal {
    position: absolute; inset: 0; z-index: 10;
    display: flex; align-items: center; justify-content: center; padding: 16px;
    background: radial-gradient(70% 70% at 50% 50%, rgba(5, 3, 9, 0.35), rgba(5, 3, 9, 0.8));
    opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.hw-reveal.on { opacity: 1; pointer-events: auto; }
.hw-rv-card {
    position: relative; width: min(350px, 100%);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 1.3rem 1.4rem 1.2rem; border-radius: 22px;
    background: linear-gradient(180deg, rgba(24, 18, 34, 0.96), rgba(12, 9, 18, 0.97));
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(16px) scale(0.92);
    transition: transform 0.5s cubic-bezier(0.2, 1.3, 0.4, 1);
}
.hw-reveal.on .hw-rv-card { transform: none; }
.hw-reveal.t .hw-rv-card { border-color: rgba(255, 138, 61, 0.35); box-shadow: 0 0 60px -10px rgba(255, 138, 61, 0.45); }
.hw-reveal.k .hw-rv-card { border-color: rgba(157, 123, 255, 0.35); box-shadow: 0 0 60px -10px rgba(157, 123, 255, 0.45); }
.hw-reveal.g .hw-rv-card { border-color: rgba(251, 191, 36, 0.55); box-shadow: 0 0 80px -6px rgba(251, 191, 36, 0.55); }

.hw-rv-art { width: 104px; height: 104px; margin-top: -4px; animation: hwArt 3s ease-in-out infinite; }
.hw-rv-art svg { width: 100%; height: 100%; }
.hw-reveal.on .hw-rv-art { animation: hwArtIn 0.6s cubic-bezier(0.2, 1.4, 0.4, 1), hwArt 3s ease-in-out 0.6s infinite; }
@keyframes hwArtIn { from { transform: scale(0.3) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hwArt { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.hw-rv-lbl { margin-top: 6px; font-size: 0.7rem; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; }
.hw-reveal.t .hw-rv-lbl { color: var(--hw-o2); }
.hw-reveal.k .hw-rv-lbl { color: var(--hw-p2); }
.hw-reveal.g .hw-rv-lbl { color: var(--hw-g); }
.hw-rv-t { margin: 4px 0 4px; font-family: 'Outfit', sans-serif; font-size: 1.45rem; font-weight: 800; color: #fff; letter-spacing: -0.4px; }
.hw-rv-p { margin: 0; font-size: 0.84rem; line-height: 1.5; color: #a49fae; }
.hw-rv-d { display: flex; align-items: center; gap: 8px; margin: 12px 0 2px; }
.hw-rv-d b { font-family: 'Outfit', sans-serif; font-size: 2.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.hw-rv-d svg { width: 32px; height: 32px; }
.hw-reveal.t .hw-rv-d b { color: var(--hw-o2); }
.hw-reveal.k .hw-rv-d b { color: var(--hw-p2); }
.hw-reveal.g .hw-rv-d b { color: var(--hw-g); }
.hw-rv-left { font-size: 0.74rem; color: #7a7585; margin-bottom: 12px; }
.hw-rv-left b { color: #fff; }
.hw-rv-btn {
    width: 100%; padding: 0.8rem; border-radius: 12px; border: none;
    background: #fff; color: #0a0a0c; font-family: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.hw-rv-btn:hover { transform: translateY(-1px); opacity: 0.92; }


/* ToT HUD (scenoje) */
.hw-hud {
    position: absolute; top: 14px; right: 14px; z-index: 8;
    display: flex; align-items: center; gap: 8px;
}

/* Rezultato kortelės mygtukai */
.hw-rv-btns { display: flex; gap: 8px; width: 100%; }
.hw-rv-btns .hw-rv-btn { flex: 1.3; }
.hw-rv-btn2 {
    flex: 1; padding: 0.8rem; border-radius: 12px; cursor: pointer;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: #e4e3ea;
    font-size: 0.84rem; font-weight: 600; transition: background 0.2s ease;
}
.hw-rv-btn2:hover { background: rgba(255, 255, 255, 0.1); }
.hw-reveal.bad .hw-rv-card { border-color: rgba(248, 113, 113, 0.4); box-shadow: 0 0 60px -10px rgba(248, 113, 113, 0.45); }
.hw-reveal.bad .hw-rv-lbl { color: #fca5a5; }

/* ============================================================
   FIND THE PUMPKINS
   ============================================================ */
.pk-wrap { display: grid; grid-template-columns: 1fr 250px; gap: 12px; align-items: stretch; }
.pk-stage {
    position: relative; overflow: hidden; isolation: isolate;
    min-height: 470px; padding: 26px 22px 22px; border-radius: 22px;
    background:
        radial-gradient(70% 50% at 50% 0%, rgba(74, 222, 128, 0.08), transparent 70%),
        linear-gradient(180deg, #08100d 0%, #0d1310 45%, #120f0c 100%);
    border: 1px solid var(--hw-line);
}
.pk-sky { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.pk-moon { position: absolute; top: -30px; right: 8%; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(220, 255, 230, 0.13), transparent 70%); }
.pk-sky .hw-fog { bottom: 0; height: 40%; }
.pk-stage.scare { animation: hwScare 0.5s ease; }
.pk-stage.scare::after { content: ''; position: absolute; inset: 0; background: rgba(248, 113, 113, 0.14); pointer-events: none; animation: hwFlash 0.6s ease forwards; }
@keyframes hwFlash { to { opacity: 0; } }

.pk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 12px; position: relative; z-index: 1; }
.pk-t {
    position: relative; aspect-ratio: 1 / 0.92; padding: 0; border: none; background: none; cursor: pointer;
    border-radius: 16px; color: inherit;
    transition: transform 0.35s var(--hw-ease), opacity 0.4s ease, filter 0.4s ease;
}
.pk-t:disabled { cursor: default; }
.pk-g { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pk-stone { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.45s var(--hw-ease), opacity 0.35s ease; }
.pk-glow {
    position: absolute; left: 15%; right: 15%; bottom: 4%; height: 30%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 170, 80, 0.5), transparent);
    opacity: 0; transition: opacity 0.3s ease;
}
.pk-grid.live .pk-t:not(.p):not(:disabled):hover { transform: translateY(-4px); }
.pk-grid.live .pk-t:not(.p):not(:disabled):hover .pk-glow { opacity: 0.6; }
.pk-grid.live .pk-t:not(.p):not(:disabled):hover .pk-stone { transform: rotate(-3deg); }
.pk-grid.busy .pk-t { pointer-events: none; }
.pk-grid:not(.live) .pk-t { filter: brightness(0.55) saturate(0.6); }
.pk-grid.deal .pk-t { animation: pkDeal 0.55s var(--hw-ease) both; animation-delay: calc(var(--i) * 0.04s); }
@keyframes pkDeal { from { opacity: 0; transform: translateY(18px) scale(0.85); } to { opacity: 1; transform: none; } }

.pk-t.dig { animation: pkDig 0.5s ease; }
.pk-t.dig .pk-stone { transform: rotate(6deg) translateY(4px); }
@keyframes pkDig { 0%, 100% { transform: none; } 20% { transform: translate(-3px, 1px) rotate(-2deg); } 40% { transform: translate(3px, 0) rotate(2deg); } 60% { transform: translate(-2px, 1px); } 80% { transform: translate(2px, 0); } }

.pk-r { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.pk-r svg { width: 64%; height: auto; opacity: 0; transform: translateY(20px) scale(0.4); }
.pk-r b { margin-top: -4px; padding: 2px 9px; border-radius: 999px; font-family: 'Outfit', sans-serif; font-size: 0.86rem; font-weight: 800; color: #1a0e05; background: #ffb35a; opacity: 0; transform: translateY(6px); }
.pk-t.p .pk-stone, .pk-t.s .pk-stone, .pk-t.s-rev .pk-stone { transform: translateY(26px) scale(0.85); opacity: 0; }
.pk-t.p .pk-r svg, .pk-t.s .pk-r svg, .pk-t.s-rev .pk-r svg { animation: pkPop 0.6s cubic-bezier(0.2, 1.5, 0.4, 1) forwards; }
.pk-t.p .pk-r b { animation: hwFadeUp 0.4s var(--hw-ease) 0.25s forwards; }
.pk-t.p .pk-glow { opacity: 0.9; animation: hwJack 2.4s ease-in-out infinite; }
.pk-t.s .pk-glow { opacity: 0.9; background: radial-gradient(closest-side, rgba(248, 113, 113, 0.55), transparent); }
.pk-t.s { animation: pkDig 0.4s ease; }
.pk-t.s-rev .pk-r svg { filter: grayscale(0.3); }
.pk-t.s-rev { opacity: 0.75; }
.pk-t.dim { opacity: 0.35; filter: grayscale(0.8); }
@keyframes pkPop { from { opacity: 0; transform: translateY(20px) scale(0.4); } to { opacity: 1; transform: none; } }

.pk-start {
    position: absolute; inset: 0; z-index: 5;
    display: flex; align-items: center; justify-content: center; padding: 18px;
    background: radial-gradient(60% 60% at 50% 50%, rgba(5, 6, 6, 0.55), rgba(5, 6, 6, 0.86));
    opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.pk-start.on { opacity: 1; pointer-events: auto; }
.pk-start-c {
    width: min(380px, 100%); text-align: center; padding: 1.4rem; border-radius: 22px;
    background: linear-gradient(180deg, rgba(20, 26, 22, 0.96), rgba(10, 12, 11, 0.97));
    border: 1px solid rgba(74, 222, 128, 0.22); box-shadow: 0 0 60px -14px rgba(74, 222, 128, 0.35);
    transform: translateY(12px) scale(0.95); transition: transform 0.5s cubic-bezier(0.2, 1.3, 0.4, 1);
}
.pk-start.on .pk-start-c { transform: none; }
.pk-start-art { width: 86px; height: 86px; margin: 0 auto 4px; animation: hwArt 3s ease-in-out infinite; }
.pk-start-art svg { width: 100%; height: 100%; }
.pk-start-c h3 { margin: 0 0 6px; font-family: 'Outfit', sans-serif; font-size: 1.4rem; color: #fff; }
.pk-start-c p { margin: 0 0 14px; font-size: 0.84rem; line-height: 1.55; color: #9aa59e; }
.pk-start-c p b { color: #fca5a5; }
.pk-start-c .hw-rv-btn { display: flex; align-items: center; justify-content: center; gap: 10px; }
.pk-start-c .hw-rv-btn span { padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.1); font-size: 0.74rem; }
.pk-wait { padding: 0.8rem; border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-size: 0.84rem; color: #a49fae; }
.pk-wait b { color: var(--hw-o2); font-variant-numeric: tabular-nums; }

.pk-side { display: flex; flex-direction: column; gap: 10px; }
.pk-pot {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 1.1rem 1rem;
    border-radius: 18px; text-align: center;
    background: radial-gradient(90% 90% at 50% 0%, rgba(255, 138, 61, 0.16), transparent 70%), var(--hw-card);
    border: 1px solid rgba(255, 138, 61, 0.22);
}
.pk-pot.bump { animation: hwBagBump 0.35s ease; }
.pk-pot span { font-size: 0.64rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #8b8895; }
.pk-pot b { font-family: 'Outfit', sans-serif; font-size: 2.6rem; font-weight: 800; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.pk-pot i { font-style: normal; font-size: 0.78rem; color: var(--hw-o2); }
.pk-cash {
    padding: 0.9rem; border-radius: 14px; border: none; cursor: pointer;
    background: linear-gradient(135deg, #86efac, #22c55e); color: #052e16; font-size: 0.9rem; font-weight: 800;
    transition: opacity 0.25s ease, transform 0.2s ease, filter 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px -12px rgba(34, 197, 94, 0.7);
}
.pk-cash b { font-family: 'Outfit', sans-serif; font-size: 1.05rem; }
.pk-cash:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.pk-cash:disabled { opacity: 0.3; cursor: not-allowed; box-shadow: none; }
.pk-ladder { display: flex; flex-direction: column; gap: 4px; padding: 0.7rem; border-radius: 16px; background: var(--hw-card); border: 1px solid var(--hw-line); flex: 1; }
.pk-step { display: flex; justify-content: space-between; align-items: center; padding: 0.32rem 0.6rem; border-radius: 9px; font-size: 0.78rem; color: #5d5966; transition: all 0.35s var(--hw-ease); }
.pk-step span { font-size: 0.7rem; }
.pk-step b { font-family: 'Outfit', sans-serif; font-weight: 700; }
.pk-step.done { color: #4ade80; background: rgba(74, 222, 128, 0.07); }
.pk-step.next { color: #fff; background: rgba(255, 138, 61, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 138, 61, 0.35); }
.pk-meta { display: flex; flex-direction: column; gap: 3px; padding: 0 4px; font-size: 0.74rem; color: #7a7585; }
.pk-meta b { color: #fff; }

/* ============================================================
   HALLOWEEN WHEEL
   ============================================================ */
.rw-stage {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; justify-content: center;
    min-height: 520px; padding: 30px 16px; border-radius: 22px;
    background: radial-gradient(60% 60% at 50% 50%, #2a1650 0%, #120a22 55%, #07050c 100%);
    border: 1px solid var(--hw-line);
}
.rw-rays {
    position: absolute; left: 50%; top: 50%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; z-index: -1;
    background: repeating-conic-gradient(from 0deg, rgba(255, 180, 120, 0.06) 0deg 7deg, transparent 7deg 18deg);
    mask-image: radial-gradient(closest-side, #000 25%, transparent 70%); -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 70%);
    animation: hwArtRot 60s linear infinite;
}
.rw-stage.spin .rw-rays { animation-duration: 8s; }
.rw-wrap { position: relative; width: min(440px, 86vw); aspect-ratio: 1; }
.rw-wheel { position: absolute; inset: 0; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)); transition: filter 0.4s ease; }
.rw-wheel.win { filter: drop-shadow(0 0 40px rgba(255, 170, 80, 0.55)); }
.rw-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.rw-rot { transform-box: view-box; transform-origin: 210px 210px; }
.rw-v { font-family: 'Outfit', sans-serif; font-size: 27px; font-weight: 800; fill: #fff; text-anchor: middle; paint-order: stroke; stroke: rgba(0, 0, 0, 0.25); stroke-width: 3px; }
.rw-s { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1px; fill: rgba(255, 255, 255, 0.75); text-anchor: middle; text-transform: uppercase; }
.rw-gold { fill: #3b2402; stroke: none; }
.rw-gold-s { fill: #6b3f05; font-size: 9px; }
.rw-bulb { fill: #3a2c4a; transition: fill 0.2s ease; }
.rw-stage .rw-bulb.a { animation: rwBulb 1.2s steps(1) infinite; }
.rw-stage .rw-bulb.b { animation: rwBulb 1.2s steps(1) infinite 0.6s; }
.rw-stage.spin .rw-bulb.a, .rw-stage.spin .rw-bulb.b { animation-duration: 0.3s; }
.rw-stage.spin .rw-bulb.b { animation-delay: 0.15s; }
@keyframes rwBulb { 0% { fill: #ffd27a; filter: drop-shadow(0 0 4px #ffb347); } 50% { fill: #3a2c4a; filter: none; } }

.rw-pointer { position: absolute; top: -18px; left: 50%; width: 40px; margin-left: -20px; z-index: 3; transform-origin: 50% 30%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
.rw-pointer svg { width: 100%; display: block; }
.rw-pointer.flick { animation: rwFlick 0.14s ease-out; }
@keyframes rwFlick { 0% { transform: rotate(0); } 40% { transform: rotate(-16deg); } 100% { transform: rotate(0); } }

.rw-hub {
    position: absolute; left: 50%; top: 50%; width: 23%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
    border-radius: 50%; border: 4px solid #f7c66a; cursor: pointer; padding: 0;
    background: radial-gradient(circle at 40% 35%, #2e1f45, #120b1d);
    box-shadow: 0 0 0 6px rgba(26, 16, 40, 0.9), 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s var(--hw-ease), box-shadow 0.3s ease;
}
.rw-hub svg { width: 62%; height: auto; margin-top: -8%; }
.rw-hub span { font-family: 'Outfit', sans-serif; font-size: 0.72rem; font-weight: 800; letter-spacing: 1.5px; color: #ffd27a; margin-top: -10%; }
.rw-stage.ready .rw-hub { animation: rwHub 2s ease-in-out infinite; }
.rw-stage.ready .rw-hub:hover { transform: translate(-50%, -50%) scale(1.06); }
.rw-hub:disabled { cursor: default; }
.rw-hub:disabled span { color: #6e6a78; }
@keyframes rwHub { 0%, 100% { box-shadow: 0 0 0 6px rgba(26, 16, 40, 0.9), 0 0 0 6px rgba(255, 170, 80, 0); } 50% { box-shadow: 0 0 0 6px rgba(26, 16, 40, 0.9), 0 0 0 16px rgba(255, 170, 80, 0.18); } }
.hw .rw-hub:active:not(:disabled) { transform: translate(-50%, -50%) scale(0.95); }

.rw-ctrl { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.rw-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 0.85rem 1.4rem; border-radius: 14px; cursor: pointer;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: #e4e3ea;
    font-size: 0.88rem; font-weight: 700;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.rw-btn svg { width: 18px; height: 18px; }
.rw-btn small { margin-left: 4px; font-size: 0.7rem; font-weight: 600; color: #8b8895; }
.rw-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.09); border-color: rgba(157, 123, 255, 0.4); }
.rw-btn.main { background: linear-gradient(135deg, #ffb35a, #ff7a1a); border: none; color: #1a0e05; box-shadow: 0 12px 30px -12px rgba(255, 138, 61, 0.7); }
.rw-btn.main:hover:not(:disabled) { filter: brightness(1.07); background: linear-gradient(135deg, #ffb35a, #ff7a1a); }
.rw-btn:disabled { opacity: 0.3; cursor: not-allowed; box-shadow: none; }
.rw-note { width: 100%; text-align: center; font-size: 0.78rem; color: #7a7585; }
.rw-note b { color: var(--hw-o2); font-variant-numeric: tabular-nums; }

/* Stage viduje esanti kortelė užima visą plotą */
.pk-stage .hw-reveal, .rw-stage .hw-reveal { border-radius: 22px; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 1100px) {
}
@media (max-width: 900px) {
    .ps-hw-dot { margin-left: 2px; }
    .hw-bar { top: 64px; }
}
@media (max-width: 760px) {
    .hw-bar { padding: 6px; gap: 8px; }
    .hw-back span { display: none; }
    .hw[data-view="tot"] .hw-back, .hw[data-view="pk"] .hw-back, .hw[data-view="ratas"] .hw-back { padding: 0 9px; }
    .hw-kick { display: none; }
    .hw-pts { height: 36px; padding-right: 11px; }
    .hw-pts i { display: none; }
    .hw-bar .hw-ib { width: 36px; height: 36px; }

    .hw-stage { height: 440px; border-radius: 18px; }
    .hw-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .hw-scroll::-webkit-scrollbar { display: none; }
    .hw-cam { width: 943px; }
    .hw-cam.zoom { transform: scale(1.9); }
    .hw-hud { top: 10px; right: 10px; }
    .hw-kn { height: 36px; padding: 0 10px; gap: 7px; }
    .hw-kn-d { display: none; }
    .hw-hud .hw-ib { width: 36px; height: 36px; }
    .hw-info { top: 56px; right: 10px; }
    .hw-hint { white-space: normal; font-size: 0.78rem; width: max-content; }

    .pk-wrap { grid-template-columns: 1fr; }
    .pk-stage { min-height: 0; padding: 16px 10px; }
    .pk-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .pk-side { display: grid; grid-template-columns: 1fr 1fr; }
    .pk-pot { grid-row: span 1; }
    .pk-cash { align-self: stretch; }
    .pk-ladder { grid-column: 1 / -1; flex-direction: row-reverse; flex-wrap: wrap; justify-content: center; }
    .pk-step { flex-direction: column; gap: 0; padding: 0.3rem 0.5rem; min-width: 38px; }
    .pk-meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
    .pk-start { align-items: center; }

    .rw-stage { min-height: 0; padding: 34px 10px 20px; }
    .rw-btn { flex: 1; justify-content: center; padding: 0.8rem 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hw-star, .hw-cloud, .hw-fog, .hw-flick, .hw-jglow, .hw-face, .hw-smoke circle, .hw-bat, .hw-hbat,
    .ps-hw-dot, .hw-kick i, .rw-rays, .art-rot, .art-w rect, .rw-bulb { animation: none !important; }
    .hw-view.in, .hw-view.out { animation-duration: 0.01s !important; }
}

/* Tinklelio stulpeliai niekada neturi išstumti puslapio į šoną */
.pk-wrap > * { min-width: 0; }
@media (max-width: 760px) {
    .pk-wrap { grid-template-columns: minmax(0, 1fr); }
    .pk-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ============================================================
   3D SLUOKSNIAI
   ============================================================ */
.hw3d-box { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.hw3d-box canvas { display: block; width: 100% !important; height: 100% !important; touch-action: pan-y; animation: hw3dIn 0.9s ease both; }
@keyframes hw3dIn { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }

.hw-stage.is3d { height: clamp(460px, 50vw, 580px); }
.hw-stage.is3d .hw-scroll, .hw-stage.is3d > .hw-bat { display: none; }
.hw-stage.is3d .hw-vignette { background: radial-gradient(130% 100% at 50% 40%, transparent 60%, rgba(3, 2, 6, 0.55) 100%); }

.pk-stage.is3d { height: clamp(480px, 48vw, 580px); min-height: 0; padding: 0; }
.pk-stage.is3d .pk-grid { position: absolute; visibility: hidden; pointer-events: none; }
.pk-stage.is3d .pk-sky { display: none; }

.rw-stage.is3d { height: clamp(480px, 50vw, 600px); min-height: 0; padding: 0; }
.rw-stage.is3d .rw-wrap, .rw-stage.is3d .rw-rays { display: none; }

/* Įkrovimas */
.hw3d-load {
    position: absolute; inset: 0; z-index: 4;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    background: radial-gradient(60% 60% at 50% 50%, rgba(20, 14, 30, 0.6), rgba(5, 3, 9, 0.9));
    font-size: 0.82rem; color: #a49fae;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.hw3d-load.on { opacity: 1; }
.hw3d-load i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 138, 61, 0.2); border-top-color: #ff8a3d; animation: hwArtRot 0.8s linear infinite; }

/* Namų perjungimas telefone */
.hw3d-nav {
    position: absolute; left: 50%; bottom: 14px; z-index: 8; transform: translateX(-50%);
    display: none; align-items: center; gap: 12px;
    padding: 5px; border-radius: 999px;
    background: var(--hw-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hw-stage.narrow3d .hw3d-nav { display: flex; }
.hw-stage.narrow3d .hw-hint { bottom: 70px; }
.hw-stage.busy .hw3d-nav { opacity: 0; pointer-events: none; }
.hw3d-nav button {
    width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 138, 61, 0.16); color: #ffb47a; transition: opacity 0.2s ease, background 0.2s ease;
}
.hw3d-nav button svg { width: 18px; height: 18px; }
.hw3d-nav button:disabled { opacity: 0.25; cursor: default; }
.hw3d-dots { display: flex; gap: 6px; }
.hw3d-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); transition: all 0.3s var(--hw-ease); }
.hw3d-dots i.on { width: 20px; border-radius: 4px; background: #ff8a3d; }


@media (max-width: 760px) {
    .hw-stage.is3d { height: 470px; }
    .pk-stage.is3d { height: 520px; }
    .rw-stage.is3d { height: 470px; }
}

/* ============================================================
   v3 — sklandumas ir detalės
   ============================================================ */

/* Užuomina virš 3D objektų */
.hw3d-tip {
    position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none;
    padding: 7px 13px; border-radius: 999px; white-space: nowrap;
    background: rgba(12, 9, 18, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.78rem; font-weight: 700; color: #fff; letter-spacing: 0.2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    opacity: 0; transition: opacity 0.25s ease;
    will-change: transform;
}
.hw3d-tip::after {
    content: ''; position: absolute; left: 50%; bottom: -5px; width: 9px; height: 9px; margin-left: -5px;
    background: inherit; border-right: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transform: rotate(45deg);
}
.hw3d-tip.on { opacity: 1; }
.hw3d-tip b { font-family: 'Outfit', sans-serif; }
.hw3d-tip.o { border-color: rgba(255, 138, 61, 0.5); box-shadow: 0 0 24px -4px rgba(255, 138, 61, 0.55); }
.hw3d-tip.o b, .hw3d-tip.o { color: #ffd2a8; }
.hw3d-tip.g { border-color: rgba(74, 222, 128, 0.45); box-shadow: 0 0 24px -4px rgba(74, 222, 128, 0.5); }
.hw3d-tip.g b { color: #86efac; }
.hw3d-tip.p { border-color: rgba(167, 139, 250, 0.5); box-shadow: 0 0 24px -4px rgba(167, 139, 250, 0.55); }
.hw3d-tip.p b { color: #ddd6fe; }

/* „+N" prie taškų */
.hw-pts { position: relative; }
.hw-pts-pop {
    position: absolute; right: 8px; top: -6px; z-index: 2; pointer-events: none;
    font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 800;
    animation: hwPop 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hw-pts-pop.p { color: #ffb47a; text-shadow: 0 0 12px rgba(255, 138, 61, 0.7); }
.hw-pts-pop.m { color: #c4b2ff; text-shadow: 0 0 12px rgba(157, 123, 255, 0.7); }
@keyframes hwPop {
    0% { opacity: 0; transform: translateY(6px) scale(0.6); }
    18% { opacity: 1; transform: translateY(-6px) scale(1.15); }
    70% { opacity: 1; transform: translateY(-16px) scale(1); }
    100% { opacity: 0; transform: translateY(-26px) scale(0.95); }
}

/* Šviesos spinduliai už laimėjimo paveiksliuko */
.hw-rv-art { position: relative; z-index: 0; }
.hw-rv-art::before {
    content: ''; position: absolute; inset: -46px; z-index: -1; border-radius: 50%; pointer-events: none;
    background: repeating-conic-gradient(from 0deg, rgba(255, 180, 110, 0.35) 0deg 8deg, transparent 8deg 22deg);
    -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
    opacity: 0; transform: scale(0.6);
    transition: opacity 0.6s ease, transform 0.8s var(--hw-ease);
    animation: hwArtRot 14s linear infinite;
}
.hw-reveal.on.t .hw-rv-art::before { opacity: 1; transform: none; }
.hw-reveal.on.g .hw-rv-art::before { background: repeating-conic-gradient(from 0deg, rgba(251, 191, 36, 0.55) 0deg 8deg, transparent 8deg 20deg); animation-duration: 8s; }
.hw-reveal.on.k .hw-rv-art::before { opacity: 0.6; transform: none; background: repeating-conic-gradient(from 0deg, rgba(157, 123, 255, 0.28) 0deg 8deg, transparent 8deg 22deg); }
.hw-reveal.on.bad .hw-rv-art::before { background: repeating-conic-gradient(from 0deg, rgba(248, 113, 113, 0.28) 0deg 8deg, transparent 8deg 22deg); }

/* Mygtukų ir pereinamųjų būsenų švelnumas */
.hw button { transition-property: transform, opacity, background, border-color, color, box-shadow, filter; }
.hw-rv-btn, .hw-ex-go, .pk-cash, .rw-btn.main { position: relative; overflow: hidden; }
.hw-rv-btn::after, .hw-ex-go::after, .pk-cash::after, .rw-btn.main::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg); transition: left 0.7s ease;
}
.hw-rv-btn:hover::after, .hw-ex-go:hover:not(:disabled)::after, .pk-cash:hover:not(:disabled)::after, .rw-btn.main:hover:not(:disabled)::after { left: 120%; }

@media (prefers-reduced-motion: reduce) {
    .hw-rv-art::before, .hw-pts-pop { animation: none !important; }
}

/* ===== Pranešimas apie eventą (atidarius puslapį) ===== */
.irl-hw-img {
    position: relative; z-index: 2;
    margin: -2.4rem -2rem 1.4rem;
    aspect-ratio: 3 / 1; overflow: hidden;
}
.irl-hw-img img { width: 100%; height: 100%; object-fit: cover; display: block; animation: irlHwZoom 9s ease-out both; }
.irl-hw-img::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, #101014 100%);
}
@keyframes irlHwZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.irl-badge.irl-badge-hw { background: rgba(255, 138, 61, 0.12); border-color: rgba(255, 138, 61, 0.35); color: #ff9a57; }
.irl-badge-hw .irl-dot { background: #ff8a3d; box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.2); }
.news-box.irl-box:has(.irl-hw-img) .irl-glow-1 { background: rgba(255, 138, 61, 0.16); }
.irl-btn.irl-btn-hw {
    border: 0; cursor: pointer; font: inherit; font-weight: 700;
    background: linear-gradient(135deg, #ff9a4d, #ff6a1a); color: #1a0d04;
    box-shadow: 0 10px 30px rgba(255, 106, 26, 0.3);
}
.irl-btn.irl-btn-hw:hover { background: linear-gradient(135deg, #ffa95f, #ff7a2a); box-shadow: 0 14px 38px rgba(255, 106, 26, 0.45); }
@media (max-width: 520px) { .irl-hw-img { margin: -2rem -1.3rem 1.1rem; } }
.irl-title.irl-title-hw { font-size: clamp(1.45rem, 5vw, 1.8rem); white-space: nowrap; }

@keyframes hwArtRot { to { transform: rotate(360deg); } }

/* ============================================================
   ŽAIDIMŲ CENTRAS (hub)
   ============================================================ */
.hw { --hx-bg: #0e0c12; --hx-bg2: #131118; --hx-line: rgba(255, 255, 255, 0.07); --hx-mut: #8a8594; --hx-dim: #5f5a69; }
.hw-view.in .hx-hero, .hw-view.in .hx-sec, .hw-view.in .hx-card, .hw-view.in .hx-cols > * { animation: hxUp 0.7s var(--hw-ease) both; }
.hw-view.in .hx-sec { animation-delay: 0.1s; }
.hw-view.in .hx-card { animation-delay: calc(0.14s + var(--i) * 0.07s); }
.hw-view.in .hx-cols > :nth-child(1) { animation-delay: 0.34s; }
.hw-view.in .hx-cols > :nth-child(2) { animation-delay: 0.42s; }
@keyframes hxUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hx-hero {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: 24px; background: #0a080e;
    border: 1px solid var(--hx-line);
}
.hx-hero-img {
    position: absolute; inset: 0; z-index: -1;
    background: url('helovynas/hero.webp?v=1') 70% 40% / cover no-repeat;
    animation: hxKen 30s ease-in-out infinite alternate;
}
.hx-hero-img::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, #0a080e 0%, rgba(10, 8, 14, 0.9) 34%, rgba(10, 8, 14, 0.35) 70%, rgba(10, 8, 14, 0.15) 100%),
        linear-gradient(0deg, #0a080e 0%, rgba(10, 8, 14, 0) 46%);
}
@keyframes hxKen { from { transform: scale(1.04); } to { transform: scale(1.12) translateX(-1.5%); } }
.hx-hero-in { position: relative; padding: 2.2rem 2.2rem 1.6rem; max-width: 560px; }
.hx-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: #ffb47a;
}
.hx-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #ff8a3d; animation: hwPulse 2s ease-out infinite; }
.hx-title {
    margin: 0.75rem 0 0.6rem;
    font-family: 'Outfit', sans-serif; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -1.5px; color: #fff;
}
.hx-title span { color: #ff8a3d; }
.hx-lead { margin: 0; max-width: 430px; font-size: 0.93rem; line-height: 1.6; color: #a9a3b4; }
.hx-cd { display: flex; align-items: baseline; gap: 10px; margin-top: 1.4rem; font-family: 'Outfit', sans-serif; }
.hx-cd em { font-family: 'Inter', sans-serif; font-style: normal; font-size: 0.72rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--hx-mut); margin-right: 4px; }
.hx-cd span { display: inline-flex; align-items: baseline; gap: 2px; }
.hx-cd b { display: inline-block; min-width: 1.15em; font-size: 1.6rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.hx-cd b.tick { animation: hxTick 0.45s var(--hw-ease); }
@keyframes hxTick { from { transform: translateY(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
.hx-cd i { font-style: normal; font-size: 0.85rem; font-weight: 600; color: var(--hx-dim); }

.hx-stats {
    position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--hx-line);
    background: rgba(10, 8, 14, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hx-stat { display: flex; flex-direction: column; gap: 3px; padding: 1rem 1.4rem 1.1rem; min-width: 0; position: relative; }
.hx-stat + .hx-stat { border-left: 1px solid var(--hx-line); }
.hx-stat i { font-style: normal; font-size: 0.66rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--hx-mut); }
.hx-stat b { font-family: 'Outfit', sans-serif; font-size: 1.65rem; font-weight: 700; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.hx-stat.s-pts b { color: #ff9a57; }
.hx-stat.s-coins b { color: #fcd34d; }
.hx-stat-a {
    position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
    display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 8px;
    border: 1px solid rgba(255, 138, 61, 0.3); background: rgba(255, 138, 61, 0.08);
    color: #ffb47a; font-size: 0.74rem; font-weight: 600; cursor: pointer;
}
.hx-stat-a svg { width: 13px; height: 13px; transition: transform 0.3s var(--hw-ease); }
.hx-stat-a:hover { background: rgba(255, 138, 61, 0.16); color: #fff; }
.hx-stat-a:hover svg { transform: translateX(3px); }

/* ---------- Skilties antraštė ---------- */
.hx-sec { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 2rem 0 1rem; }
.hx-sec h3, .hx-box-h h3 { margin: 0; font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: -0.3px; }
.hx-sec > div:first-child { display: flex; flex-direction: column; gap: 3px; }
.hx-sec > div:first-child span { font-size: 0.8rem; color: var(--hx-mut); }
.hx-sec b { color: #fff; font-variant-numeric: tabular-nums; }
.hx-today { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; min-width: 200px; }
.hx-today-t { font-size: 0.8rem; color: var(--hx-mut); }
.hx-today-bar { width: 200px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.hx-today-bar i { display: block; height: 100%; border-radius: inherit; background: #ff8a3d; transition: width 1s var(--hw-ease); }

/* ---------- Žaidimų kortelės ---------- */
.hx-games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hx-card {
    --c: #ff8a3d; --ca: rgba(255, 138, 61, 0.4);
    position: relative; display: flex; flex-direction: column; min-width: 0;
    padding: 0; border-radius: 20px; overflow: hidden; text-align: left; cursor: pointer; color: inherit;
    background: var(--hx-bg); border: 1px solid var(--hx-line);
    transition: transform 0.5s var(--hw-ease), border-color 0.3s ease, box-shadow 0.5s var(--hw-ease);
}
.hx-card.c-g { --c: #4ade80; --ca: rgba(74, 222, 128, 0.35); }
.hx-card.c-p { --c: #a78bfa; --ca: rgba(167, 139, 250, 0.4); }
.hx-card:hover, .hx-card:focus-visible { transform: translateY(-6px); border-color: var(--ca); box-shadow: 0 28px 50px -30px var(--ca); outline: none; }
.hw .hx-card:active { transform: translateY(-2px) scale(0.99); }
.hx-card-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0812; }
.hx-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1s var(--hw-ease), filter 0.5s ease; filter: brightness(0.92); }
.hx-card:hover .hx-card-img img { transform: scale(1.12); filter: brightness(1.05); }
.hx-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 12, 18, 0) 55%, var(--hx-bg) 100%); }
.hx-card-nr {
    position: absolute; top: 14px; left: 16px; z-index: 1;
    font-family: 'Outfit', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; color: rgba(255, 255, 255, 0.75);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}
.hx-chip {
    position: absolute; top: 12px; right: 12px; z-index: 1;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px; border-radius: 8px;
    background: rgba(10, 8, 14, 0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.7rem; font-weight: 600; color: var(--hx-mut);
}
.hx-chip.on { color: #fff; border-color: var(--ca); }
.hx-chip.on::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.hx-card-body { display: flex; flex-direction: column; gap: 6px; padding: 0.2rem 1.25rem 1.2rem; flex: 1; }
.hx-card-body > b { font-family: 'Outfit', sans-serif; font-size: 1.22rem; font-weight: 700; color: #fff; letter-spacing: -0.2px; }
.hx-card-desc { font-size: 0.82rem; line-height: 1.55; color: var(--hx-mut); flex: 1; }
.hx-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--hx-line); }
.hx-pips { display: flex; gap: 4px; flex: 1; max-width: 120px; }
.hx-pips i { flex: 1; max-width: 24px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.09); transition: background 0.4s ease; }
.hx-pips i.on { background: var(--c); }
.hx-play {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 0.82rem; font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}
.hx-play svg { width: 14px; height: 14px; transition: transform 0.3s var(--hw-ease); }
.hx-card:hover .hx-play { background: var(--c); color: #120a05; }
.hx-card:hover .hx-play svg { transform: translateX(3px); }

/* ---------- Dėžės: lyderiai, keitimas ---------- */
.hx-cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.hx-box { padding: 1.3rem 1.4rem 1.3rem; border-radius: 20px; background: var(--hx-bg); border: 1px solid var(--hx-line); }
.hx-box-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 1.1rem; }
.hx-box-h > div:first-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hx-box-h h3 { font-size: 1.1rem; }
.hx-box-h span { font-size: 0.78rem; color: var(--hx-mut); }
.hx-tabs { display: flex; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--hx-line); }
.hw-tab { padding: 0.42rem 0.8rem; border-radius: 7px; border: none; background: none; color: var(--hx-mut); font-size: 0.78rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.hw-tab:hover { color: #fff; }
.hw-tab.on { background: rgba(255, 255, 255, 0.08); color: #fff; }
.hx-tab-p { animation: hwFadeUp 0.35s var(--hw-ease); }
.hx-note { margin: 1rem 0 0; font-size: 0.72rem; line-height: 1.5; color: var(--hx-dim); }

.hx-rows { display: flex; flex-direction: column; max-height: 430px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; }
.hx-row {
    display: flex; align-items: center; gap: 12px; padding: 0.7rem 0.6rem; border-radius: 12px;
    animation: hxUp 0.5s var(--hw-ease) both; animation-delay: calc(var(--i) * 0.04s);
    transition: background 0.2s ease;
}
.hx-row + .hx-row { margin-top: 2px; }
.hx-row:hover { background: rgba(255, 255, 255, 0.025); }
.hx-row.me { background: rgba(255, 138, 61, 0.07); box-shadow: inset 2px 0 0 #ff8a3d; }
.hx-rank { width: 22px; flex: 0 0 auto; text-align: center; font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--hx-dim); font-variant-numeric: tabular-nums; }
.hx-row.r1 .hx-rank { color: #fbbf24; }
.hx-row.r2 .hx-rank { color: #cbd5e1; }
.hx-row.r3 .hx-rank { color: #e0975e; }
.hx-av {
    width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 700; color: #d8d4de;
    background: rgba(255, 255, 255, 0.06);
}
.hx-row.r1 .hx-av { background: rgba(251, 191, 36, 0.14); color: #fcd34d; }
.hx-row.r2 .hx-av { background: rgba(203, 213, 225, 0.12); color: #e2e8f0; }
.hx-row.r3 .hx-av { background: rgba(224, 151, 94, 0.14); color: #f0b383; }
.hx-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hx-name { display: flex; align-items: center; gap: 7px; font-size: 0.88rem; font-weight: 500; color: #ece9f1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-name em { font-style: normal; flex: 0 0 auto; padding: 1px 6px; border-radius: 5px; background: rgba(255, 138, 61, 0.16); color: #ffb47a; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
.hx-who small { font-size: 0.72rem; color: var(--hx-dim); margin-top: -3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.hx-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: rgba(255, 255, 255, 0.22); transform-origin: left; animation: hxGrow 1s var(--hw-ease) both; animation-delay: calc(0.2s + var(--i) * 0.05s); }
.hx-row.r1 .hx-bar i { background: #fbbf24; }
.hx-row.r2 .hx-bar i { background: #cbd5e1; }
.hx-row.r3 .hx-bar i { background: #e0975e; }
.hx-row.me .hx-bar i { background: #ff8a3d; }
@keyframes hxGrow { from { transform: scaleX(0); } to { transform: none; } }
.hx-xp { flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: 4px; font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.hx-xp small { font-size: 0.62rem; font-weight: 700; color: var(--hx-dim); }
.hx-ic { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; padding: 5px; display: flex; background: rgba(255, 255, 255, 0.05); }
.hx-ic svg { width: 100%; height: 100%; }
.hx-d { flex: 0 0 auto; min-width: 36px; text-align: right; font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; color: var(--hx-dim); }
.hx-d.p { color: #ff9a57; }
.hx-d.m { color: #a78bfa; }
.hx-mine { margin-top: 10px; padding: 0.75rem 0.9rem; border-radius: 12px; background: rgba(255, 255, 255, 0.03); font-size: 0.8rem; color: var(--hx-mut); text-align: center; }
.hx-mine b { color: #ffb47a; }
.hx-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 1.6rem 1rem; text-align: center; }
.hx-empty svg { width: 56px; height: 56px; opacity: 0.7; }
.hx-empty p { margin: 0; font-size: 0.85rem; color: var(--hx-mut); }

/* Keitimas */
.hw-ex { position: relative; transition: box-shadow 0.4s ease, border-color 0.4s ease; }
.hw-ex.bump { animation: hxExGlow 1.1s ease; }
@keyframes hxExGlow { 30% { border-color: rgba(255, 138, 61, 0.5); box-shadow: 0 0 40px -10px rgba(255, 138, 61, 0.5); } }
.hw-ex.dis { opacity: 0.5; pointer-events: none; }
.hw-ex-art { width: 44px; height: 44px; flex: 0 0 auto; }
.hw-ex-art svg { width: 100%; height: 100%; }
.hw-ex-row { display: flex; align-items: center; gap: 10px; }
.hw-ex-in { flex: 1; min-width: 0; display: flex; align-items: center; height: 52px; border-radius: 13px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.09); transition: border-color 0.2s ease; }
.hw-ex-in:focus-within { border-color: rgba(255, 138, 61, 0.5); }
.hw-ex-in input {
    flex: 1; width: 100%; min-width: 0; height: 100%; border: none; outline: none; background: none; text-align: center;
    font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 700; color: #fff; -moz-appearance: textfield; appearance: textfield;
}
.hw-ex-in input::-webkit-outer-spin-button, .hw-ex-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hw-ex-pm { width: 42px; height: 100%; border: none; background: none; color: var(--hx-mut); font-size: 1.25rem; cursor: pointer; }
.hw-ex-pm:hover { color: #fff; }
.hw-ex-arrow { display: flex; color: var(--hx-dim); }
.hw-ex-arrow svg { width: 18px; height: 18px; }
.hw-ex-out { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 16px; min-width: 96px; border-radius: 13px; background: rgba(251, 191, 36, 0.06); border: 1px solid rgba(251, 191, 36, 0.2); }
.hw-ex-coin svg { width: 22px; height: 22px; display: block; }
.hw-ex-out b { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 700; color: #fcd34d; font-variant-numeric: tabular-nums; }
.hw-ex-range {
    --p: 0%;
    -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 4px; margin: 18px 0 6px; border-radius: 4px; outline: none; cursor: pointer;
    background: linear-gradient(90deg, #ff8a3d var(--p), rgba(255, 255, 255, 0.09) var(--p));
}
.hw-ex-range:disabled { opacity: 0.35; cursor: not-allowed; }
.hw-ex-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid #ff8a3d; transition: transform 0.2s ease; }
.hw-ex-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.hw-ex-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 4px solid #ff8a3d; }
.hw-ex-q { display: flex; gap: 6px; margin-top: 10px; }
.hw-ex-q button { flex: 1; padding: 0.55rem; border-radius: 10px; border: 1px solid var(--hx-line); background: rgba(255, 255, 255, 0.03); color: var(--hx-mut); font-size: 0.78rem; font-weight: 600; cursor: pointer; }
.hw-ex-q button:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.hw-ex-go {
    width: 100%; margin-top: 12px; padding: 0.9rem; border-radius: 13px; border: none; cursor: pointer;
    background: #ff8a3d; color: #160b03; font-size: 0.92rem; font-weight: 700;
}
.hw-ex-go:hover:not(:disabled) { background: #ff9a57; transform: translateY(-1px); }
.hw-ex-go:disabled { opacity: 0.28; cursor: not-allowed; }
.hw-ex-go.load { opacity: 0.6; pointer-events: none; }
.hw-ex-msg { margin: 10px 0 0; min-height: 1.2em; font-size: 0.77rem; color: var(--hx-dim); }
.hw-ex-msg a { color: #ffb47a; }
.hw-ex-msg.err { color: #f87171; }
.hw-ex-msg.ok { color: #4ade80; }
.hw-ex-msg.ok b { color: #fcd34d; }
.hw-ex-bal { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hx-line); font-size: 0.77rem; color: var(--hx-mut); }
.hw-ex-bal b { color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- Planšetė / telefonas ---------- */
@media (max-width: 1000px) {
    .hx-cols { grid-template-columns: minmax(0, 1fr); }
    .hx-stat { padding: 0.9rem 1rem 1rem; }
    .hx-stat-a { position: static; transform: none; align-self: flex-start; margin-top: 4px; }
}
@media (max-width: 760px) {
    .hx-hero { border-radius: 20px; }
    .hx-hero-img { background-position: 58% 0%; background-size: auto 62%; background-color: #0a080e; animation: none; }
    .hx-hero-img::after { background: linear-gradient(180deg, rgba(10, 8, 14, 0.05) 0%, rgba(10, 8, 14, 0.82) 34%, #0a080e 52%); }
    .hx-hero-in { padding: 7rem 1.2rem 1.2rem; }
    .hx-title { font-size: 2.3rem; }
    .hx-lead { font-size: 0.88rem; }
    .hx-cd b { font-size: 1.35rem; }
    .hx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-stat:nth-child(3) { border-left: none; }
    .hx-stat:nth-child(n+3) { border-top: 1px solid var(--hx-line); }
    .hx-stat b { font-size: 1.4rem; }
    .hx-stat-a { position: absolute; top: 0.8rem; right: 0.8rem; margin: 0; padding: 4px 8px; font-size: 0.7rem; }
    .hx-sec { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 1.6rem; }
    .hx-today { align-items: stretch; width: 100%; min-width: 0; }
    .hx-today-bar { width: 100%; }
    .hx-games { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .hx-card-img { aspect-ratio: 16 / 7; }
    .hx-card-img img { object-position: center 45%; }
    .hx-card-body { padding: 0.1rem 1rem 1rem; gap: 4px; }
    .hx-card-body > b { font-size: 1.08rem; }
    .hx-card-desc { font-size: 0.78rem; line-height: 1.45; }
    .hx-card-foot { margin-top: 6px; padding-top: 10px; }
    .hx-play { padding: 6px 10px; font-size: 0.76rem; }
    .hx-box { padding: 1.1rem 1rem; }
    .hx-box-h { flex-wrap: wrap; }
    .hw-ex-out { min-width: 0; padding: 0 12px; }
}
@media (hover: none) { .hx-card:hover { transform: none; box-shadow: none; } .hx-card:hover .hx-card-img img { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
    .hx-hero-img, .hx-eyebrow i, .hx-row, .hx-bar i, .hw-view.in .hx-hero, .hw-view.in .hx-sec, .hw-view.in .hx-card, .hw-view.in .hx-cols > * { animation: none !important; }
}

/* ---------- Viršutinė eilutė: meniu jos nėra, žaidimuose — tik grįžimas, taškai, garsas ---------- */
.hw[data-view="hub"] .hw-bar, .hw:not([data-view]) .hw-bar { display: none; }
.hw-bar {
    position: static; margin-bottom: 12px; padding: 0;
    background: none; border: none; border-radius: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.hw .hw-back { max-width: none; opacity: 1; padding: 0 14px 0 10px; height: 40px; border-radius: 12px; border: 1px solid var(--hx-line); background: var(--hx-bg); }
.hw .hw-back:hover { border-color: rgba(255, 255, 255, 0.16); background: var(--hx-bg2); }
.hw-bar-t b { font-size: 1.05rem; }
.hw-bar .hw-ib { background: var(--hx-bg); border-color: var(--hx-line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hx-snd {
    position: absolute; top: 16px; right: 16px; z-index: 2;
    width: 40px; height: 40px; border-radius: 12px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10, 8, 14, 0.55); border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: #d6d2dc; cursor: pointer;
}
.hx-snd svg { width: 18px; height: 18px; }
.hx-snd:hover { color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.hx-snd.off { color: #6e7280; }
.hx-eyebrow.off { color: var(--hx-mut); }
.hx-eyebrow.off i { background: var(--hx-mut); animation: none; }
@media (max-width: 760px) {
    .hx-snd { top: 12px; right: 12px; width: 36px; height: 36px; }
    .hw .hw-back span { display: inline; }
    .hw .hw-back { padding: 0 12px 0 8px; height: 38px; }
    .hw-bar-t b { display: none; }
}

/* ---------- Lyderiai ir prizai ---------- */
.hx-lb { margin-top: 14px; }
.hx-lb-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.hx-lb-list { min-width: 0; }
.hx-lb-list .hx-rows { max-height: 470px; }

/* Pakyla: 2 · 1 · 3 */
.hx-podium { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; align-items: end; padding-top: 4px; }
.hx-pc.v1 { margin-bottom: 16px; }
.hx-pc {
    --pc: #cbd5e1; --pa: rgba(203, 213, 225, 0.22);
    position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    border-radius: 16px; background: var(--hx-bg2); border: 1px solid var(--hx-line);
    transition: transform 0.45s var(--hw-ease), border-color 0.3s ease, box-shadow 0.45s var(--hw-ease);
    animation: hxUp 0.7s var(--hw-ease) both;
}
.hx-pc.v1 { --pc: #fbbf24; --pa: rgba(251, 191, 36, 0.4); border-color: rgba(251, 191, 36, 0.3); box-shadow: 0 26px 50px -30px rgba(251, 191, 36, 0.55); animation-delay: 0.05s; }
.hx-pc.v2 { animation-delay: 0.12s; }
.hx-pc.v3 { --pc: #e0975e; --pa: rgba(224, 151, 94, 0.28); animation-delay: 0.18s; }
.hx-pc.empty { visibility: hidden; }
.hx-pc:hover { transform: translateY(-4px); border-color: var(--pa); }
.hx-pc.mine { box-shadow: inset 0 0 0 1px #ff8a3d; }
.hx-pc-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0812; }
.hx-pc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--hw-ease); }
.hx-pc:hover .hx-pc-img img { transform: scale(1.07); }
.hx-pc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 17, 24, 0) 70%, rgba(19, 17, 24, 0.6) 100%); }
.hx-pc.v1 .hx-pc-img::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 236, 180, 0.28) 50%, transparent 65%);
    transform: translateX(-120%); animation: hxShine 4.5s ease-in-out 1.2s infinite;
}
@keyframes hxShine { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(120%); } }
.hx-pc-n { font-size: 0.62rem; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: var(--pc); }
.hx-pc.v1 .hx-pc-n { font-size: 0.66rem; }
.hx-pc-t { display: flex; flex-direction: column; gap: 3px; padding: 0.55rem 0.75rem 0.8rem; min-width: 0; }
.hx-pc-t > b { font-family: 'Outfit', sans-serif; font-size: 0.86rem; font-weight: 700; line-height: 1.25; color: #fff; }
.hx-pc.v1 .hx-pc-t > b { font-size: 0.98rem; }
.hx-pc-t small, .hx-mi-t small { font-size: 0.7rem; color: var(--hx-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-pc-t small b, .hx-mi-t small b { font-weight: 600; color: var(--hx-mut); }
.hx-pc-t small b.me, .hx-mi-t small b.me { color: #ffb47a; }
.hx-free { font-style: italic; }

.hx-eur {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(255, 138, 61, 0.16), rgba(255, 138, 61, 0.02) 65%), #120e15;
    font-family: 'Outfit', sans-serif; font-size: 1.9rem; font-weight: 800; color: #ffb47a; letter-spacing: -0.5px;
}

/* 4 ir 5 vietos */
.hx-minor { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.hx-mi {
    display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 14px;
    background: var(--hx-bg2); border: 1px solid var(--hx-line);
    transition: border-color 0.3s ease, transform 0.35s var(--hw-ease);
    animation: hxUp 0.6s var(--hw-ease) 0.25s both;
}
.hx-mi:hover { border-color: rgba(255, 138, 61, 0.28); transform: translateX(3px); }
.hx-mi.mine { box-shadow: inset 0 0 0 1px #ff8a3d; }
.hx-mi-n { width: 18px; flex: 0 0 auto; font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 800; color: #ff9a57; }
.hx-mi-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hx-mi-t > b { font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 700; color: #fff; }
.hx-mi .hx-eur, .hx-mi-img { position: relative; inset: auto; flex: 0 0 auto; width: 64px; height: 40px; border-radius: 10px; overflow: hidden; font-size: 1rem; }
.hx-mi-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hx-row-pz { display: inline-flex; align-items: center; gap: 5px; margin-top: -2px; font-size: 0.7rem; font-weight: 500; color: var(--hx-mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-row-pz svg { width: 12px; height: 12px; flex: 0 0 auto; color: var(--hx-dim); }
.hx-row.r1 .hx-row-pz svg { color: #fbbf24; }
.hx-row.r2 .hx-row-pz svg { color: #cbd5e1; }
.hx-row.r3 .hx-row-pz svg { color: #e0975e; }

/* Keitimas per visą plotį */
.hw-ex { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; margin-top: 14px; align-items: start; }
.hw-ex-l, .hw-ex-r { min-width: 0; }
.hw-ex-about { margin: 0 0 1rem; font-size: 0.82rem; line-height: 1.55; color: var(--hx-mut); max-width: 360px; }
.hw-ex .hw-ex-bal { margin-top: 0; }

@media (max-width: 1000px) {
    .hx-lb-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .hx-podium { max-width: 520px; margin: 0 auto; width: 100%; }
    .hx-minor { max-width: 520px; margin-left: auto; margin-right: auto; }
    .hw-ex { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 760px) {
    .hx-podium { gap: 7px; }
    .hx-pc { border-radius: 13px; }
    .hx-pc-n, .hx-pc.v1 .hx-pc-n { font-size: 0.56rem; letter-spacing: 1px; }
    .hx-pc-t { padding: 0.45rem 0.55rem 0.65rem; }
    .hx-pc-t > b { font-size: 0.74rem; }
    .hx-pc.v1 .hx-pc-t > b { font-size: 0.8rem; }
    .hx-pc-t small { font-size: 0.64rem; }
    .hx-eur { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .hx-pc, .hx-mi, .hx-pc.v1 .hx-pc-img::before { animation: none !important; } }

/* ===== Nugalėtojų paskelbimas (svetainės langas) ===== */
.hw-win-list { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; margin: 1rem 0 1.1rem; text-align: left; }
.hw-win-row {
    display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.07);
    animation: hwWinIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(0.25s + var(--i) * 0.08s);
}
.hw-win-row.v1 { background: linear-gradient(90deg, rgba(251, 191, 36, 0.14), rgba(251, 191, 36, 0.03)); border-color: rgba(251, 191, 36, 0.35); }
@keyframes hwWinIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hw-win-m { width: 28px; text-align: center; font-size: 1.15rem; font-weight: 800; color: #ff9a57; }
.hw-win-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hw-win-who b { color: #fff; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hw-win-who small { font-size: 0.7rem; color: #8b8d9a; }
.hw-win-p { font-size: 0.78rem; font-weight: 600; color: #fcd34d; text-align: right; }

/* ===== Evento meniu: pasibaigus ===== */
.hx-end {
    margin-top: 14px; padding: 1.2rem 1.3rem; border-radius: 20px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(255, 138, 61, 0.04) 55%), var(--hx-bg, #0e0c12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    animation: hxUp 0.6s var(--hw-ease) both;
}
.hx-end-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hx-end-h span { font-size: 1.6rem; }
.hx-end-h b { display: block; font-family: 'Outfit', sans-serif; font-size: 1.15rem; color: #fff; }
.hx-end-h i { font-style: normal; font-size: 0.8rem; color: #a9a3b4; }
.hx-end-l { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hx-end-w { padding: 10px 12px; border-radius: 12px; background: rgba(10, 8, 14, 0.5); border: 1px solid rgba(255, 255, 255, 0.07); min-width: 0; }
.hx-end-w.v1 { border-color: rgba(251, 191, 36, 0.4); }
.hx-end-w em { font-style: normal; font-size: 0.66rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fbbf24; }
.hx-end-w b { display: block; margin-top: 2px; color: #fff; font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-end-w small { display: block; font-size: 0.72rem; color: #a9a3b4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) { .hx-end-l { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .hx-end-w.v1 { grid-column: span 2; } }
.hx-cd.ended span { display: none; }
.hx-cd.ended em { font-size: 0.9rem; color: #fcd34d; letter-spacing: 0.4px; text-transform: none; }
.hw-win-box { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
@media (max-width: 520px) { .hw-win-box { max-height: calc(100dvh - 12px); } }

/* Tavo vieta ir prizas — atskira kortelė po prizais */
.hx-me {
    display: flex; align-items: stretch; gap: 16px; margin-top: 14px; padding: 16px 18px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 138, 61, 0.07), rgba(160, 90, 255, 0.05) 70%), var(--hx-bg2);
    border: 1px solid rgba(255, 138, 61, 0.18);
    animation: hxUp 0.6s var(--hw-ease) 0.35s both;
}
.hx-me.in { border-color: rgba(255, 196, 77, 0.45); box-shadow: 0 0 0 1px rgba(255, 196, 77, 0.12), 0 10px 40px -18px rgba(255, 170, 60, 0.55); }
.hx-me i { display: block; font-style: normal; font-size: 0.66rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--hx-dim); }
.hx-me-rank { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; min-width: 96px; }
.hx-me-rank b { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; line-height: 1.1; color: #ff9a57; letter-spacing: -0.5px; }
.hx-me-rank small { font-size: 0.74rem; color: var(--hx-mut); }
.hx-me-sep { width: 1px; background: var(--hx-line); flex: 0 0 auto; }
.hx-me-pz { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.hx-me-pz b { display: flex; align-items: center; gap: 7px; font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; color: #cfcad8; }
.hx-me-pz b svg { width: 16px; height: 16px; flex: 0 0 auto; color: #ffc44d; }
.hx-me-pz.win b { color: #fff; }
.hx-me-pz small { font-size: 0.76rem; color: var(--hx-mut); }
.hx-me-pz small em { font-style: normal; font-weight: 700; color: #ffb47a; }
.hx-me-bar { display: block; height: 5px; margin-top: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.hx-me-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff8a3d, #ffc44d); }
@media (max-width: 1000px) { .hx-me { max-width: 520px; margin-left: auto; margin-right: auto; } }
@media (max-width: 420px) { .hx-me { gap: 12px; padding: 14px; } .hx-me-rank { min-width: 78px; } .hx-me-rank b { font-size: 1.7rem; } }
