@keyframes st-fade-in {
    from {
        background-color: transparent;
    }
    to {
        background-color: rgba(0, 0, 0, 0.35);
    }
}

@keyframes st-fade-out {
    from {
        background-color: rgba(0, 0, 0, 0.35);
    }
    to {
        background-color: transparent;
    }
}

@keyframes st-slide-in {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes st-slide-out {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

@layer base {
    /* Custom SellTrust Basic Resets */
}

#cart-drawer[data-state="open"] {
    animation: st-fade-in 0.3s ease-out forwards;
}

#cart-drawer[data-state="closed"] {
    animation: st-fade-out 0.3s ease-in forwards;
}

#cart-drawer[data-state="open"] > div {
    animation: st-slide-in 0.3s ease-out forwards;
}

#cart-drawer[data-state="closed"] > div {
    animation: st-slide-out 0.3s ease-in forwards;
}

.dialog[data-state="open"] {
    animation: st-fade-in 0.25s ease-out forwards;
}

.dialog[data-state="closed"] {
    animation: st-fade-out 0.2s ease-in forwards;
}

.dialog[data-state="open"] > div:not(.dialog-overlay) {
    animation: st-dialog-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dialog[data-state="closed"] > div:not(.dialog-overlay) {
    animation: st-dialog-out 0.2s ease-in forwards;
}

@keyframes st-dialog-in {
    from {
        opacity: 0;
        transform: scale(0.6);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes st-dialog-out {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.6);
    }
}

@keyframes st-loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.reveal-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.reveal-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Base scrollbar configuration for SellTrust templates */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: rgb(var(--primary) / 0.5);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(var(--primary) / 0.85);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgb(var(--primary) / 0.5) transparent;
}

#withdraw-pix-key-type {
    color: rgb(var(--foreground));
    background-color: rgb(var(--muted));
    color-scheme: light;
    -webkit-text-fill-color: rgb(var(--foreground));
}

#withdraw-pix-key-type option {
    background-color: #ffffff !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-weight: 500;
}

#withdraw-pix-key-type option:checked {
    background-color: #2563eb !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* ===== Home hero carousel ===== */
:root {
    --frost-nav-h: 84px;
}

@media (min-width: 1024px) {
    :root {
        --frost-nav-h: 138px;
    }
}

.frost-hero {
    margin-top: calc(-1 * var(--frost-nav-h));
}

.frost-hero__stage {
    position: relative;
    height: calc(460px + var(--frost-nav-h));
}

@media (min-width: 640px) {
    .frost-hero__stage {
        height: calc(560px + var(--frost-nav-h));
    }
}

@media (min-width: 1024px) {
    .frost-hero__stage {
        height: calc(640px + var(--frost-nav-h));
    }
}

.frost-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.frost-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.frost-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    transform: scale(1.08);
    filter: saturate(1.14) contrast(1.08) brightness(1.06);
}

.frost-hero__bg--forza {
    object-position: center 68%;
}

.frost-hero__slide.is-active .frost-hero__bg {
    animation: frostHeroZoom 9s ease-out forwards;
}

@keyframes frostHeroZoom {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1.02);
    }
}

.frost-hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 8, 8, 0.62) 0%, rgba(8, 8, 8, 0.22) 36%, rgba(8, 8, 8, 0) 68%),
        linear-gradient(180deg, rgba(8, 8, 8, 0.12) 0%, rgba(8, 8, 8, 0) 24%, rgba(8, 8, 8, 0.16) 68%, rgb(var(--background)) 100%);
}

.frost-hero__copy {
    padding-top: calc(var(--frost-nav-h) + 12px);
}

.frost-hero__poster-link {
    position: absolute;
    right: 3.5vw;
    top: calc(var(--frost-nav-h) + 42%);
    z-index: 16;
    transform: translateY(-50%);
    transition: transform 0.25s ease;
}

.frost-hero__poster-link:hover {
    transform: translateY(-50%) scale(1.04);
}

.frost-hero__poster {
    display: block;
    width: 220px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 30px 70px -18px rgba(0, 0, 0, 0.9),
        0 0 70px -22px rgba(168, 85, 247, 0.65);
}

@media (min-width: 1280px) {
    .frost-hero__poster-link {
        right: 5.5vw;
    }

    .frost-hero__poster {
        width: 260px;
    }
}

@media (min-width: 1536px) {
    .frost-hero__poster-link {
        right: 7vw;
    }

    .frost-hero__poster {
        width: 280px;
    }
}

.frost-hero__tabs {
    margin-top: -92px;
}

.frost-hero__tab {
    position: relative;
}

.frost-hero__tab-bar {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.frost-hero__tab[aria-selected="true"] {
    border-color: rgba(192, 132, 252, 0.55);
    background: rgba(20, 20, 20, 0.85);
}

.frost-hero__tab[aria-selected="true"] .frost-hero__tab-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #fff;
    animation: frostTabFill 6s linear forwards;
}

@keyframes frostTabFill {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* ===== Ranking cards ===== */
.frost-rank {
    position: relative;
}

.frost-rank__num {
    position: absolute;
    left: -46px;
    bottom: -8px;
    z-index: 0;
    font-size: 108px;
    line-height: 0.72;
    font-weight: 800;
    letter-spacing: -0.08em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(192, 132, 252, 0.55);
    pointer-events: none;
    user-select: none;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
    .frost-rank__num {
        left: -68px;
        font-size: 148px;
        -webkit-text-stroke-width: 3px;
    }
}

.frost-rank__card {
    position: relative;
    z-index: 1;
    border-radius: 0.7rem;
    background: rgb(var(--background));
}

/* Rodapé do card: preto roxo translúcido sobre a capa */
.frost-card-panel {
    background: rgba(36, 36, 36, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.frost-card-actions {
    background: rgba(18, 18, 18, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ===== Section band ===== */
.frost-band {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    padding: 14px 72px 14px 20px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(192, 132, 252, 0.22);
    background:
        radial-gradient(520px 120px at 50% 120%, rgba(168, 85, 247, 0.3), transparent 70%),
        linear-gradient(90deg, rgba(168, 85, 247, 0.12), rgba(168, 85, 247, 0.07));
}

.frost-band__flake {
    position: absolute;
    top: 50%;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.28);
    pointer-events: none;
    transform: translateY(-50%);
}

.frost-band__flake--l {
    left: 22px;
}

.frost-band__flake--r {
    right: 118px;
}

.frost-band__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
}

.frost-band__icon {
    font-size: 1.05em;
    letter-spacing: 0;
    line-height: 1;
}

@media (min-width: 640px) {
    .frost-band__title {
        font-size: 22px;
    }
}

@media (max-width: 639px) {
    .frost-band {
        padding-right: 68px;
    }

    .frost-band__flake {
        display: none;
    }
}

.frost-band__link {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease;
}

.frost-band__link:hover {
    color: #fff;
}

/* ===== Combo simulation (home) ===== */
.frost-sim__win {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0610;
    overflow: hidden;
    box-shadow: 0 34px 90px -24px rgba(0, 0, 0, 0.85);
}

.frost-sim__cursor {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 30;
    width: 22px;
    height: 22px;
    pointer-events: none;
    opacity: 0;
    transform: translate(240px, 40px);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55));
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.frost-sim__cursor.is-on {
    opacity: 1;
}

.frost-sim__cursor.is-click {
    transform: translate(var(--cx, 240px), var(--cy, 40px)) scale(0.82);
    transition: transform 0.12s ease;
}

.frost-sim__cursor svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    stroke: #111;
    stroke-width: 1.2;
}

.frost-sim__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
}

.frost-sim__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.frost-sim__url {
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.frost-sim__tag {
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(192, 132, 252, 0.35);
    background: rgba(168, 85, 247, 0.2);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f5f5f5;
    white-space: nowrap;
}

.frost-sim__view {
    position: relative;
    height: 342px;
}

.frost-sim__screen {
    position: absolute;
    inset: 0;
    padding: 16px;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
    pointer-events: none;
}

.frost-sim__screen.is-active {
    opacity: 1;
    transform: translateY(0);
}

.frost-sim__card {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.frost-sim__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frost-sim__check {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.55);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.frost-sim__check svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.frost-sim__card.is-picked {
    border-color: rgba(192, 132, 252, 0.9);
    box-shadow: 0 0 0 2px rgba(192, 132, 252, 0.35);
}

.frost-sim__card.is-picked .frost-sim__check {
    opacity: 1;
}

.frost-sim__total {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.frost-sim__old {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: line-through;
}

.frost-sim__new {
    font-size: 13px;
    font-weight: 800;
    color: #4ade80;
}

.frost-sim__label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 5px;
}

.frost-sim__field {
    height: 34px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    min-width: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.frost-sim__field.is-focus {
    border-color: rgba(192, 132, 252, 0.75);
    background: rgba(168, 85, 247, 0.08);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}

.frost-sim__caret {
    width: 1px;
    height: 13px;
    margin-left: 2px;
    background: #e1e1e1;
    opacity: 0;
}

.frost-sim__caret.is-on {
    animation: frostCaret 1s steps(2) infinite;
}

.frost-sim__coupon {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 11px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.08);
    opacity: 0.45;
    transform: scale(0.98);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.frost-sim__coupon.is-on {
    opacity: 1;
    transform: scale(1);
}

.frost-sim__cta.is-press {
    transform: scale(0.97);
    filter: brightness(1.12);
}

@keyframes frostCaret {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.frost-sim__coupon {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 11px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.08);
}

.frost-sim__coupon-ico {
    width: 20px;
    height: 20px;
    flex: none;
    border-radius: 999px;
    background: #22c55e;
    color: #04120a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frost-sim__coupon-ico svg {
    width: 12px;
    height: 12px;
}

.frost-sim__coupon-off {
    margin-left: auto;
    font-size: 12px;
    font-weight: 800;
    color: #4ade80;
}

.frost-sim__cta {
    margin-top: 14px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    color: #000;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.frost-sim__cta svg {
    width: 14px;
    height: 14px;
}

.frost-sim__ok {
    width: 44px;
    height: 44px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: #22c55e;
    color: #04120a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frost-sim__ok svg {
    width: 24px;
    height: 24px;
}

.frost-sim__key {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    font-size: 11px;
}

.frost-sim__key span {
    color: rgba(255, 255, 255, 0.55);
}

.frost-sim__key em {
    font-style: normal;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.35);
}

.frost-sim__key b {
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(192, 132, 252, 0.3);
    background: rgba(168, 85, 247, 0.2);
    font-size: 10px;
    font-weight: 700;
    color: #f5f5f5;
}

.frost-sim__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 0 12px 12px;
}

.frost-sim__step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 4px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.frost-sim__step b {
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}

.frost-sim__step.is-active {
    color: #f9f9f9;
    border-color: rgba(192, 132, 252, 0.45);
    background: rgba(168, 85, 247, 0.15);
}

.frost-sim__step.is-active b {
    background: #fff;
    color: #000;
}

/* ===== Pack page ===== */
.pack-select {
    color-scheme: dark;
    appearance: none;
    cursor: pointer;
}

.pack-select option {
    background-color: #121212;
    color: #fafafa;
}

/* ===== Header glass ===== */
.frost-header {
    background: rgba(8, 8, 8, 0.32);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body:has(.frost-hero) .frost-header {
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.28) 0%, rgba(8, 8, 8, 0.1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body:has(.frost-hero) .frost-search {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body:has(.frost-pdp) .frost-header {
    background: rgba(8, 8, 8, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ===== Product page ===== */
.frost-thumb {
    height: 104px;
    width: 176px;
}

#thumbs-scroll-bar {
    min-width: 48px;
}

@media (max-width: 640px) {
    .frost-thumb {
        height: 84px;
        width: 142px;
    }
}

.frost-pdp {    overflow: visible;
}

.frost-pdp__bg {
    position: absolute;
    top: -210px;
    left: 50%;
    width: 100vw;
    height: 880px;
    margin-left: -50vw;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.frost-pdp__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    filter: saturate(1.12) brightness(1.08);
    transform: scale(1.04);
}

.frost-pdp__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(11, 11, 11, 0.12) 0%,
            rgba(11, 11, 11, 0.28) 32%,
            rgba(11, 11, 11, 0.58) 62%,
            rgba(11, 11, 11, 0.9) 84%,
            rgb(11, 11, 11) 100%
        ),
        radial-gradient(900px 280px at 20% 10%, rgba(168, 85, 247, 0.12), transparent 70%);
}

.frost-variant-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.frost-variant-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    padding-right: 40px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(18, 18, 18, 0.92);
    color: #fafafa;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.frost-variant-btn:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(26, 26, 26, 0.96);
}

.frost-variant-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.5);
}

.frost-variant-btn[data-selected="true"] {
    border-color: rgba(168, 85, 247, 0.85);
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.16), rgba(18, 18, 18, 0.96));
    box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.18);
}

.frost-variant-btn__copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.frost-variant-btn__title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.frost-variant-btn__sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.3;
}

.frost-variant-btn__price {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
}

.frost-variant-btn[data-selected="true"] .frost-variant-btn__price {
    color: #e9e9e9;
}

.frost-variant-btn__check {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #fff;
    color: #000;
}

.frost-variant-btn[data-selected="true"] .frost-variant-btn__check {
    display: flex;
}

.frost-pdp__about p,
.frost-pdp__about li {
    margin-bottom: 0.55rem;
}

.frost-pdp__about p:last-child {
    margin-bottom: 0;
}

.frost-pdp__about h2,
.frost-pdp__about h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 1.1rem 0 0.45rem;
}

.frost-pdp__about ul,
.frost-pdp__about ol {
    padding-left: 1.15rem;
    margin: 0.4rem 0 0.8rem;
}

.frost-pdp__about ul {
    list-style: disc;
}

.frost-pdp__about ol {
    list-style: decimal;
}

.frost-pdp__about img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0.85rem 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== GUDYSGAMES: efeitos roxos ===== */
#gudysFx {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
}

/* Botão liga/desliga efeitos */
#toggleFx {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 10000;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e9d5ff;
    background: rgba(24, 12, 40, 0.7);
    border: 1px solid rgba(168, 85, 247, 0.45);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 18px -4px rgba(168, 85, 247, 0.7);
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
#toggleFx:hover {
    transform: scale(1.08) rotate(12deg);
    box-shadow: 0 0 26px -2px rgba(168, 85, 247, 0.9);
}
#toggleFx.is-off {
    opacity: 0.45;
    box-shadow: none;
}

/* ===== Toast de compra ===== */

.frost-buy-toast {
                position: fixed;
                left: 14px;
                bottom: 14px;
                z-index: 10050;
                display: flex;
                align-items: center;
                gap: 8px;
                width: min(320px, calc(100vw - 24px));
                padding: 8px 26px 8px 14px;
                border-radius: 12px;
                background: rgba(20, 20, 20, 0.55);
                backdrop-filter: blur(14px);
                -webkit-backdrop-filter: blur(14px);
                border: 1px solid rgba(255, 255, 255, 0.08);
                box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
                color: #fff;
                font-family: "Space Grotesk", system-ui, sans-serif;
                pointer-events: auto;
            }
            .frost-buy-toast[hidden] { display: none !important; }
            .frost-buy-toast__bar {
                position: absolute;
                left: 6px;
                top: 10px;
                bottom: 10px;
                width: 3px;
                border-radius: 999px;
                background: rgb(var(--primary));
            }
            .frost-buy-toast__main {
                display: flex;
                align-items: center;
                gap: 10px;
                min-width: 0;
                flex: 1;
                color: inherit;
                text-decoration: none;
            }
            .frost-buy-toast__cover {
                width: 52px;
                height: 52px;
                border-radius: 6px;
                object-fit: cover;
                flex-shrink: 0;
                background: rgba(11, 11, 11, 0.45);
            }
            .frost-buy-toast__copy {
                display: flex;
                flex-direction: column;
                min-width: 0;
                gap: 1px;
                padding-right: 2px;
            }
            .frost-buy-toast__who {
                font-size: 12px;
                line-height: 1.25;
                color: rgba(255, 255, 255, 0.92);
                font-weight: 500;
            }
            .frost-buy-toast__who strong { font-weight: 600; color: #fff; }
            .frost-buy-toast__game {
                font-size: 14px;
                line-height: 1.2;
                font-weight: 700;
                color: #fff;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
            .frost-buy-toast__when {
                display: inline-flex;
                align-items: center;
                gap: 4px;
                margin-top: 2px;
                color: rgb(var(--primary));
                font-size: 11px;
                font-weight: 600;
                line-height: 1;
            }
            .frost-buy-toast__when svg { width: 12px; height: 12px; }
            .frost-buy-toast__close {
                position: absolute;
                top: 6px;
                right: 6px;
                width: 18px;
                height: 18px;
                display: flex;
                align-items: center;
                justify-content: center;
                border: 0;
                background: transparent;
                color: rgba(255, 255, 255, 0.55);
                cursor: pointer;
                border-radius: 6px;
            }
            .frost-buy-toast__close svg { width: 12px; height: 12px; }
            .frost-buy-toast__close:hover { color: #fff; }
            .frost-buy-toast.is-in { animation: frostBuyIn 380ms cubic-bezier(0.2, 0.85, 0.25, 1) both; }
            .frost-buy-toast.is-out { animation: frostBuyOut 280ms ease both; }
            @keyframes frostBuyIn {
                from { opacity: 0; transform: translate(-16px, 8px); }
                to { opacity: 1; transform: translate(0, 0); }
            }
            @keyframes frostBuyOut {
                from { opacity: 1; transform: translate(0, 0); }
                to { opacity: 0; transform: translate(-12px, 6px); }
            }
            @media (max-width: 640px) {
                .frost-buy-toast { left: 10px; bottom: 10px; width: min(280px, calc(100vw - 20px)); }
                .frost-buy-toast__cover { width: 46px; height: 46px; }
            }

/* ===== GGNext: páginas da plataforma (checkout e pedido) e tema oficial ===== */
[hidden]:not([hidden="until-found"]) {
    display: none !important;
}

.template-checkout main,
.template-order main {
    min-height: 60vh;
}

.template-checkout #__selltrust input,
.template-checkout #__selltrust select,
.template-order #__selltrust input,
.template-order #__selltrust select {
    height: auto;
    font-size: inherit;
}

/* ===== GUDYSGAMES: tema preto e roxo ===== */
::selection {
    background: rgb(168 85 247);
    color: #fff;
}

body {
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(124, 58, 237, 0.16), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(168, 85, 247, 0.08), transparent 60%),
        rgb(var(--background));
    background-attachment: fixed;
}

/* Granulado de filme sutil sobre o fundo */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -5;
    pointer-events: none;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Orbes de luz flutuando no topo */
.gudys-orb {
    animation: gudysOrb 14s ease-in-out infinite alternate;
}
.gudys-orb--b {
    animation-duration: 18s;
    animation-delay: -6s;
}
.gudys-orb--c {
    animation-duration: 22s;
    animation-delay: -3s;
}
@keyframes gudysOrb {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(40px, 30px, 0) scale(1.08); }
    100% { transform: translate3d(-30px, 10px, 0) scale(0.96); }
}

/* Logo + wordmark */
.gudys-logo {
    filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.55));
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3), filter 0.3s ease;
}
a:hover > .gudys-logo {
    transform: rotate(-8deg) scale(1.06);
    filter: drop-shadow(0 0 18px rgba(192, 132, 252, 0.85));
}
.gudys-wordmark {
    font-family: "Orbitron", "Space Grotesk", sans-serif;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    white-space: nowrap;
}
.gudys-wordmark__a {
    color: #fff;
}
.gudys-wordmark__b {
    background: linear-gradient(90deg, #c084fc, #a855f7 45%, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.45));
}

/* Botões de destaque com brilho roxo */
.gudys-btn-glow {
    position: relative;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 60%, #6d28d9 100%);
    box-shadow: 0 0 0 1px rgba(233, 213, 255, 0.18) inset, 0 8px 28px -6px rgba(168, 85, 247, 0.75);
    overflow: hidden;
}
.gudys-btn-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: gudysShine 3.6s ease-in-out infinite;
    pointer-events: none;
}
.gudys-btn-glow:hover {
    filter: brightness(1.12);
    box-shadow: 0 0 0 1px rgba(233, 213, 255, 0.3) inset, 0 10px 36px -4px rgba(168, 85, 247, 0.95);
}
@keyframes gudysShine {
    0%, 55% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

.btn-primary {
    background-image: linear-gradient(135deg, #a855f7, #7c3aed);
    box-shadow: 0 8px 24px -10px rgba(168, 85, 247, 0.9);
}
.btn-primary:hover {
    filter: brightness(1.1);
}

/* Cabeçalho com linha neon */
.frost-header {
    background: rgba(8, 4, 15, 0.55);
    border-bottom-color: rgba(168, 85, 247, 0.18) !important;
}
.frost-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.8), transparent);
    background-size: 50% 100%;
    background-repeat: no-repeat;
    animation: gudysScan 7s linear infinite;
    pointer-events: none;
}
@keyframes gudysScan {
    from { background-position: -100% 0; }
    to { background-position: 300% 0; }
}
body:has(.frost-hero) .frost-header {
    background: linear-gradient(180deg, rgba(8, 4, 15, 0.55) 0%, rgba(8, 4, 15, 0.2) 100%);
}
.frost-search,
body:has(.frost-hero) .frost-search {
    border-color: rgba(168, 85, 247, 0.28) !important;
    background: rgba(168, 85, 247, 0.06) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.frost-search:focus-within {
    border-color: rgba(192, 132, 252, 0.7) !important;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15), 0 0 30px -6px rgba(168, 85, 247, 0.6) !important;
}

/* Hero */
.frost-hero__scrim {
    background:
        linear-gradient(90deg, rgba(10, 4, 20, 0.78) 0%, rgba(10, 4, 20, 0.3) 38%, rgba(10, 4, 20, 0) 68%),
        linear-gradient(180deg, rgba(10, 4, 20, 0.15) 0%, rgba(10, 4, 20, 0) 24%, rgba(40, 10, 70, 0.22) 68%, rgb(var(--background)) 100%);
}
.frost-hero__poster {
    border-color: rgba(192, 132, 252, 0.35);
    box-shadow: 0 30px 70px -18px rgba(0, 0, 0, 0.9), 0 0 80px -18px rgba(168, 85, 247, 0.8);
}
.frost-hero__tab[aria-selected="true"] {
    border-color: rgba(192, 132, 252, 0.7);
    background: rgba(30, 14, 52, 0.88);
    box-shadow: 0 0 24px -8px rgba(168, 85, 247, 0.8);
}
.frost-hero__tab[aria-selected="true"] .frost-hero__tab-bar::after {
    background: linear-gradient(90deg, #7c3aed, #c084fc);
}

/* Faixas de seção */
.frost-band {
    border-color: rgba(168, 85, 247, 0.3);
    background:
        radial-gradient(520px 120px at 50% 120%, rgba(168, 85, 247, 0.35), transparent 70%),
        linear-gradient(90deg, rgba(124, 58, 237, 0.16), rgba(168, 85, 247, 0.06));
}
.frost-band__flake {
    color: rgba(192, 132, 252, 0.5);
}

/* Ranking */
.frost-rank__num {
    -webkit-text-stroke-color: rgba(192, 132, 252, 0.6);
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.35);
}

/* Cards */
.frost-card-panel {
    background: rgba(26, 14, 44, 0.74);
}
.frost-card-actions {
    background: rgba(14, 7, 26, 0.86);
}
.package {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.package:hover {
    transform: translateY(-4px);
    border-color: rgba(192, 132, 252, 0.85);
    box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.45), 0 18px 44px -14px rgba(168, 85, 247, 0.6);
}

/* Combo (simulação) */
.frost-sim__win {
    border-color: rgba(168, 85, 247, 0.22);
    background: #0c0713;
    box-shadow: 0 34px 90px -24px rgba(0, 0, 0, 0.85), 0 0 60px -20px rgba(168, 85, 247, 0.45);
}
.frost-sim__cta {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
}
.frost-sim__step.is-active b {
    background: #a855f7;
    color: #fff;
}
.frost-sim__caret {
    background: #c084fc;
}

/* Página de produto */
.frost-pdp__bg::after {
    background:
        linear-gradient(180deg, rgba(10, 4, 18, 0.12) 0%, rgba(10, 4, 18, 0.3) 32%, rgba(10, 4, 18, 0.62) 62%, rgba(8, 4, 14, 0.92) 84%, rgb(6, 3, 12) 100%),
        radial-gradient(900px 280px at 20% 10%, rgba(168, 85, 247, 0.22), transparent 70%);
}
.frost-variant-btn {
    background: rgba(18, 10, 30, 0.92);
    border-color: rgba(168, 85, 247, 0.18);
}
.frost-variant-btn:hover {
    border-color: rgba(192, 132, 252, 0.45);
    background: rgba(28, 14, 46, 0.96);
}
.frost-variant-btn__check {
    background: #a855f7;
    color: #fff;
}

/* Rodapé */
.gudys-footer {
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.08));
    border-top-color: rgba(168, 85, 247, 0.2) !important;
}
.gudys-footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
}
.gudys-footer a:hover {
    color: #c084fc;
}

/* Toast de compra e drawers */
.frost-buy-toast {
    background: rgba(22, 10, 38, 0.72);
    border-color: rgba(168, 85, 247, 0.28);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 24px -8px rgba(168, 85, 247, 0.6);
}

@media (prefers-reduced-motion: reduce) {
    .gudys-orb,
    .gudys-btn-glow::after,
    .frost-header::after {
        animation: none;
    }
}

/* Hero: quando só existe a capa vertical (baixa resolução), vira um fundo desfocado em vez de pixelado */
.frost-hero__bg--soft {
    inset: -60px;
    width: calc(100% + 120px);
    height: calc(100% + 120px);
    object-position: center 30%;
    filter: blur(28px) saturate(1.15) brightness(0.72);
}

/* ===== GUDYSGAMES: hero principal ===== */
/* Fundo desfocado vira um "ambiente" roxo intencional */
.frost-hero__bg--soft {
    filter: blur(40px) saturate(1.3) brightness(0.55);
}
.gudys-hero__tint {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(700px 420px at 78% 52%, rgba(168, 85, 247, 0.38), transparent 70%),
        radial-gradient(600px 400px at 10% 90%, rgba(124, 58, 237, 0.25), transparent 70%),
        linear-gradient(180deg, rgba(20, 6, 40, 0.35), rgba(6, 3, 12, 0.2));
    mix-blend-mode: screen;
}
.gudys-hero__grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(192, 132, 252, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 132, 252, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 55%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 70% 55%, #000 20%, transparent 75%);
}

/* Texto: sobe um pouco para não encostar nas abas */
.gudys-hero__copy {
    padding-bottom: 96px;
}
@media (min-width: 1024px) {
    .gudys-hero__text {
        padding-right: 340px;
        max-width: 980px;
    }
}
@media (min-width: 1280px) {
    .gudys-hero__text {
        padding-right: 0;
        max-width: 640px;
    }
}

.frost-hero__slide.is-active .gudys-hero__text > * {
    animation: gudysHeroUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.frost-hero__slide.is-active .gudys-hero__text > *:nth-child(2) { animation-delay: 0.06s; }
.frost-hero__slide.is-active .gudys-hero__text > *:nth-child(3) { animation-delay: 0.12s; }
.frost-hero__slide.is-active .gudys-hero__text > *:nth-child(4) { animation-delay: 0.18s; }
.frost-hero__slide.is-active .gudys-hero__text > *:nth-child(5) { animation-delay: 0.24s; }
@keyframes gudysHeroUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.gudys-hero__badge,
.gudys-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.gudys-hero__badge {
    color: #fff;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    box-shadow: 0 0 22px -4px rgba(168, 85, 247, 0.9);
}
.gudys-hero__chip {
    color: #e9d5ff;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(192, 132, 252, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gudys-hero__title {
    margin-top: 18px;
    font-size: clamp(30px, 4.4vw, 60px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(168, 85, 247, 0.25);
}

.gudys-hero__price {
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(90deg, #ffffff, #e9d5ff 40%, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Capa em destaque com moldura neon girando */
.gudys-hero__poster-link {
    perspective: 1000px;
}
.gudys-hero__halo {
    position: absolute;
    inset: -30% -30%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.55), transparent 62%);
    filter: blur(20px);
    z-index: -1;
    animation: gudysHalo 4s ease-in-out infinite alternate;
}
@keyframes gudysHalo {
    from { opacity: 0.6; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1.05); }
}
.gudys-hero__frame {
    position: relative;
    display: block;
    padding: 2px;
    border-radius: 18px;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(4deg);
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9);
}
.gudys-hero__frame::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 0deg, #c084fc 60deg, #7c3aed 120deg, transparent 180deg, transparent 360deg);
    animation: gudysSpin 4s linear infinite;
}
@keyframes gudysSpin {
    to { transform: rotate(360deg); }
}
.gudys-hero__frame .frost-hero__poster {
    position: relative;
    border: 0;
    border-radius: 16px;
    box-shadow: none;
}
.gudys-hero__poster-link:hover {
    transform: translateY(-50%);
}
.gudys-hero__poster-link:hover .gudys-hero__frame {
    transform: rotateY(0deg) rotateX(0deg) scale(1.03);
}
.gudys-hero__rank {
    position: absolute;
    left: -34px;
    bottom: -18px;
    font-family: "Orbitron", "Space Grotesk", sans-serif;
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(233, 213, 255, 0.9);
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.8);
    pointer-events: none;
}
.frost-hero__slide.is-active .gudys-hero__poster-link {
    animation: gudysPosterIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes gudysPosterIn {
    from { opacity: 0; transform: translateY(-46%) translateX(30px); }
    to { opacity: 1; transform: translateY(-50%); }
}

/* Abas com miniatura */
.gudys-hero__tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 12px 8px;
    border-radius: 14px;
    border: 1px solid rgba(168, 85, 247, 0.16);
    background: rgba(12, 6, 22, 0.62);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.gudys-hero__tab:hover {
    border-color: rgba(192, 132, 252, 0.45);
    transform: translateY(-2px);
}
.gudys-hero__tab-img {
    width: 34px;
    height: 46px;
    flex: none;
    border-radius: 7px;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.gudys-hero__tab[aria-selected="true"] .gudys-hero__tab-img,
.gudys-hero__tab:hover .gudys-hero__tab-img {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .gudys-hero__frame::before,
    .gudys-hero__halo,
    .frost-hero__slide.is-active .gudys-hero__text > *,
    .frost-hero__slide.is-active .gudys-hero__poster-link {
        animation: none;
    }
}
