/* ================================================================
   Black Friday Sale Theme – DamnModz (2026-11-26)
   Black + gold on top of the site's own red. Built from fall-theme.css
   sections 0, 3a and 3b; the red-recolor sections were left out on purpose.
   ================================================================ */

:root {
    --bf-black:     #050505;
    --bf-charcoal:  #1A1A1A;
    --bf-gold:      #F5C518;
    --bf-gold-hot:  #FFD84D;
    --bf-gold-deep: #C99A00;
    --bf-ink:       #0A0A0A;
}

/* ----------------------------------------------------------------
   0.  Top bar: countdown + code strip
   ---------------------------------------------------------------- */

#dmz-bf-topbar {
    position: relative;
    z-index: 1000;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    background: var(--bf-black);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.45),
        inset 0 -1px 0 rgba(255, 216, 77, 0.45);
}

.dmz-bf-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 216, 77, 0.16) 0%, transparent 55%),
        linear-gradient(90deg, #000 0%, #141414 22%, #2A2206 50%, #141414 78%, #000 100%);
    border-bottom: 1px solid rgba(255, 216, 77, 0.28);
    color: #fff;
    text-align: center;
}

.dmz-bf-countdown__text {
    color: rgba(255, 255, 255, 0.96);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.dmz-bf-countdown__text b {
    color: var(--bf-gold-hot);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.dmz-bf-countdown__clock {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.dmz-bf-countdown__box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: linear-gradient(135deg, var(--bf-gold-hot) 0%, var(--bf-gold) 100%);
    box-shadow: 0 0 14px rgba(255, 216, 77, 0.28);
    color: var(--bf-ink);
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.dmz-bf-countdown__sep {
    padding: 0 3px;
    color: var(--bf-gold-hot);
    font-size: 18px;
    font-weight: 800;
}

/* Under a day, the day box and its separator drop out. */
.dmz-bf-countdown.is-dayless .dmz-bf-countdown__box[data-box="d"],
.dmz-bf-countdown.is-dayless .dmz-bf-countdown__box[data-box="d"] + .dmz-bf-countdown__sep {
    display: none;
}

@media (max-width: 768px) {
    .dmz-bf-countdown {
        gap: 4px;
        padding: 8px 10px;
    }

    .dmz-bf-countdown__text {
        flex: 0 0 100%;
        font-size: 12px;
    }

    .dmz-bf-countdown__box {
        min-width: 38px;
        font-size: 17px;
    }
}

#dmz-bf-banner {
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 240, 180, 0.55) 0%, transparent 62%),
        linear-gradient(90deg, var(--bf-gold-deep) 0%, #E0B21A 20%, var(--bf-gold-hot) 50%, #E0B21A 80%, var(--bf-gold-deep) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(60, 45, 0, 0.6);
    color: var(--bf-ink);
    text-align: center;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 1.4;
    width: 100% !important;
    box-sizing: border-box;
}

.dmz-bf-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dmz-bf-banner__text {
    color: #111;
    font-weight: 700;
}

.dmz-bf-banner__inner strong {
    display: inline-block;
    padding: 3px 12px;
    color: var(--bf-gold-hot);
    background: linear-gradient(135deg, #000 0%, #222 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 1.2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dmz-bf-banner__icon {
    display: inline-block;
    font-size: 15px;
    line-height: 1;
}

/* ----------------------------------------------------------------
   1.  Homepage hero accents
   ---------------------------------------------------------------- */

.dm-hero .title-accent {
    color: var(--bf-gold-hot) !important;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .dm-hero .title-accent {
        background: linear-gradient(135deg, var(--bf-gold-hot) 0%, var(--bf-gold) 35%, #FFF1B0 60%, var(--bf-gold) 100%) !important;
        background-size: 220% auto !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
}

.dm-hero .dm-game-dropdown__trigger.dm-btn--primary {
    background: linear-gradient(135deg, var(--bf-gold-hot) 0%, var(--bf-gold) 50%, var(--bf-gold-deep) 100%) !important;
    color: var(--bf-ink) !important;
    box-shadow: 0 14px 40px rgba(245, 197, 24, 0.3) !important;
}

/* ----------------------------------------------------------------
   2.  Gold call-to-action buttons and prices, site-wide
   ---------------------------------------------------------------- */

.single_add_to_cart_button,
button.single_add_to_cart_button,
.dm-btn--primary,
.dm-product-cart__actions .single_add_to_cart_button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
a.checkout-button.button.alt.wc-forward {
    background: linear-gradient(135deg, var(--bf-gold-hot) 0%, var(--bf-gold) 50%, var(--bf-gold-deep) 100%) !important;
    color: var(--bf-ink) !important;
    border-color: rgba(255, 216, 77, 0.65) !important;
    box-shadow: 0 10px 28px rgba(245, 197, 24, 0.3) !important;
}

.single_add_to_cart_button:hover,
button.single_add_to_cart_button:hover,
.dm-btn--primary:hover,
.dm-product-cart__actions .single_add_to_cart_button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
a.checkout-button.button.alt.wc-forward:hover {
    background: linear-gradient(135deg, #FFE89A 0%, var(--bf-gold-hot) 40%, var(--bf-gold) 100%) !important;
    box-shadow: 0 14px 36px rgba(245, 197, 24, 0.4) !important;
}

.woocommerce .price .woocommerce-Price-amount,
.woocommerce .price ins .woocommerce-Price-amount,
.dm-product-price .price .woocommerce-Price-amount,
.dm-product-info-card .price ins .woocommerce-Price-amount,
.dm-product-tile__price ins .woocommerce-Price-amount,
.dm-sticky-form .price ins .woocommerce-Price-amount {
    color: var(--bf-gold-hot) !important;
}

.woocommerce .price del .woocommerce-Price-amount,
.dm-product-price .price del .woocommerce-Price-amount,
.dm-product-tile__price del .woocommerce-Price-amount {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* ----------------------------------------------------------------
   3.  Floating sparkles canvas (rendered by blackfriday-sparkles.js)
   ---------------------------------------------------------------- */

#dmz-bf-sparkles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    opacity: 0.45;
}
