/* =======================
   OFFER / PRICE BOX (lean)
   ======================= */

:root {
    /* centralize repeated colors */
    --dark-bg: rgb(48, 22, 22);
    --white: #fff;
    --muted: #cecdcd;
    --accent-red: #d63939;
    --accent-yellow: #facc15;
    --pix: #28C29D;
}

.offer-container {
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px 25px 30px;
    max-width: 580px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    transition: transform .3s ease, opacity .3s ease;
    /* isolate to reduce paint/recalc scope without changing layout flow */
    contain: paint style;
    /* remove global will-change; re-added on hover below */
}

/* Enable backdrop blur only on desktop where supported */
@supports (backdrop-filter: blur(6px)) {
    @media (min-width: 641px) {
        .offer-container {
            backdrop-filter: blur(6px);
        }
    }
}

/* =======================
   TYPOGRAPHY & COLORS
   ======================= */

.price-header .price-anchor {
    font-size: 26px;
    color: var(--muted);
    margin-bottom: 6px;
    text-shadow: 0 0 20px var(--accent-red);
}

.warranty-bold {
    color: var(--accent-yellow);
}

.promotional-text {
    font-size: 50px;
    line-height: 1;
    margin-bottom: 10px;
    color: var(--white);
    text-shadow: 0 0 20px var(--accent-red);
}

.price-old {
    color: var(--accent-red);
    text-decoration: line-through;
    font-weight: 500;
}

.price-current {
    margin: -10px 0 0 0;
    font-size: 60px;
    color: var(--white);
    /* preserves look (was var(--accent) commented) */
    font-weight: 800;
}

.shadow {
    text-shadow: 0 0 8px #fa1515;
}

.price-info {
    margin: -10px 0 0 0;
    font-size: 20px;
    color: var(--white);
    text-shadow: 0 0 6px #fa1515;
    font-weight: 800;
    line-height: 1.4;
}

.fa-pix {
    font-size: 50px;
    color: var(--pix);
}

/* =======================
   TIMER
   ======================= */

.timer-wrapper {
    margin: 35px 0;
}

.timer-text {
    font-size: 19px;
    color: #ccc;
    margin-bottom: 16px;
    line-height: 1.4;
    /* only one font-weight declaration */
    font-weight: 700;
    letter-spacing: .2px;
    /* transitions limited to opacity/transform already; keep */
    transition: opacity .3s ease, transform .3s ease;
}

.timer-text span {
    color: var(--accent-yellow);
    font-weight: 700;
}

/* Lightweight rotation */
.emoji-rotate {
    display: inline-block;
    animation: spin 2.4s linear infinite;
    transform-origin: center;
}

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

/* =======================
   TIMER UNITS
   ======================= */

.timer-box {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.unit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 90px;
    padding: 10px 0;
    margin-bottom: 10px;
    border-radius: 18px;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-yellow);
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow:
        0 8px 20px rgba(255, 255, 0, .07),
        inset 0 0 6px rgba(255, 255, 0, .10);
    transition: transform .25s ease;
    /* no base will-change */
}

.unit span {
    font-size: 32px;
    font-weight: 800;
}

.unit small {
    font-size: 20px;
    color: #bbb;
    font-weight: 700;
}

@media (hover:hover) {
    .unit:hover {
        transform: scale(1.07);
        will-change: transform;
    }
}

/* =======================
   CTA BUTTON
   ======================= */

.btn-cta {
    position: relative;
    width: 100%;
    color: var(--white);
    border: none;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(180deg, #16a34a, #0e7a36);
    box-shadow: 0 10px 24px rgba(20, 197, 20, .25), inset 0 1px 0 rgba(255, 255, 255, .15);
    transition: transform .2s ease;
    text-decoration: none;
    touch-action: manipulation;
}

.btn-cta::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 20px 6px rgba(255, 0, 0, .85);
    opacity: .35;
    animation: glowPulse 1.8s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: .35;
    }

    50% {
        opacity: .85;
    }
}

@media (hover:hover) {
    .btn-cta:hover {
        transform: scale(1.03);
        will-change: transform;
    }
}

.link {
    text-decoration: none;
    color: var(--white);
}

/* =======================
   CARD BANK IMAGE
   ======================= */

.card-bank-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-bank-img {
    width: 100%;
    margin-left: 20px;
}

/* =======================
   REDUCE MOTION
   ======================= */

@media (prefers-reduced-motion: reduce) {

    .emoji-rotate,
    .btn-cta::after {
        animation: none !important;
    }

    .offer-container,
    .timer-text,
    .unit,
    .btn-cta {
        transition: none !important;
    }
}

/* =======================
   MICRO PERF TWEAKS
   (no visual change)
   ======================= */

/* Enable text rendering optimizations without altering design */
.offer-container,
.timer-text,
.price-current,
.promotional-text {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}