/* ==========================================================================
   Black Friday landing page (resources/views/landingpages/black-friday.blade.php)
   Same campaign look as the "BE PREPARED" homepage hero:
   yellow + purple + kraft tape, on a black Black Friday base.
   All classes start with "bfl-" so nothing clashes with the site styles.
   ========================================================================== */

.bfl {
    --bfl-black: #0e0d12;
    --bfl-yellow: #f6bc16;
    --bfl-purple: #4a2c8c;
    --bfl-purple-light: #9b7ae0;
    --bfl-teal: #5fbdb6;
    --bfl-kraft: #c99d66;
    --bfl-display: 'Commissioner', 'Manrope', sans-serif;
    --bfl-mono: 'Fira Code', ui-monospace, monospace;

    overflow: hidden;
    font-family: 'Manrope', sans-serif;
}

.bfl-container {
    width: min(1140px, 100% - 40px);
    margin: 0 auto;
}

.bfl-mono {
    font-family: var(--bfl-mono);
}

/* Buttons used across the page */
.bfl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.bfl-btn:hover {
    transform: translateY(-2px);
}

.bfl-btn--yellow {
    background: var(--bfl-yellow);
    color: var(--bfl-black);
}

.bfl-btn--yellow:hover {
    background: #ffd04a;
    color: var(--bfl-black);
}

.bfl-btn--ghost {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.bfl-btn--ghost:hover {
    border-color: #fff;
    color: #fff;
}

.bfl-btn--purple {
    background: var(--bfl-purple);
    color: #fff;
}

.bfl-btn--purple:hover {
    background: #3a2170;
    color: #fff;
}

/* Kraft tape strip with the campaign text printed on it */
.bfl-tape {
    position: relative;
    z-index: 2;
    width: 110%;
    margin-left: -5%;
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 35%, transparent 65%, rgba(0, 0, 0, 0.15)),
        var(--bfl-kraft);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transform: rotate(-2deg);
    font-family: var(--bfl-display);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 0.06em;
    color: var(--bfl-purple);
}

/* The text slides slowly, like tape coming off the roll */
.bfl-tape__track {
    display: inline-block;
    animation: bflTape 40s linear infinite;
}

@keyframes bflTape {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.bfl-hero {
    position: relative;
    padding: 70px 0 110px;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(74, 44, 140, 0.55), transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(246, 188, 22, 0.12), transparent 50%),
        var(--bfl-black);
    color: #fff;
    text-align: center;
}

.bfl-hero__date {
    display: inline-block;
    margin-bottom: 24px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--bfl-yellow);
}

.bfl-hero__title {
    margin: 0;
    font-family: var(--bfl-display);
    font-weight: 900;
    font-size: clamp(3.4rem, 12vw, 9.5rem);
    line-height: 0.88;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--bfl-yellow);
}

/* Second word in outline, for contrast */
.bfl-hero__title span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 3px var(--bfl-yellow);
}

.bfl-hero__upto {
    display: inline-block;
    margin: 28px 0 0;
    padding: 10px 22px;
    background: var(--bfl-purple);
    font-family: var(--bfl-display);
    font-weight: 900;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    color: #fff;
    transform: rotate(-2deg);
}

.bfl-hero__text {
    max-width: 620px;
    margin: 28px auto 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* Countdown */
.bfl-countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 36px 0 0;
}

/* "display: flex" above would beat the hidden attribute, so hide it explicitly */
.bfl-countdown[hidden] {
    display: none;
}

.bfl-countdown__box {
    min-width: 86px;
    padding: 14px 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
}

.bfl-countdown__num {
    display: block;
    font-family: var(--bfl-display);
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.bfl-countdown__label {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.bfl-countdown__live {
    margin: 36px 0 0;
    font-family: var(--bfl-display);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--bfl-yellow);
}

.bfl-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}

/* --------------------------------------------------------------------------
   2. Offers
   -------------------------------------------------------------------------- */
.bfl-offers {
    padding: 90px 0 100px;
    background: var(--bfl-yellow);
}

.bfl-section-title {
    margin: 0 0 10px;
    font-family: var(--bfl-display);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1;
    text-transform: uppercase;
    color: var(--bfl-purple);
}

.bfl-section-text {
    max-width: 560px;
    margin: 0 0 44px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #2b2140;
}

.bfl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 26px;
}

.bfl-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: #fff;
    color: #1a1a1a;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(74, 44, 140, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bfl-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: 0 24px 44px rgba(74, 44, 140, 0.25);
    color: #1a1a1a;
}

/* Round discount sticker on the corner */
.bfl-card__sale {
    position: absolute;
    top: -14px;
    right: -10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--bfl-black);
    font-family: var(--bfl-display);
    font-weight: 900;
    font-size: 1.35rem;
    color: var(--bfl-yellow);
    transform: rotate(10deg);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.bfl-card__image {
    aspect-ratio: 1;
    padding: 10%;
    border-radius: 18px 18px 0 0;
    background: #fff;
    overflow: hidden;
}

.bfl-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.bfl-card:hover .bfl-card__image img {
    transform: scale(1.06);
}

.bfl-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 18px 20px 22px;
    border-top: 1px solid #f0f0f0;
}

.bfl-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.bfl-card__price {
    margin-top: auto;
    font-size: 0.85rem;
    color: #6b7280;
}

.bfl-card__price strong {
    font-size: 1.15rem;
    color: var(--bfl-purple);
}

.bfl-card__cta {
    margin-top: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--bfl-purple);
}

.bfl-offers__more {
    margin-top: 44px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   3. Bundles (reuses the homepage bundles block)
   -------------------------------------------------------------------------- */
.bfl-bundles {
    padding: 90px 0 70px;
    background: #fff;
}

/* --------------------------------------------------------------------------
   4. Why order now
   -------------------------------------------------------------------------- */
.bfl-why {
    padding: 90px 0;
    background: var(--bfl-teal);
}

.bfl-why .bfl-section-title {
    color: #fff;
}

.bfl-why .bfl-section-text {
    color: #0f3b38;
}

.bfl-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bfl-why__item {
    padding: 28px 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
}

.bfl-why__num {
    display: block;
    margin-bottom: 14px;
    font-family: var(--bfl-display);
    font-weight: 900;
    font-size: 3rem;
    line-height: 1;
    color: var(--bfl-yellow);
    -webkit-text-stroke: 2px var(--bfl-purple);
    paint-order: stroke fill;
}

.bfl-why__item h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1a1a;
}

.bfl-why__item p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4b5563;
}

/* --------------------------------------------------------------------------
   5. Final call to action
   -------------------------------------------------------------------------- */
.bfl-final {
    padding: 100px 0;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(74, 44, 140, 0.7), transparent 60%),
        var(--bfl-black);
    color: #fff;
    text-align: center;
}

.bfl-final__title {
    margin: 0 0 16px;
    font-family: var(--bfl-display);
    font-weight: 900;
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    line-height: 1;
    text-transform: uppercase;
    color: var(--bfl-yellow);
}

.bfl-final__text {
    max-width: 540px;
    margin: 0 auto 34px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   Load animation and accessibility
   -------------------------------------------------------------------------- */
.bfl-reveal {
    animation: bflReveal 0.8s cubic-bezier(.2, .8, .2, 1) both;
}

.bfl-reveal--2 { animation-delay: 0.15s; }
.bfl-reveal--3 { animation-delay: 0.3s; }
.bfl-reveal--4 { animation-delay: 0.45s; }

@keyframes bflReveal {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .bfl *,
    .bfl *::before,
    .bfl *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .bfl-hero {
        padding: 50px 0 80px;
    }

    .bfl-hero__title span {
        -webkit-text-stroke-width: 2px;
    }

    .bfl-countdown {
        gap: 8px;
    }

    .bfl-countdown__box {
        min-width: 70px;
        padding: 12px 6px 8px;
    }

    .bfl-countdown__num {
        font-size: 1.8rem;
    }

    .bfl-tape {
        font-size: 1.05rem;
        padding: 10px 0;
    }

    .bfl-offers,
    .bfl-bundles,
    .bfl-why,
    .bfl-final {
        padding: 64px 0;
    }

    .bfl-why__grid {
        grid-template-columns: 1fr;
    }

    .bfl-btn {
        width: 100%;
    }
}
