/* ================================================
   BLACK FRIDAY EXIT POPUP - CSS
   File: blackfriday-popup.css
   ================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Roboto:wght@400;700;900&family=Oswald:wght@400;500;600;700&display=swap');

/* ================================================
   OVERLAY
   ================================================ */
.bfep-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.92);
    background: rgba(0, 0, 0, 0.38); */
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    /* backdrop-filter: blur(8px); */
    -webkit-backdrop-filter: blur(6px);
    overflow-y: auto;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.bfep-overlay.bfep-show {
    opacity: 1;
}

/* ================================================
   CONFETTI
   ================================================ */
.bfep-confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    z-index: 1000000;
    overflow: hidden;
}

.bfep-confetti {
    position: absolute;
    width: 8px;
    height: 8px;
    top: -10px;
    animation: bfepConfettiFall 4s linear infinite;
}

@keyframes bfepConfettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ================================================
   POPUP CARD
   ================================================ */
.bfep-card {
    width: 720px;
    max-width: 95%;
    background: linear-gradient(145deg, #1f1f1f 0%, #0d0d0d 100%);
    display: flex;
    box-shadow:
        0 0 0 1px rgba(255, 215, 0, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.9),
        0 0 80px rgba(193, 39, 45, 0.2);
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: all;
  z-index: 9999999;
}

.bfep-overlay.bfep-show .bfep-card {
    transform: scale(1) translateY(0);
}

/* Animated Border */
.bfep-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #c1272d, #f0d088, #c1272d, #f0d088);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: 12px;
    animation: bfepGradientBorder 3s ease infinite;
}

@keyframes bfepGradientBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ================================================
   CLOSE BUTTON
   ================================================ */
.bfep-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-family: Arial, sans-serif;
}

.bfep-close:hover {
    background: #c1272d;
    border-color: #c1272d;
    transform: rotate(90deg);
}

/* ================================================
   LEFT SIDE
   ================================================ */
.bfep-left {
    width: 42%;
    background: linear-gradient(180deg, #000 0%, #1a0a0a 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 25px 20px;
}

.bfep-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(193, 39, 45, 0.15) 0%, transparent 50%);
    animation: bfepPulseBg 4s ease-in-out infinite;
}

@keyframes bfepPulseBg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* Stripes */
.bfep-stripes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(193, 39, 45, 0.05) 20px,
        rgba(193, 39, 45, 0.05) 40px
    );
}

/* Particles */
.bfep-particle {
    position: absolute;
    background: #f0d088;
    border-radius: 50%;
    animation: bfepFloatParticle 6s ease-in-out infinite;
}

@keyframes bfepFloatParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.5); opacity: 0.8; }
}

/* Text Design */
.bfep-text-design {
    position: relative;
    z-index: 10;
    text-align: center;
}

.bfep-friday-badge {
    background: #c1272d;
    color: #fff;
    padding: 6px 18px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
    animation: bfepBadgePulse 2s ease-in-out infinite;
}

@keyframes bfepBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(193, 39, 45, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(193, 39, 45, 0); }
}

.bfep-black-text {
    font-family: 'Oswald', sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 4px 8px rgba(0, 0, 0, 0.5);
    animation: bfepTextGlow 2s ease-in-out infinite alternate;
}

@keyframes bfepTextGlow {
    0% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 4px 8px rgba(0, 0, 0, 0.5); }
    100% { text-shadow: 0 0 40px rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.5); }
}

.bfep-friday-text {
    font-family: 'Oswald', sans-serif;
    font-size: 58px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px #f0d088;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -2px;
    position: relative;
}

.bfep-friday-text::after {
    content: 'FRIDAY';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, #f0d088 0%, #c1272d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bfepFillText 3s ease-in-out infinite;
    clip-path: inset(0 100% 0 0);
}

@keyframes bfepFillText {
    0%, 100% { clip-path: inset(0 100% 0 0); }
    50% { clip-path: inset(0 0 0 0); }
}

/* Sale Circle */
.bfep-sale-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0d088 0%, #d4a84b 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 15px auto 0;
    animation: bfepRotateBadge 10s linear infinite;
    box-shadow: 0 8px 25px rgba(240, 208, 136, 0.3);
}

@keyframes bfepRotateBadge {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bfep-sale-circle .bfep-percent {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    line-height: 1;
    animation: bfepRotateBadge 10s linear infinite reverse;
}

.bfep-sale-circle .bfep-off {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    animation: bfepRotateBadge 10s linear infinite reverse;
}

/* Timer Section */
.bfep-timer-section {
    margin-top: 18px;
    text-align: center;
}

.bfep-timer-label {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    color: #c1272d;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.bfep-countdown {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.bfep-countdown-item {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid #333;
    border-radius: 6px;
    padding: 8px 10px;
    min-width: 48px;
}

.bfep-countdown-item .bfep-number {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #f0d088;
    line-height: 1;
}

.bfep-countdown-item .bfep-label {
    font-size: 8px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Roboto', sans-serif;
}

/* Expired State */
.bfep-countdown.bfep-expired .bfep-countdown-item .bfep-number {
    color: #c1272d;
    animation: bfepBlink 0.5s infinite;
}

@keyframes bfepBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ================================================
   RIGHT SIDE
   ================================================ */
.bfep-right {
    width: 58%;
    padding: 30px 25px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, rgba(30, 30, 30, 1) 0%, rgba(15, 15, 15, 1) 100%);
    position: relative;
}

.bfep-top-badge {
    background: linear-gradient(90deg, #c1272d, #ff4444);
    color: #fff;
    padding: 8px 20px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    animation: bfepShake 0.5s ease-in-out infinite;
}

@keyframes bfepShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px) rotate(-1deg); }
    75% { transform: translateX(2px) rotate(1deg); }
}

.bfep-headline {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #ddd;
}

.bfep-sep {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, #c1272d, transparent);
    margin: 5px auto 12px auto;
}

.bfep-offer {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 42px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 5px;
    background: linear-gradient(180deg, #fff 0%, #f0d088 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bfep-offer-sub {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

/* Coupon Box */
.bfep-coupon {
    border: 2px dashed #f0d088;
    background: rgba(240, 208, 136, 0.05);
    padding: 10px 15px;
    font-size: 13px;
    margin-bottom: 15px;
    width: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

.bfep-coupon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 208, 136, 0.2), transparent);
    animation: bfepShimmer 2s infinite;
}

@keyframes bfepShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.bfep-coupon-code {
    color: #f0d088;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 2px;
    font-family: 'Oswald', sans-serif;
}

.bfep-copy-btn {
    background: #f0d088;
    color: #000;
    border: none;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif;
}

.bfep-copy-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Buy Button */
.bfep-btn {
    background: linear-gradient(180deg, #c1272d 0%, #8b1a1a 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    padding: 14px 0;
    width: 100%;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    box-shadow: 0 6px 20px rgba(193, 39, 45, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.bfep-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.bfep-btn:hover::before {
    left: 100%;
}

.bfep-btn:hover {
    background: linear-gradient(180deg, #d92e35 0%, #a02020 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(193, 39, 45, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #fff;
}

.bfep-btn-icon {
    margin-right: 8px;
}

/* Order Bump */
.bfep-bump {
    margin-top: 15px;
    background: linear-gradient(135deg, #fffef5 0%, #fff9e6 100%);
    color: #333;
    border: 2px dashed #c1272d;
    padding: 12px;
    text-align: left;
    font-size: 12px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

.bfep-bump::before {
    content: ' HOT DEAL';
    position: absolute;
    top: -10px;
    right: 12px;
    background: #c1272d;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.bfep-bump-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #fef3c7, #fde68a);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid #f59e0b;
    transition: all 0.3s;
}

.bfep-bump-header:hover {
    background: linear-gradient(90deg, #fde68a, #fcd34d);
}

.bfep-bump-header input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #c1272d;
}

.bfep-bump-text {
    padding: 3px;
    color: #444;
}

.bfep-bump-text p {
    margin-bottom: 6px;
    line-height: 1.4;
}

.bfep-highlight {
    color: #c1272d;
    font-weight: bold;
    background: #fef3c7;
    padding: 2px 5px;
    border-radius: 3px;
}

.bfep-price {
    color: #16a34a;
    font-weight: 900;
    font-size: 14px;
}

.bfep-strike {
    text-decoration: line-through;
    color: #999;
    font-size: 11px;
}

/* Guarantee */
.bfep-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    color: #888;
    font-size: 11px;
    font-family: 'Roboto', sans-serif;
}

.bfep-guarantee svg {
    width: 16px;
    height: 16px;
    fill: #16a34a;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 700px) {
    .bfep-card {
        flex-direction: column;
        max-width: 380px;
    }

    .bfep-left {
        width: 100%;
        padding: 20px 15px;
    }

    .bfep-black-text {
        font-size: 38px;
    }

    .bfep-friday-text {
        font-size: 44px;
    }

    .bfep-right {
        width: 100%;
        padding: 20px 15px;
    }

    .bfep-offer {
        font-size: 32px;
    }

    .bfep-top-badge {
        font-size: 12px;
        padding: 6px 15px;
    }

    .bfep-headline {
        font-size: 16px;
    }

    .bfep-btn {
        font-size: 16px;
        padding: 12px 0;
    }

    .bfep-countdown-item {
        padding: 6px 8px;
        min-width: 42px;
    }

    .bfep-countdown-item .bfep-number {
        font-size: 18px;
    }

    .bfep-sale-circle {
        width: 65px;
        height: 65px;
    }

    .bfep-sale-circle .bfep-percent {
        font-size: 20px;
    }

    .bfep-sale-circle .bfep-off {
        font-size: 10px;
    }

    .bfep-bump-header {
        font-size: 12px;
        padding: 8px;
    }

    .bfep-bump-text {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .bfep-black-text {
        font-size: 32px;
        display: none;
    }

    .bfep-friday-text {
        font-size: 38px;
        display: none;
    }

    .bfep-offer {
        font-size: 28px;
    }

    .bfep-btn {
        font-size: 14px;
        padding: 10px 0;
    }

    .bfep-coupon {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
  .bfep-sale-circle {

    display: none;
  }
  .bfep-timer-section {
  margin-top: 0px;
  text-align: center;
  display: none;
}
#blackfriday-exit-popup{
       display: none;
}

}

