@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 */
}

body {
    background-color: #070506;
    background-image:
        radial-gradient(900px 420px at 100% -8%, rgba(225, 6, 0, 0.2), transparent 55%),
        radial-gradient(640px 360px at -8% 28%, rgba(225, 6, 0, 0.12), transparent 50%);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#__selltrust {
    position: relative;
    z-index: 1;
}

#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(7, 6, 12, 0.62) 0%, rgba(7, 6, 12, 0.22) 36%, rgba(7, 6, 12, 0) 68%),
        linear-gradient(180deg, rgba(7, 6, 12, 0.12) 0%, rgba(7, 6, 12, 0) 24%, rgba(7, 6, 12, 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(225, 6, 0, 0.55);
}

@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(225, 6, 0, 0.7);
    background: rgba(20, 6, 8, 0.88);
}

.frost-hero__tab[aria-selected="true"] .frost-hero__tab-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffffff, #e10600);
    animation: frostTabFill 6s linear forwards;
}

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

/* Rodapé do card */
.frost-card-panel {
    background: rgba(12, 4, 6, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.frost-card-actions {
    background: rgba(8, 4, 5, 0.9);
    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(225, 6, 0, 0.35);
    background:
        radial-gradient(520px 120px at 50% 120%, rgba(225, 6, 0, 0.28), transparent 70%),
        linear-gradient(90deg, rgba(225, 6, 0, 0.16), rgba(255, 255, 255, 0.04));
}

.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__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: #10080a;
    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(225, 6, 0, 0.4);
    background: rgba(225, 6, 0, 0.18);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ddd6fe;
    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(76, 29, 149, 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(225, 6, 0, 0.95);
    box-shadow: 0 0 0 2px rgba(225, 6, 0, 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(225, 6, 0, 0.75);
    background: rgba(225, 6, 0, 0.08);
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.18);
}

.frost-sim__caret {
    width: 1px;
    height: 13px;
    margin-left: 2px;
    background: #e10600;
    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: linear-gradient(90deg, #e10600, #ff4d4d);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    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(225, 6, 0, 0.35);
    background: rgba(225, 6, 0, 0.18);
    font-size: 10px;
    font-weight: 700;
    color: #ddd6fe;
}

.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: #fff;
    border-color: rgba(225, 6, 0, 0.55);
    background: rgba(225, 6, 0, 0.16);
}

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

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

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

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

body:has(.frost-hero) .frost-header {
    background: linear-gradient(180deg, rgba(7, 6, 12, 0.28) 0%, rgba(7, 6, 12, 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(7, 6, 12, 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(7, 5, 6, 0.12) 0%,
            rgba(7, 5, 6, 0.28) 32%,
            rgba(7, 5, 6, 0.58) 62%,
            rgba(7, 5, 6, 0.9) 84%,
            rgb(7, 5, 6) 100%
        ),
        radial-gradient(900px 280px at 20% 10%, rgba(225, 6, 0, 0.16), 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(20, 17, 26, 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(28, 22, 38, 0.96);
}

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

.frost-variant-btn[data-selected="true"] {
    border-color: rgba(225, 6, 0, 0.85);
    background: linear-gradient(180deg, rgba(225, 6, 0, 0.16), rgba(12, 8, 9, 0.96));
    box-shadow: inset 0 0 0 1px rgba(225, 6, 0, 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: #f0abfc;
}

.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: rgb(225, 6, 0);
    color: #fff;
}

.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);
}
