.black-friday-section {
    position: relative;
    background: #000;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Background layer with brightness filter */
.black-friday-section {
    background-color: black;  /* fill behind the transparent areas */
}
.black-friday-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("images/IMG_8738.PNG");
    background-size: contain;   /* no crop */
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.12);
    z-index: 0;
}

/* Bring content above the darkened background */
.black-friday-section * {
    position: relative;
    z-index: 2;
}

.bf-container {
    max-width: 900px;
    margin: auto;
}

/* ====================== TITLES ======================== */
.bf-title {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.bf-subtitle {
    font-size: 1.2rem;
    color: #eee;
    margin-bottom: 40px;
}

/* ====================== OFFER ======================== */
.bf-offer {
    margin-bottom: 30px;
}

.bf-50 {
    font-size: 4rem;
    font-weight: 900;
    color: #ca0973;
    display: inline-block;
    animation: glow 1.8s infinite ease-in-out;
}

@keyframes glow {
    0% { text-shadow: 0 0 10px rgba(199, 0, 99, 0.7); }
    50% { text-shadow: 0 0 25px rgba(255, 71, 224, 0.9); }
    100% { text-shadow: 0 0 10px rgba(147, 0, 160, 0.7); }
}

.bf-text {
    font-size: 1rem;
    color: #ccc;
}

/* ====================== COUPON BOX ======================== */
.bf-coupon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: #111;
    padding: 15px 25px;
    border-radius: 12px;
    width: fit-content;
    margin: 25px auto;
    border: 1px dashed #444;
    flex-wrap: wrap; /* makes it break clean on small screens */
}

#bf-code {
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: #bd0068;
    word-break: break-word; /* avoids overflow */
}

.bf-copy-btn {
    background: #ff47f0;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
    white-space: nowrap; /* keeps button in one line */
}

.bf-copy-btn:hover {
    background: #d639bc;
}

.bf-small {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 15px;
}

/* ====================== RESPONSIVE ======================== */

/* Tablets */
@media (max-width: 768px) {
    .black-friday-section {
        padding: 60px 20px;
    }

    .bf-title {
        font-size: 2.6rem;
    }

    .bf-subtitle {
        font-size: 1rem;
    }

    .bf-50 {
        font-size: 3.2rem;
    }

    #bf-code {
        font-size: 1.3rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .black-friday-section {
        padding: 50px 15px;
    }

    .bf-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .bf-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .bf-50 {
        font-size: 2.5rem;
    }

    .bf-coupon {
        padding: 12px 16px;
        gap: 8px;
    }

    #bf-code {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .bf-copy-btn {
        padding: 7px 12px;
        font-size: 0.9rem;
    }

    .bf-small {
        font-size: 0.8rem;
    }
}
