/* ==========================================================================
   BLACK FRIDAY · header, slide, intro, planes, footer, scroll reveal
   ========================================================================== */
:root {
    --bf-gold: #ffb400;
    --bf-gold-2: #ff7a00;
    --bf-glow: rgba(255, 180, 0, .28);
}

.bf-chip {
    display: inline-block;
    background: linear-gradient(90deg, var(--bf-gold), var(--bf-gold-2));
    color: #000;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    line-height: 1.3;
}

.bf-chip-sm {
    font-size: 10px;
    padding: 2px 9px;
    margin-left: 8px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.bf-topbar {
    background: linear-gradient(90deg, #1a0f00, #2e1a00 50%, #1a0f00);
    border-bottom: 1px solid rgba(255, 180, 0, .45);
    position: relative;
    z-index: 1002;
    overflow: hidden;
}

.bf-topbar-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 34px;
    padding: 9px 15px;
    white-space: nowrap;
    font-size: 13px;
    color: #e8d9b8;
}

.bf-topbar-item b {
    color: var(--bf-gold);
}

.bf-topbar-item i {
    color: var(--bf-gold);
    animation: bfPulse 1.4s ease-in-out infinite;
}

.bf-topbar-cta {
    color: #000;
    background: var(--bf-gold);
    padding: 1px 12px;
    border-radius: 20px;
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease;
}

.bf-topbar-cta:hover {
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--bf-glow);
}

@keyframes bfPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .45;
        transform: scale(1.25);
    }
}

@keyframes bfMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-60%);
    }
}

@media (max-width: 991px) {
    .bf-topbar-track {
        justify-content: flex-start;
        animation: bfMarquee 22s linear infinite;
        width: max-content;
    }
}

header:not(.smaller)>.container {
    padding-top: 6px;
}

header.smaller {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

#mainmenu>li>a.menu-item {
    position: relative;
    transition: color .3s ease;
}

#mainmenu>li>a.menu-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ff3366, var(--bf-gold));
    transition: width .3s ease, left .3s ease;
}

#mainmenu>li:hover>a.menu-item::after {
    width: 70%;
    left: 15%;
}

.menu_side_area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-bf {
    background: linear-gradient(90deg, var(--bf-gold), var(--bf-gold-2)) !important;
    color: #000 !important;
    animation: bfGlow 2.2s ease-in-out infinite;
}

.btn-bf span {
    color: #000 !important;
    font-weight: 800;
}

@keyframes bfGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 180, 0, .5);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(255, 180, 0, 0);
    }
}

@media (max-width: 1199px) {
    .btn-bf {
        display: none;
    }
}

/* ==========================================================================
   SLIDE: animaciones escalonadas
   ========================================================================== */
.swiper-slide .subtitle,
.swiper-slide .slider-title,
.swiper-slide .slider-text,
.swiper-slide .sw-price,
.swiper-slide .btn-main {
    opacity: 0;
    animation: none;
}

.swiper-slide-active .subtitle {
    animation: swUp .9s cubic-bezier(.2, .7, .2, 1) .35s both;
}

.swiper-slide-active .slider-title {
    animation: swUp .9s cubic-bezier(.2, .7, .2, 1) .55s both;
}

.swiper-slide-active .slider-text {
    animation: swUp .9s cubic-bezier(.2, .7, .2, 1) .75s both;
}

.swiper-slide-active .sw-price {
    animation: swUp .9s cubic-bezier(.2, .7, .2, 1) .95s both;
}

.swiper-slide-active .btn-main {
    animation: swUp .9s cubic-bezier(.2, .7, .2, 1) 1.15s both;
}

@keyframes swUp {
    from {
        opacity: 0;
        transform: translate3d(0, 34px, 0);
        filter: blur(6px);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

/* Ken Burns suave en el fondo del slide activo */
.swiper-slide .swiper-inner {
    transform: scale(1.08);
    transition: transform 7s ease-out;
}

.swiper-slide-active .swiper-inner {
    transform: scale(1);
}

.sw-price .d-old {
    font-size: 22px;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
    font-family: var(--body-font);
    font-weight: 500;
}

.sw-price .d-starting .bf-chip {
    margin-bottom: 8px;
}

.swiper-pagination-fraction {
    letter-spacing: 3px;
    font-weight: 700;
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro-bf-card {
    position: relative;
    padding: 34px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 180, 0, .12), rgba(255, 51, 102, .08) 60%, rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 180, 0, .4);
    box-shadow: 0 0 40px rgba(255, 180, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .08);
    overflow: hidden;
}

.intro-bf-card::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -30%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 180, 0, .3), transparent 65%);
    animation: bfFloat 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bfFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 25px);
    }
}

.intro-bf-card h3 {
    font-size: 46px;
    font-weight: 800;
    margin: 14px 0 8px;
    background: linear-gradient(90deg, #fff, var(--bf-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-bf-card h3 small {
    display: block;
    font-size: 16px;
    font-weight: 500;
    -webkit-text-fill-color: #bbb;
}

.feature-card {
    position: relative;
    height: 100%;
    padding: 28px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .09);
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .4s ease, box-shadow .4s ease, background .4s ease;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(124, 58, 237, .22), transparent 55%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, .6);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .5), 0 0 30px rgba(124, 58, 237, .18);
    background: rgba(255, 255, 255, .05);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .25), rgba(255, 51, 102, .15));
    transition: transform .5s ease;
}

.feature-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.feature-card:hover .feature-icon {
    transform: rotate(-8deg) scale(1.1);
}

.feature-card h4 {
    margin-bottom: 8px;
}

.feature-card p {
    margin: 0;
    font-size: 14.5px;
    color: #a2a2a2;
}

/* ==========================================================================
   PLANES
   ========================================================================== */
#planes-streaming .de_pricing-table {
    position: relative;
    height: 100%;
    border-radius: 22px;
    padding: 30px 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, border-color .45s ease;
    overflow: hidden;
}

#planes-streaming .de_pricing-table::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .08), transparent);
    transform: skewX(-20deg);
    transition: left .8s ease;
    pointer-events: none;
}

#planes-streaming .de_pricing-table:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 180, 0, .55);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .55), 0 0 35px rgba(255, 180, 0, .15);
}

#planes-streaming .de_pricing-table:hover::before {
    left: 140%;
}

#planes-streaming .de_pricing-table.rec {
    border: 1px solid transparent;
    background:
        linear-gradient(#0c0c14, #0c0c14) padding-box,
        linear-gradient(135deg, #2f7df9, #7c3aed, var(--bf-gold)) border-box;
}

#planes-streaming .d-head h3 {
    border-radius: 12px;
    letter-spacing: 3px;
    font-size: 18px;
}

#planes-streaming .d-price {
    text-align: left;
    margin-top: 18px;
}

#planes-streaming .d-price .bf-price {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
}

#planes-streaming .d-price .bf-price span {
    font-size: 15px;
    margin-left: 6px;
    color: #8c7cff;
    font-weight: 600;
}

#planes-streaming .d-price .bf-badge {
    background: linear-gradient(90deg, var(--bf-gold), var(--bf-gold-2));
    animation: bfBadge 2.4s ease-in-out infinite;
}

@keyframes bfBadge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

#planes-streaming .de_pricing-table:hover .d-list li {
    color: #fff;
}

#planes-streaming .de_pricing-table .btn-main {
    transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}

#planes-streaming .de_pricing-table:hover .btn-main {
    box-shadow: 0 10px 28px rgba(255, 51, 102, .4);
    filter: brightness(1.1);
}

.bf-banner {
    animation: bfBannerGlow 3s ease-in-out infinite;
}

@keyframes bfBannerGlow {

    0%,
    100% {
        box-shadow: 0 0 25px rgba(255, 180, 0, .18);
    }

    50% {
        box-shadow: 0 0 50px rgba(255, 180, 0, .4);
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.bf-footer-strip {
    background: linear-gradient(90deg, #1a0f00, #33200a 50%, #1a0f00);
    border-top: 1px solid rgba(255, 180, 0, .5);
    border-bottom: 1px solid rgba(255, 180, 0, .25);
}

.bf-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 0;
    color: #e8d9b8;
}

.bf-footer-inner strong {
    color: var(--bf-gold);
}

/* ==========================================================================
   SCROLL REVEAL (js/bf-effects.js)
   ========================================================================== */
.js-reveal .reveal {
    opacity: 0;
    transform: translate3d(0, 40px, 0) scale(.97);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--rd, 0s);
    will-change: opacity, transform;
}

.js-reveal .reveal.in-view {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .swiper-slide .swiper-inner {
        transition: none;
        transform: none;
    }

    .btn-bf,
    .bf-topbar-item i,
    .bf-banner,
    .bf-badge {
        animation: none;
    }

    .swiper-slide .subtitle,
    .swiper-slide .slider-title,
    .swiper-slide .slider-text,
    .swiper-slide .sw-price,
    .swiper-slide .btn-main {
        opacity: 1;
        animation: none !important;
    }
}

/* Menú en una sola línea */
header .header-col-mid {
    flex: 1 1 auto;
}

#mainmenu {
    white-space: nowrap;
}

#mainmenu>li {
    margin-right: 30px;
}

.bf-footer-strip .btn-main span {
    color: #fff;
}

.sw-price .d-starting {
    text-align: right;
}