
:root {
    
    --hw-font-ui: Arial, "Helvetica Neue", Helvetica, sans-serif;
    --accent: #ffd667;
    --bg-inner: #101820;
    --muted: #8fb8cc;
    --shadow: rgba(0,0,0,.45);
    --n: 8px;
    --shape: polygon(0 var(--n),
                     var(--n) var(--n),
                     var(--n) 0,
                     calc(100% - var(--n)) 0,
                     calc(100% - var(--n)) var(--n),
                     100% var(--n),
                     100% calc(100% - var(--n)),
                     calc(100% - var(--n)) calc(100% - var(--n)),
                     calc(100% - var(--n)) 100%,
                     var(--n) 100%,
                     var(--n) calc(100% - var(--n)),
                     0 calc(100% - var(--n)));
    --g-1: #35b24a; --g-2: #228a36; --g-stroke: #124d1f;
    --x-1: #9aa0a6; --x-2: #6b7280; --x-stroke: #3a3f46;
    --r-1: #f34b4b; --r-2: #be2e2e; --r-stroke: #6d1b1b;
}

.pixel-corners,
.pixel-corners--wrapper {
    clip-path: polygon(0px calc(100% - 8px),
        4px calc(100% - 8px),
        4px calc(100% - 4px),
        8px calc(100% - 4px),
        8px 100%,
        calc(100% - 8px) 100%,
        calc(100% - 8px) calc(100% - 4px),
        calc(100% - 4px) calc(100% - 4px),
        calc(100% - 4px) calc(100% - 8px),
        100% calc(100% - 8px),
        100% 8px,
        calc(100% - 4px) 8px,
        calc(100% - 4px) 4px,
        calc(100% - 8px) 4px,
        calc(100% - 8px) 0px,
        8px 0px,
        8px 4px,
        4px 4px,
        4px 8px,
        0px 8px);
    position: relative;
}

.pixel-corners { border: 4px solid transparent; }
.pixel-corners--wrapper { width: fit-content; height: fit-content; }
.pixel-corners--wrapper .pixel-corners {
    display: block;
    clip-path: polygon(4px 8px,
        8px 8px,
        8px 4px,
        calc(100% - 8px) 4px,
        calc(100% - 8px) 8px,
        calc(100% - 4px) 8px,
        calc(100% - 4px) calc(100% - 8px),
        calc(100% - 8px) calc(100% - 8px),
        calc(100% - 8px) calc(100% - 4px),
        8px calc(100% - 4px),
        8px calc(100% - 8px),
        4px calc(100% - 8px));
}

.pixel-corners::after,
.pixel-corners--wrapper::after {
    content: "";
    position: absolute;
    clip-path: polygon(0px calc(100% - 8px),
        4px calc(100% - 8px),
        4px calc(100% - 4px),
        8px calc(100% - 4px),
        8px 100%,
        calc(100% - 8px) 100%,
        calc(100% - 8px) calc(100% - 4px),
        calc(100% - 4px) calc(100% - 4px),
        calc(100% - 4px) calc(100% - 8px),
        100% calc(100% - 8px),
        100% 8px,
        calc(100% - 4px) 8px,
        calc(100% - 4px) 4px,
        calc(100% - 8px) 4px,
        calc(100% - 8px) 0px,
        8px 0px,
        8px 4px,
        4px 4px,
        4px 8px,
        0px 8px,
        0px 50%,
        4px 50%,
        4px 8px,
        8px 8px,
        8px 4px,
        calc(100% - 8px) 4px,
        calc(100% - 8px) 8px,
        calc(100% - 4px) 8px,
        calc(100% - 4px) calc(100% - 8px),
        calc(100% - 8px) calc(100% - 8px),
        calc(100% - 8px) calc(100% - 4px),
        8px calc(100% - 4px),
        8px calc(100% - 8px),
        4px calc(100% - 8px),
        4px 50%,
        0px 50%);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffd667;
    display: block;
    pointer-events: none;
}

.pixel-corners::after { margin: -4px; }
.pixel-corners--wrapper { filter: drop-shadow(0 8px 0 var(--shadow)); }

.pixel-corners--wrapper::after {
    background: #1e3a4a !important;
}

.pixel-card {
    width: 100%;
    max-width: 280px;
    background:
        radial-gradient(transparent 62%, rgba(0,0,0,.35)),
        repeating-linear-gradient(45deg, #131d26 0 2px, #16212b 2px 4px);
    background-color: var(--bg-inner);
}

.pixel-card__in {
    display: grid;
    height: 100%;
    padding: 6px 18px 12px;
    
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    gap: 4px;
    align-content: stretch;
    justify-content: stretch;
}

.inventory-item .pixel-card__in {
    grid-template-rows: auto 1fr auto;
    align-content: stretch;
    justify-content: stretch;
}

.store-item .pixel-card__in {
    grid-template-rows: auto 1fr auto;
    align-content: stretch;
    justify-content: stretch;
}

.inventory-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 0;
}

.store-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 0;
}

.pixel-prize {
    display: grid;
    place-items: center;
    padding-block: 2px;
}

.pixel-prize img {
    width: 70%;
    max-width: 184px;
    image-rendering: pixelated;
    filter: drop-shadow(0 6px 0 rgba(0,0,0,.35));
}

.pixel-title {
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .5px;
    font-size: 18px;
    line-height: 1.2;
    text-shadow: 0 2px 0 #000;
    color: #e8f1f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pixel-title--long {
    font-size: 15px;
    line-height: 1.05;
    letter-spacing: 0;
    white-space: normal;
    text-overflow: clip;
}

.pixel-card:has(.pixel-title--long) .pixel-prize .item-icon,
.pixel-card:has(.pixel-title--long) .pixel-prize .inventory-item-icon {
    height: 110px;
}

.pixel-subtitle {
    font-family: var(--hw-font-ui);
    margin: 0;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

.pixel-price {
    display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 2px;
}

.pixel-price img {
    width: 28px;
    height: 28px;
    image-rendering: pixelated;
}

.pixel-amount {
    font-weight: 900;
    font-size: 32px;
    letter-spacing: .3px;
    color: var(--accent);
    text-shadow: 0 2px 0 #000;
}

.pixel-btn-wrap {
    position: relative;
    
    min-width: 0;
}

.pixel-btn-shadow {
    position: absolute;
    inset: 0;
    transform: translateY(6px);
    background: #000;
    opacity: .35;
    clip-path: var(--shape);
    pointer-events: none;
}

.pixel-btn {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    height: 52px;
    width: 100%;
    padding: 0 12px;
    clip-path: var(--shape);
    border: 4px solid #000;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .5px;
    font-size: 16px;
    user-select: none;
    cursor: pointer;
    box-shadow:
        inset 0 6px 0 rgba(255,255,255,.10),
        inset 0 -6px 0 rgba(0,0,0,.25),
        inset 0 0 0 4px #00000055;
    transition: transform .05s ease-in-out, filter .15s ease;
}

.pixel-btn:active { transform: translateY(2px) }

.pixel-btn--comprar {
    background: linear-gradient(#35b24a 0 55%, #228a36 55% 100%);
    border-color: #124d1f;
}

.pixel-btn--sem-saldo,
.pixel-btn--comprado {
    background: linear-gradient(#9aa0a6 0 55%, #6b7280 55% 100%);
    border-color: #3a3f46;
    color: #ececec;
}

.pixel-btn--esgotado {
    background: linear-gradient(#f34b4b 0 55%, #be2e2e 55% 100%);
    border-color: #6d1b1b;
}

.pixel-btn[disabled] {
    cursor: not-allowed;
    opacity: .95;
}

.store-item.purchased .pixel-btn {
    background: linear-gradient(#9aa0a6 0 55%, #6b7280 55% 100%) !important;
    border-color: #3a3f46 !important;
    color: #ececec !important;
    cursor: not-allowed !important;
}

.store-item.insufficient-coins .pixel-btn {
    background: linear-gradient(#12263f 0 55%, #0d1b2d 55% 100%) !important;
    border-color: #12263f !important;
    color: #8fb8cc !important;
    cursor: not-allowed !important;
}
.store-item.waiting-order .pixel-btn {
    background: linear-gradient(#12263f 0 55%, #0d1b2d 55% 100%) !important;
    border-color: #12263f !important;
    color: #8fb8cc !important;
    cursor: not-allowed !important;
}

.store-item.out-of-stock .pixel-btn {
    background: linear-gradient(#f34b4b 0 55%, #be2e2e 55% 100%) !important;
    border-color: #6d1b1b !important;
}

.store-item.out-of-stock {
    opacity: 0.6;
    filter: grayscale(40%);
}

.validity-date {
    font-family: var(--hw-font-ui);
    color: #8fb8cc !important;
    font-weight: bold;
    font-size: 11px;
    margin-top: 6px;
    text-align: center;
    background: rgba(99, 131, 173, 0.1);
    padding: 2px 6px;
    border-radius: 0;
    border: 1px solid rgba(99, 131, 173, 0.3);
}

.card-info-toggle {
    --n: 4px;
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 7;
    width: 30px;
    height: 30px;
    padding: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 3px solid #000;
    border-radius: 0;
    clip-path: polygon(0 var(--n), var(--n) var(--n), var(--n) 0,
                       calc(100% - var(--n)) 0, calc(100% - var(--n)) var(--n),
                       100% var(--n), 100% calc(100% - var(--n)),
                       calc(100% - var(--n)) calc(100% - var(--n)),
                       calc(100% - var(--n)) 100%, var(--n) 100%,
                       var(--n) calc(100% - var(--n)), 0 calc(100% - var(--n)));
    
    --hw-info-quinas:
        linear-gradient(#000 0 0) left top / var(--n) var(--n) no-repeat,
        linear-gradient(#000 0 0) right top / var(--n) var(--n) no-repeat,
        linear-gradient(#000 0 0) left bottom / var(--n) var(--n) no-repeat,
        linear-gradient(#000 0 0) right bottom / var(--n) var(--n) no-repeat;
    
    background: var(--hw-info-quinas), linear-gradient(#2a475a 0 55%, #1c3445 55% 100%);
    color: #00e5e5;
    font-family: "lores-9-wide", sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow:
        inset 0 3px 0 rgba(255, 255, 255, .12),
        inset 0 -3px 0 rgba(0, 0, 0, .3);
    filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .45));
    transition: transform .18s ease, background-color .18s ease, color .18s ease,
                filter .18s ease;
}

.card-info-toggle::before {
    content: "i";
    
    transform: translateY(1px);
}

.pixel-card.info-open .card-info-toggle::before {
    content: "\2715";
    font-size: 13px;
    transform: none;
}

.card-info-toggle::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -140%;
    width: 60%;
    height: 220%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, .9) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(22deg);
    pointer-events: none;
    opacity: 0;
}

.pixel-card:hover .card-info-toggle,
.pixel-card.info-open .card-info-toggle {
    background: var(--hw-info-quinas), linear-gradient(#5cf2f2 0 55%, #09c0c0 55% 100%);
    color: #061016;
    filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .45))
            drop-shadow(0 0 10px rgba(0, 229, 229, 0.303));
}

.pixel-card:hover .card-info-toggle {
    transform: scale(1.18);
}

.pixel-card:hover .card-info-toggle::after {
    animation: hw-info-shine .75s ease-out .05s;
}

.card-info-toggle:active {
    transform: translateY(2px);
    filter: none;
}

.pixel-card:hover .card-info-toggle:active {
    transform: scale(1.18) translateY(2px);
}

.card-info-toggle:focus-visible {
    outline: 2px solid #bfe9f2;
    outline-offset: 3px;
}

@keyframes hw-info-shine {
    0%   { opacity: 0; left: -140%; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { opacity: 0; left: 180%; }
}

.card-info-panel {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    background: rgba(0, 0, 0, 0.7);
    
    backdrop-filter: blur(7px) saturate(.6);
    -webkit-backdrop-filter: blur(7px) saturate(.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease-out;
}

.pixel-card.info-preview .card-info-panel,
.pixel-card.info-open .card-info-panel {
    opacity: 1;
}

.pixel-card.info-preview,
.pixel-card.info-open {
    opacity: 1 !important;
    filter: none !important;
}

.pixel-card.info-open .card-info-panel {
    pointer-events: auto;
}

.card-info-panel__in {
    
    padding: 12px 14px 14px;
    width: 100%;
    
    text-align: left;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: #dfeaf0;
    font-family: var(--hw-font-ui);
    font-size: 12px;
    line-height: 1.4;
}

.card-info-panel__in::-webkit-scrollbar { width: 5px; }
.card-info-panel__in::-webkit-scrollbar-track { background: transparent; }
.card-info-panel__in::-webkit-scrollbar-thumb { background: rgba(99, 131, 173, .55); }

.card-info-title {
    
    display: flex;
    align-items: center;
    min-height: 26px;
    padding-left: 32px;
    margin: 0 0 8px;
    font-family: "lores-9-wide", sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .5px;
    line-height: 1.25;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 0 #000;
}

.card-info-body p { margin: 0 0 6px; }
.card-info-body strong { color: #fff; }

.card-info-lead {
    color: #bfe9f2;
    font-size: 13px;
}

.card-info-steps {
    margin: 0 0 7px;
    padding-left: 16px;
}

.card-info-steps li { margin: 0 0 3px; }

.card-info-foot {
    margin-top: 7px;
    padding-top: 6px;
    border-top: 1px solid rgba(99, 131, 173, .3);
    color: #9fb3c4;
    font-size: 11px;
}

.odds-list {
    margin: 0 0 4px;
    padding: 0;
    list-style: none;
}

.odds-row {
    display: grid;
    grid-template-columns: 62px 1fr 38px;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
    font-size: 11px;
    line-height: 1.2;
}

.odds-label {
    color: #dfeaf0;
    font-weight: 700;
    white-space: nowrap;
}

.odds-bar {
    display: block;
    height: 8px;
    background: rgba(255, 255, 255, .09);
    overflow: hidden;
}

.odds-bar i {
    display: block;
    height: 100%;
    background: #6f9ad6;
}

.odds-asterisk {
    color: #8fb8cc;
    font-weight: 900;
    font-size: 14px;
    line-height: 0;
}

.odds-pct {
    text-align: right;
    color: #9fb3c4;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.odds-row--bom .odds-bar i    { background: #4ade62; }
.odds-row--raro .odds-bar i   { background: #ffd667; }
.odds-row--epico .odds-bar i  { background: #ff5f5f; }
.odds-row--epico .odds-label  { color: #bfe9f2; }

.prize-gallery {
    position: relative;
    width: 100%;
}

.prize-gallery__slide {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: translateX(14px);
    
    transition: opacity .12s ease, transform .12s ease;
}

.prize-gallery__slide.is-active {
    opacity: 1;
    transform: none;
}

.card-info-gallery {
    
    height: 72px;
    margin-bottom: 8px;
    
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(99, 131, 173, .25);
}

.pixel-prize.has-gallery {
    position: relative;
    overflow: hidden;
}

.pixel-prize.has-gallery .item-icon,
.pixel-prize.has-gallery .inventory-item-icon {
    transition: transform .35s ease, opacity .35s ease, filter .3s ease;
}

.pixel-prize .prize-gallery {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(26%);
    pointer-events: none;
    transition: opacity .3s ease, transform .35s ease;
}

.pixel-prize.has-gallery:hover .item-icon,
.pixel-prize.has-gallery:hover .inventory-item-icon,
.store-item:hover .pixel-prize.has-gallery .item-icon {
    transform: translateX(-130%);
    opacity: 0;
}

.pixel-prize.has-gallery:hover .prize-gallery,
.store-item:hover .pixel-prize.has-gallery .prize-gallery {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .card-info-toggle::after { animation: none !important; }
    .prize-gallery__slide { transition: opacity .2s linear; transform: none; }
    .pixel-prize.has-gallery:hover .item-icon,
    .pixel-prize.has-gallery:hover .inventory-item-icon,
    .store-item:hover .pixel-prize.has-gallery .item-icon { transform: none; }
    .card-faixa::after { animation: none !important; }
}

.store-item .card-faixa {
    position: absolute;
    
    top: 43px;
    right: -65px;
    z-index: 5;
    width: 240px;
    padding: 7px 0 6px;
    transform: rotate(45deg);
    overflow: hidden;
    pointer-events: none;
    background: #ffd667;
    border-top: 2px solid #fff1b8;
    border-bottom: 2px solid #b8912e;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
    color: #231800;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}
.store-item .card-faixa span {
    position: relative;
    z-index: 1;
}

.store-item .card-faixa::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: hw-faixa-brilho 3.2s ease-in-out infinite;
}
@keyframes hw-faixa-brilho {
    0%, 65% { transform: translateX(-120%); }
    100%    { transform: translateX(120%); }
}

.nesha-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nesha-modal.show {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.nesha-modal.hidden {
    display: none !important;
}

.nesha-modal-container {
    background: #090d11;
    border: 4px solid #1e3a4a;
    width: 100%;
    max-width: 900px;
    height: 90vh;
    max-height: 800px;
    position: relative;
    image-rendering: pixelated;
    display: flex;
    flex-direction: column;
    font-family: "lores-9-wide", sans-serif;
    font-weight: 400;
    overflow: hidden;
}

.nesha-header {
    background: #101820;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.left-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.store-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 25px;
    margin-left: 30px;
}

.nav-item {
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
    font-weight: 700;
}

.nav-item.active {
    color: #00e5e5;
}

.nav-item:hover {
    color: #5cf2f2;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.currency-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 3px solid transparent;
    padding: 8px 2px 8px 20px;
    height: 40px;
}

.currency-amount {
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.coin-icon {
    width: 30px;
    height: 30px;
    background-image: url("../../images/coins/coin-menu.png");
    background-size: contain;
    background-repeat: no-repeat;
    image-rendering: pixelated;
}

.r-button {
    background: #00e5e5;
    border: 3px solid #00e5e5;
    color: black;
    font-weight: 700;
    padding: 8px 15px;
    font-size: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.conta-bloqueada-selo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    width: 100%;
    min-height: 38px;
    padding: 8px 20px;
    background: #e63757;
    border: 0;
    color: #fff;
    font-family: lores-9-wide, sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.conta-bloqueada-selo:hover {
    background: #ff5470;
}

.conta-bloqueada-selo__acao {
    font-family: var(--hw-font-ui);
    font-size: 12px;
    letter-spacing: 0;
    text-decoration: underline;
}

.conta-bloqueada-selo__icone {
    position: relative;
    width: 12px;
    height: 14px;
    flex-shrink: 0;
}

.conta-bloqueada-selo__icone::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0;
    width: 4px;
    height: 5px;
    border: 2px solid currentColor;
    border-bottom: 0;
}

.conta-bloqueada-selo__icone::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 12px;
    height: 8px;
    background: currentColor;
}

.main-content {
    background: linear-gradient(135deg, #18242e, #8fb8cc);
    height: 240px;
    margin: 13px 20px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.banner-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.banner-slide:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.items-section {
    padding: 0 20px 21px 20px;
    display: flex;
    gap: 15px;
    justify-content: space-between;
    flex: 1;
    min-height: 200px;
}

.items-section .pixel-corners--wrapper {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
}

.store-item {
    background: #18242e;
    border: 1px solid #12263f;
    padding: 20px 15px;
    text-align: left;
    flex: 1;
    cursor: pointer;
    transition: all 0.2s;
}

.store-item:hover {
    transform: translateY(-2px);
}

.item-icon {
    width: 120px;
    height: 100px;
    margin: 0 auto 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    image-rendering: pixelated;
}

.pixel-prize .item-icon {
    width: 140px;
    height: 120px;
    margin: 0 auto;
}

.item-icon.cupom-icon,
.item-icon.giftcard-icon,
.item-icon.giftcard10-icon,
.item-icon.giftcard_10-icon,
.item-icon.giftcard_random-icon,
.item-icon.sorteio-icon,
.item-icon.sorteio_entry-icon,
.item-icon.cupom-sorteio-icon {
    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.5));
}

.cupom-icon {
    background-image: url("../../images/prizes/prize-coupon.png");
    transition: all 0.3s ease;
}

.cupom-sorteio-icon {
    background-image: url("../../images/prizes/prize-coupon-sorteio.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.cupom-sorteio-icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(1, 225, 253, 0.5)) drop-shadow(0 0 40px rgba(255, 213, 0, 0.5));
}

.cupom-icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(1, 225, 253, 0.5)) drop-shadow(0 0 40px rgba(1, 225, 253, 0.5));
}

.giftcard-icon {
    background-image: url("../../images/prizes/prize-giftcard.png");
    transition: all 0.3s ease;
}

.giftcard-icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(255, 213, 0, 0.5)) drop-shadow(0 0 40px rgba(255, 213, 0, 0.5));
}

.giftcard10-icon {
    background-image: url("../../images/prizes/prize-giftcard-8.png");
    transition: all 0.3s ease;
}

.giftcard10-icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(253, 0, 72, 0.5)) drop-shadow(0 0 40px rgba(253, 0, 72, 0.5));
}

.giftcard_10-icon {
    background-image: url("../../images/prizes/prize-giftcard-8.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.giftcard_random-icon {
    background-image: url("../../images/prizes/prize-giftcard.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.sorteio-icon,
.sorteio_entry-icon {
    background-image: url("../../images/prizes/prize-sorteio.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.sorteio-icon:hover,
.sorteio_entry-icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(74, 222, 98, 0.6)) drop-shadow(0 0 40px rgba(255, 212, 0, 0.45));
}

.giftcard_10-icon:hover,
.giftcard_random-icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(253, 0, 72, 0.5)) drop-shadow(0 0 40px rgba(253, 0, 72, 0.5));
}

.item-title {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: left;
}

.item-description {
    font-family: var(--hw-font-ui);
    color: #888;
    font-size: 11px;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: left;
}

.price-and-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-coin {
    width: 25px;
    height: 25px;
    background-image: url("../../images/coins/coin-menu.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    image-rendering: pixelated;
}

.price-amount {
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.stock-info {
    font-family: var(--hw-font-ui);
    color: #888;
    font-size: 12px;
    min-width: 35px;
}

.progress-blocks {
    display: flex;
    height: 12px;
    flex: 1;
    position: relative;
}

.progress-block {
    height: 100%;
}

.block-red {
    background: #ff4444;
    flex: 1;
}

.block-yellow {
    background: #ffff44;
    flex: 2;
}

.block-green {
    background: #44ff44;
    flex: 3;
}

.progress-indicator {
    position: absolute;
    top: -4px;
    width: 4px;
    height: 20px;
    background: white;
    z-index: 10;
    transition: left 0.3s ease;
    max-width: 4px;
}

.buy-button {
    background: #00e5e5;
    border: 0;
    color: black;
    font-weight: 700;
    padding: 12px 20px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    transition: transform 60ms ease-out, box-shadow 60ms ease-out, background-color 0.2s;
    text-transform: uppercase;
    box-shadow:
        0 5px black,
        0 -5px black,
        5px 0 black,
        -5px 0 black,
        0 10px rgba(0, 0, 0, 0.22),
        5px 5px rgba(0, 0, 0, 0.22),
        -5px 5px rgba(0, 0, 0, 0.22),
        inset 0 5px rgba(255, 255, 255, 0.21);
    margin-top: 5px;
    margin-bottom: 5px;
}

.buy-button:hover {
    background: #5cf2f2;
}

.buy-button:active:not(:disabled) {
    transform: translateY(5px);
    box-shadow:
        0 5px black,
        0 -5px black,
        5px 0 black,
        -5px 0 black,
        inset 0 5px rgba(0, 0, 0, 0.22);
}

.buy-button:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow:
        0 5px #333,
        0 -5px #333,
        5px 0 #333,
        -5px 0 #333,
        inset 0 5px rgba(0, 0, 0, 0.22);
}

.store-item.purchased {
    opacity: 0.2;
    position: relative;
    
}

.pixel-corners--wrapper:has(.store-item.purchased)::after {
    background: transparent !important;
}

.store-tooltip {
    position: absolute;
    left: 8px;
    right: 8px;
    
    bottom: 74px;
    z-index: 5;
    padding: 6px 8px;
    background: #061016;
    border: 2px solid #1e3a4a;
    
    color: #ffffff;
    font-family: var(--hw-font-ui);
    font-size: 12px;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .3px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .15s ease-out, transform .15s ease-out;
}

.store-item:has(.buy-button:hover) .store-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.store-item.purchased:has(.buy-button:hover) {
    opacity: 0.45;
}

.store-item.purchased .buy-button {
    background: #666 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    border: 2px solid #555 !important;
}

.store-item.insufficient-coins .buy-button {
    background: #0f3a4a !important;
    color: #8fb8cc !important;
    cursor: not-allowed !important;
    border: 2px solid #12263f !important;
}

.store-item.waiting-order .buy-button {
    background: #0f3a4a !important;
    color: #8fb8cc !important;
    cursor: not-allowed !important;
    border: 2px solid #12263f !important;
}

.buy-button.btn-purchased {
    background: #666 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    border: 2px solid #555 !important;
    opacity: 0.6 !important;
}

.buy-button.btn-inventory-full {
    background: #666 !important;
    color: #aaa !important;
    cursor: not-allowed !important;
    border: 2px solid #555 !important;
    opacity: 0.7 !important;
    font-size: 11px !important;
}

.buy-button.btn-insufficient-coins {
    background: #0f3a4a !important;
    color: #8fb8cc !important;
    cursor: not-allowed !important;
    border: 2px solid #12263f !important;
    opacity: 1 !important;
}

.buy-button.btn-gerando {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
    background: #0d6b7a !important;
    color: #d6f5fa !important;
    border: 2px solid #12263f !important;
    opacity: 1 !important;
}

.buy-button.btn-gerando .loading-spinner {
    width: 18px;
    height: 18px;
    border-width: 3px;
    border-top-width: 3px;
    box-shadow: none;
}

.buy-button.btn-gerando .buy-button-label {
    font-size: 12px;
    letter-spacing: 1px;
}

.buy-button.btn-compra-ok {
    background: #2f7d31 !important;
    color: #eaffe6 !important;
    border: 2px solid #1e5620 !important;
    cursor: default !important;
    
    opacity: 1 !important;
    box-shadow:
        0 5px #1e5620,
        0 -5px #1e5620,
        5px 0 #1e5620,
        -5px 0 #1e5620 !important;
}

.store-item.inventory-full {
    opacity: 0.7;
    filter: grayscale(30%);
}

.store-item.inventory-full .buy-button {
    pointer-events: none;
}

.nesha-content-wrapper {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.nesha-content-wrapper::-webkit-scrollbar {
    width: 8px;
}

.nesha-content-wrapper::-webkit-scrollbar-track {
    background: #090d11;
}

.nesha-content-wrapper::-webkit-scrollbar-thumb {
    background: #2d4d63;
    border-radius: 4px;
}

.nesha-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: #5cf2f2;
}

.nesha-content-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #2d4d63 #090d11;
}

.game-buttons-section {
    padding: 10px 30px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: #101820;
    flex-shrink: 0;
}

.game-buttons-section .play-button {
    padding: 15px 60px;
    font-size: 20px;
}

@property --hw-led-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.game-buttons-section .play-button--waiting {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px 44px;
    background: transparent !important;
    color: #bfe9f2 !important;
    box-shadow: none !important;
    cursor: not-allowed;
    opacity: 1 !important;
    
    transform: none !important;
}

.game-buttons-section .play-button--waiting::after {
    content: "";
    position: absolute;
    inset: -4px;
    z-index: -2;
    background: conic-gradient(
        from var(--hw-led-angle),
        rgba(99, 131, 173, 0) 0turn,
        rgba(99, 131, 173, 0) 0.52turn,
        #00e5e5 0.66turn,
        #bfe9f2 0.74turn,
        #eefbfd 0.78turn,
        #bfe9f2 0.82turn,
        #00e5e5 0.90turn,
        rgba(99, 131, 173, 0) 1turn
    );
    filter: drop-shadow(0 0 6px rgba(0, 229, 229, 0.413));
    animation: hw-led-run 2.4s linear infinite;
}

.game-buttons-section .play-button--waiting::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(#1e3a4a 0 55%, #14293a 55% 100%);
    box-shadow:
        inset 0 3px 0 rgba(255, 255, 255, 0.10),
        inset 0 -3px 0 rgba(0, 0, 0, 0.30);
}

.game-buttons-section .play-button--waiting .play-button__waiting-label {
    font-family: var(--hw-font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    line-height: 1;
    color: #8fb8cc;
    text-transform: uppercase;
}

.game-buttons-section .play-button--waiting .play-button__clock {
    font-family: var(--hw-font-ui);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
    color: #eefbfd;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 10px rgba(0, 229, 229, 0.303);
}

@keyframes hw-led-run {
    to { --hw-led-angle: 1turn; }
}

@media (prefers-reduced-motion: reduce) {
    .game-buttons-section .play-button--waiting::after {
        animation: none;
        background: #00e5e5;
        opacity: .85;
    }
}

.freeplay-text {
    background: transparent;
    border: 0;
    padding: 0;
    font-family: inherit;
    color: #8fb8cc;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
}

.freeplay-text:hover {
    color: #5cf2f2;
}

.inventory-section {
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.inventory-section.active {
    display: flex;
}

.inventory-items {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.inventory-results {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: auto -20px -20px;
    padding: 12px 20px 14px;
    background: #090d11;
    border-top: 1px solid #12263f;
}

.inventory-results .help-results-title {
    margin-bottom: 8px;
}

.inventory-results__linha {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.inventory-results__linha > .help-result {
    flex: 0 0 270px;
}

.inventory-results__trilho {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.inventory-results__trilho .help-results {
    height: 100%;
    padding-bottom: 0;
    scrollbar-width: none;
}

.inventory-results__trilho .help-results::-webkit-scrollbar {
    display: none;
}

.inventory-results__seta {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: 46px;
    padding: 0;
    border: 0;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s ease;
}

.inventory-results__seta[hidden] {
    display: none;
}

.inventory-results__seta--volta {
    left: 0;
    background: linear-gradient(to right, #090d11 35%, rgba(9, 13, 17, 0));
}

.inventory-results__seta--ida {
    right: 0;
    background: linear-gradient(to left, #090d11 35%, rgba(9, 13, 17, 0));
}

.inventory-results__seta::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 26px;
    height: 26px;
    margin-top: -13px;
    box-sizing: border-box;
    background: #101820;
    border: 2px solid #2d4d63;
}

.inventory-results__seta::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-top: 3px solid #5cf2f2;
    border-right: 3px solid #5cf2f2;
}

.inventory-results__seta--volta::before { left: 0; }
.inventory-results__seta--volta::after  { left: 10px; transform: rotate(-135deg); }
.inventory-results__seta--ida::before   { right: 0; }
.inventory-results__seta--ida::after    { right: 10px; transform: rotate(45deg); }

.inventory-results__trilho:hover .inventory-results__seta,
.inventory-results__seta:focus-visible {
    opacity: 1;
}

.inventory-results__seta:hover::before {
    border-color: #5cf2f2;
}

@media (prefers-reduced-motion: reduce) {
    .inventory-results__seta { transition: none; }
}

@media (max-height: 560px) {
    .inventory-results {
        position: static;
    }
}

.inventory-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 300px;
    gap: 20px;
}

.empty-chicken {
    display: flex;
    justify-content: center;
    align-items: center;
}

.empty-chicken-image {
    width: 120px;
    height: 120px;
    opacity: 0.5;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 0 rgba(0,0,0,.3));
    background-image: url("../../images/chickens/chicken-closed.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.empty-text {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 2px 0 #000;
    letter-spacing: 1px;
}

.inventory-item {
    background: transparent;
    border: none;
    padding: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    box-sizing: border-box;
}

.inventory-item:hover {
    transform: translateY(-2px);
}

.inventory-item .pixel-corners--wrapper {
    width: 100%;
    height: 100%;
}

.inventory-item .pixel-card {
    height: 320px;
    
    background: #141f28;
}

.inventory-item .pixel-btn-wrap {
    position: relative;
}

.inventory-item .pixel-btn-shadow {
    display: none;
}

.inventory-item-icon {
    width: 140px;
    height: 120px;
    margin: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    image-rendering: pixelated;
}

.inventory-item-title {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.inventory-item-description {
    font-family: var(--hw-font-ui);
    color: #888;
    font-size: 11px;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.inventory-code {
    background: #00e5e5;
    color: black;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 14px;
    margin-top: auto;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.inventory-code:hover {
    background: #5cf2f2;
    transform: scale(1.05);
}

.items-section.hidden {
    display: none;
}

.main-content.hidden {
    display: none;
}

.help-section {
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.help-section.active {
    display: flex;
}

#lives-display {
    color: #4CAF50;
    font-weight: bold;
    font-size: 14px;
}

.purchase-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: var(--hw-font-ui);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease-out;
    max-width: 300px;
}

@media (max-width: 1024px) {
    .nesha-modal-container {
        height: 95vh;
        max-height: 700px;
        margin: 2.5vh auto;
    }
    
    .nesha-header {
        padding: 12px 20px;
    }
    
    .nav-menu {
        gap: 15px;
        margin-left: 20px;
    }
    
    .nav-item {
        font-size: 18px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .game-buttons-section {
        padding: 8px 20px 13px;
        gap: 12px;
    }
    
    .game-buttons-section .play-button {
        padding: 12px 24px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .nesha-modal-container {
        height: 98vh;
        max-height: none;
        margin: 1vh auto;
        width: 98%;
        max-width: none;
    }
    
    .nesha-header {
        padding: 10px 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .left-section {
        gap: 15px;
    }
    
    .nav-menu {
        gap: 12px;
        margin-left: 15px;
    }
    
    .nav-item {
        font-size: 16px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .currency-display {
        padding: 6px 2px 6px 15px;
        height: 35px;
    }
    
    .currency-amount {
        font-size: 18px;
    }
    
    .coin-icon {
        width: 25px;
        height: 25px;
    }
    
    .r-button {
        padding: 6px 12px;
        font-size: 16px;
    }
    
    .game-buttons-section {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .game-buttons-section .play-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .freeplay-text {
        font-size: 14px;
    }

    .items-section {
        padding: 15px;
        gap: 12px;
    }
    
    .inventory-section {
        padding: 15px;
    }

    .inventory-results {
        margin: auto -15px -15px;
        padding: 10px 15px 12px;
    }
    
    .help-section {
        padding: 15px;
    }

}

@media (max-width: 480px) {
    .nesha-modal-container {
        height: 100vh;
        margin: 0;
        width: 100%;
        border: none;
    }
    
    .nesha-header {
        padding: 8px 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .left-section {
        justify-content: space-between;
        gap: 10px;
    }
    
    .nav-menu {
        gap: 8px;
        margin-left: 0;
        justify-content: center;
    }
    
    .nav-item {
        font-size: 14px;
        padding: 4px 8px;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .right-section {
        justify-content: center;
        gap: 8px;
    }
    
    .currency-display {
        padding: 4px 2px 4px 12px;
        height: 30px;
    }
    
    .currency-amount {
        font-size: 16px;
    }
    
    .coin-icon {
        width: 20px;
        height: 20px;
    }
    
    .r-button {
        padding: 4px 8px;
        font-size: 14px;
    }
    
    .game-buttons-section {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .game-buttons-section .play-button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .freeplay-text {
        font-size: 12px;
    }

    .pixel-card {
        max-width: 100%;
    }
    
    .pixel-card__in {
        padding: 4px 12px 8px;
    }
    
    .pixel-title {
        font-size: 14px;
    }
    
    .pixel-subtitle {
        font-size: 10px;
    }
    
    .pixel-amount {
        font-size: 16px;
    }
    
    .pixel-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .banner-slider {
        height: 150px;
        margin: 10px;
    }
    
    .banner-indicators {
        margin: 10px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

.purchase-notification.success {
    background: #4CAF50;
    color: white;
    border: 2px solid #45a049;
}

.purchase-notification.error {
    background: #f44336;
    color: white;
    border: 2px solid #da190b;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

@keyframes tremble {
    0%, 100% { transform: translateX(0) translateY(0); }
    10% { transform: translateX(-1px) translateY(-1px); }
    20% { transform: translateX(1px) translateY(1px); }
    30% { transform: translateX(-1px) translateY(1px); }
    40% { transform: translateX(1px) translateY(-1px); }
    50% { transform: translateX(-1px) translateY(-1px); }
    60% { transform: translateX(1px) translateY(1px); }
    70% { transform: translateX(-1px) translateY(1px); }
    80% { transform: translateX(1px) translateY(-1px); }
    90% { transform: translateX(-1px) translateY(-1px); }
}

@keyframes pump {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.loading-spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 4px solid rgba(99, 131, 173, 0.2);
    border-top: 4px solid #00e5e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 10px rgba(0, 229, 229, 0.275);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-out-of-stock {
    background-color: #dc3545 !important;
    color: white !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.btn-out-of-stock:hover {
    background-color: #dc3545 !important;
    transform: none !important;
}

.shake-animation {
    animation: shake 0.6s ease-in-out;
}

.tremble-animation {
    animation: tremble 0.8s ease-in-out;
}

.pump-animation {
    animation: pump 0.4s ease-in-out;
}

.inventory-item .redeem-button,
.inventory-item .ver-codigo,
.inventory-item .bonus-validar {
    width: 100%;
    margin-top: 10px;
    text-transform: uppercase;
    
    padding-left: 12px;
    padding-right: 12px;
}

.prize-code-container {
    margin-top: 8px;
    text-align: center;
    position: relative;
    min-width: 0;
}

.prize-code {
    box-sizing: border-box;
    
    display: grid;
    place-items: center;
    min-height: 49px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 6px 12px;
    white-space: nowrap;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 0;
    border-radius: 0;
    background: #6dd47e;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .5px;
    font-size: 22px;
    user-select: none;
    cursor: pointer;
    box-shadow: var(--hw-btn-relief);
    transition: transform 60ms ease-out, box-shadow 60ms ease-out, background-color .2s;
}

.prize-code:hover {
    background: #7ee48f;
}

.prize-code:active {
    transform: translateY(5px);
    box-shadow: var(--hw-btn-relief-active);
}

.sorteio-numbers {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 6px;
    width: 100%;
    min-width: 0;
    height: 49px;
    
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2px 0;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 18px;
    line-height: 1.2;
}

.sorteio-numbers--2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, auto));
    justify-content: center;
    align-content: center;
}

.sorteio-num {
    white-space: nowrap;
    
    padding: 1px 5px;
    background: rgba(109, 212, 126, 0.14);
    border: 1px solid rgba(109, 212, 126, 0.55);
    color: #6dd47e;
}

.sorteio-num.sorteio-num--bonus {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    background: rgba(255, 214, 103, 0.14);
    border-color: rgba(255, 214, 103, 0.6);
    color: #ffd667;
    cursor: help;
}
.sorteio-num--bonus:focus-visible {
    outline: 2px solid #ffd667;
    outline-offset: 1px;
}
.sorteio-estrela {
    display: inline-block;
    flex: none;
    width: 0.8em;
    height: 0.8em;
    background: currentColor;
    -webkit-mask: url("../../images/icons/estrela-pixel.svg") center / contain no-repeat;
    mask: url("../../images/icons/estrela-pixel.svg") center / contain no-repeat;
}

.ticket-bonus {
    display: inline-block;
    width: 2.1em;
    height: 1em;
    vertical-align: -0.18em;
    background: #3ee51f;
    -webkit-mask: url("../../images/icons/ticket-pixel.svg") center / contain no-repeat;
    mask: url("../../images/icons/ticket-pixel.svg") center / contain no-repeat;
}

.bonus-dica {
    position: absolute;
    z-index: 9;
    padding: 5px 8px;
    background: #061016;
    border: 2px solid #1e3a4a;
    color: #ffffff;
    font-family: var(--hw-font-ui);
    font-size: 12px;
    font-weight: bold;
    line-height: 1.25;
    letter-spacing: .3px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.inventory-item .bonus-validar:disabled {
    background: #22333f !important;
    color: #8fb8cc !important;
    opacity: 1 !important;
    cursor: default;
}

.sorteio-num.sorteio-num--mais {
    font: inherit;
    cursor: pointer;
    background: #12263f;
    border-color: #00e5e5;
    color: #00e5e5;
}
.sorteio-num.sorteio-num--mais:hover {
    background: #1b3552;
}
.sorteio-lista {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    flex-direction: column;
    padding: 14px 14px 16px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(7px) saturate(.6);
    -webkit-backdrop-filter: blur(7px) saturate(.6);
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease-out;
}
.pixel-card.numeros-abertos .sorteio-lista {
    opacity: 1;
    pointer-events: auto;
}
.sorteio-lista__titulo {
    margin: 4px 36px 12px 0;
    color: #fff;
    font-family: "lores-9-wide", sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
}
.sorteio-lista__grade {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 6px;
    min-height: 0;
    overflow-y: auto;
    font-size: 14px;
}
.sorteio-lista__fechar {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    color: #8fb8cc;
    font-size: 16px;
    cursor: pointer;
}
.sorteio-lista__fechar:hover { color: #fff; }

.prize-code-container small {
    color: #666;
    font-size: 12px;
    display: block;
    margin-top: 8px;
    margin-bottom: 4px;
    line-height: 1.2;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-icon {
    font-size: 18px;
    font-weight: 700;
}

.notification-text {
    flex: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
