:root {
    --dd-black: #090908;
    --dd-black-soft: #11110f;
    --dd-panel: rgba(13, 13, 12, .92);

    --dd-gold: #dfbc6a;
    --dd-gold-light: #f0d77f;
    --dd-gold-dark: #a97c28;

    --dd-cream: #f7f3e9;
    --dd-muted: rgba(247, 243, 233, .64);
}

/* Main page */
.bb-dd {
    min-height: 100vh;
    padding: 120px 20px 90px;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(214, 173, 80, .15),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #0a0a09 0%,
            #090908 55%,
            #060606 100%
        );

    color: var(--dd-cream);
}

.bb-dd__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

/* Intro */
.bb-dd__intro {
    text-align: center;
    margin-bottom: 46px;
}

.bb-dd__eyebrow {
    margin: 0 0 12px;

    color: var(--dd-gold);

    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.bb-dd__intro h1 {
    max-width: 920px;
    margin: 0 auto 18px;

    color: var(--dd-cream);

    font-size: clamp(2.7rem, 7vw, 6.2rem);
    font-weight: 900;
    line-height: .92;
    letter-spacing: -.045em;
}

.bb-dd__intro h1 span {
    display: block;
    margin-top: 10px;

    color: var(--dd-gold-light);
}

.bb-dd__lead {
    max-width: 680px;
    margin: 0 auto;

    color: var(--dd-muted);

    font-size: clamp(.98rem, 2vw, 1.14rem);
    line-height: 1.7;
}

/* Countdown */
.bb-dd__countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;

    margin: 0 auto 24px;
}

.bb-dd__time {
    position: relative;
    overflow: hidden;

    padding: 28px 14px;

    text-align: center;

    border: 1px solid rgba(214, 173, 80, .24);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(19, 19, 17, .94),
            rgba(8, 8, 7, .96)
        );

    box-shadow:
        0 20px 55px rgba(0, 0, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .04);
}

.bb-dd__time::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at top,
            rgba(214, 173, 80, .09),
            transparent 60%
        );

    pointer-events: none;
}

.bb-dd__time strong {
    position: relative;
    z-index: 1;

    display: block;

    color: var(--dd-gold-light);

    font-size: clamp(2.2rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.04em;
}

.bb-dd__time span {
    position: relative;
    z-index: 1;

    display: block;
    margin-top: 10px;

    color: rgba(247, 243, 233, .48);

    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}

/* Christmas deadline line */
.bb-dd__deadline {
    margin: 0 auto 20px;

    text-align: center;

    color: rgba(247, 243, 233, .62);

    font-size: .92rem;
    font-weight: 700;
}

.bb-dd__deadline strong {
    color: var(--dd-gold-light);
}

/* Warning / status panel */
.bb-dd__warning {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    max-width: 760px;
    margin: 0 auto 44px;
    padding: 16px 18px;

    border: 1px solid rgba(214, 173, 80, .2);
    border-radius: 16px;

    background: rgba(214, 173, 80, .055);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .025);
}

.bb-dd__warning-dot {
    width: 9px;
    height: 9px;
    margin-top: 6px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--dd-gold-light);

    box-shadow:
        0 0 0 5px rgba(214, 173, 80, .08),
        0 0 18px rgba(214, 173, 80, .45);
}

.bb-dd__warning p {
    margin: 0;

    color: rgba(247, 243, 233, .6);

    font-size: .82rem;
    line-height: 1.6;
}

.bb-dd__warning strong {
    display: block;
    margin-bottom: 2px;

    color: var(--dd-gold-light);

    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

/* Watch latest update */
.bb-dd-watch {
    position: relative;
    overflow: hidden;

    width: min(760px, 100%);
    margin: 0 auto;
    padding: 42px 30px;

    text-align: center;

    border: 1px solid rgba(214, 173, 80, .28);
    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 18, 16, .96),
            rgba(8, 8, 7, .97)
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .38),
        inset 0 1px 0 rgba(255, 255, 255, .04);
}

.bb-dd-watch::before {
    content: "";

    position: absolute;
    top: -120px;
    left: 50%;

    width: 320px;
    height: 320px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(214, 173, 80, .12),
            transparent 68%
        );

    pointer-events: none;
}

.bb-dd-watch > * {
    position: relative;
    z-index: 1;
}

.bb-dd-watch__eyebrow {
    margin: 0;

    color: var(--dd-gold);

    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.bb-dd-watch h2 {
    margin: 10px 0 12px;

    color: var(--dd-cream);

    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.035em;
}

.bb-dd-watch p {
    max-width: 560px;
    margin: 0 auto 25px;

    color: var(--dd-muted);

    font-size: .96rem;
    line-height: 1.65;
}

.bb-dd-watch__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    min-height: 52px;
    padding: 0 25px;

    border: 1px solid rgba(255, 233, 157, .72);
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--dd-gold-light),
            var(--dd-gold) 58%,
            #bd8831
        );

    color: #11100d;

    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .01em;

    text-decoration: none;

    box-shadow:
        0 12px 30px rgba(191, 142, 47, .2),
        inset 0 1px 0 rgba(255, 255, 255, .5);

    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

.bb-dd-watch__button:hover,
.bb-dd-watch__button:focus-visible {
    color: #11100d;

    transform: translateY(-2px);

    box-shadow:
        0 16px 36px rgba(191, 142, 47, .3),
        inset 0 1px 0 rgba(255, 255, 255, .6);
}

.bb-dd-watch__button span {
    font-size: 1rem;

    transition: transform .2s ease;
}

.bb-dd-watch__button:hover span {
    transform: translate(2px, -2px);
}

/* Deadline expired state */
.dd-deal-time .bb-dd__countdown {
    opacity: .65;
}

.dd-deal-time .bb-dd__warning {
    border-color: rgba(214, 173, 80, .42);
    background: rgba(214, 173, 80, .09);
}

/* Tablet */
@media (max-width: 760px) {
    .bb-dd {
        padding: 100px 16px 70px;
    }

    .bb-dd__countdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .bb-dd__intro {
        margin-bottom: 34px;
    }
}

/* Mobile */
@media (max-width: 500px) {
    .bb-dd {
        padding-top: 88px;
    }

    .bb-dd__countdown {
        gap: 10px;
    }

    .bb-dd__time {
        padding: 22px 10px;
        border-radius: 18px;
    }

    .bb-dd__warning {
        padding: 14px;
        border-radius: 14px;
    }

    .bb-dd-watch {
        padding: 34px 20px;
        border-radius: 22px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .bb-dd-watch__button,
    .bb-dd-watch__button span {
        transition: none;
    }
}

.bb-dd-watch__gold {
    color: var(--dd-gold);
}

/* =========================================================
   SHARED BUTTON ARROW
   ========================================================= */

.bb-button-arrow {
    width: 36px;
    height: 36px;
    min-width: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 16px;
    line-height: 1;

    flex-shrink: 0;

    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}


.bb-button-arrow--dark {
    border: 1px solid rgba(10, 10, 10, 0.32);

    background: rgba(10, 10, 10, 0.04);

    color: #0a0a0a;
}

/* =========================================================
   TRUE INVERTED GOLD BUTTON
   ========================================================= */

.bb-button--outline-gold {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 0 54px;

    border: 1px solid transparent;
    border-radius: 999px;

    background:
        linear-gradient(#0a0a0a, #0a0a0a) padding-box,
        linear-gradient(135deg, #f1d58d, #d8bb6d) border-box;

    color: #d8bb6d;

    font-weight: 800;
    text-decoration: none;

    transition:
        transform 180ms ease,
        color 180ms ease,
        background 180ms ease;
}


/* Gold gradient text */

.bb-button--outline-gold {
    background:
        linear-gradient(#0a0a0a, #0a0a0a) padding-box,
        linear-gradient(135deg, #f1d58d, #d8bb6d) border-box;
}


/* Arrow */

.bb-button--outline-gold .bb-button-arrow {
    position: absolute;

    right: 9px;
    top: 50%;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid #d8bb6d;
    border-radius: 50%;

    background: transparent;
    color: #d8bb6d;

    transform: translateY(-50%);
}


/* Hover flips back to the normal gold button */

.bb-button--outline-gold:hover {
    background:
        linear-gradient(135deg, #f1d58d, #d8bb6d);

    color: #0a0a0a;

    transform: translateY(-2px);
}


.bb-button--outline-gold:hover .bb-button-arrow {
    border-color: rgba(10, 10, 10, 0.28);

    background: rgba(10, 10, 10, 0.05);

    color: #0a0a0a;
}