/* ============================================================
   betside-promo-atletico-barca.css — [betside_promo_atletico_barca]
   Barwy Barcelony — niebieski #004D98 | granat #A50044 | złoty #EDBB00
   Font: Outfit (Google Fonts)
   ============================================================ */

/* ── Elementor isolation ──────────────────────────────────── */
.elementor-widget-shortcode .bpab-wrap {
    width: 100% !important;
    max-width: 100% !important;
}
.elementor-widget-shortcode > .elementor-widget-container,
.elementor-widget-shortcode .elementor-shortcode {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ── Reset ────────────────────────────────────────────────── */
.bpab-wrap,
.bpab-wrap * {
    box-sizing: border-box !important;
    font-family: 'Outfit', system-ui, -apple-system, sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
}
.bpab-wrap a,
.bpab-wrap a:link,
.bpab-wrap a:visited,
.bpab-wrap a:active {
    text-decoration: none !important;
    color: inherit !important;
    background-image: none !important;
}
.bpab-wrap img {
    max-width: 100% !important;
    height: auto !important;
}

/* ── ROOT ─────────────────────────────────────────────────── */
.bpab-wrap {
    max-width: 780px !important;
    margin: 0 auto !important;
}

/* ── BARCELONA STRIPE ─────────────────────────────────────── */
.bpab-flag-stripe {
    display: flex !important;
    flex-direction: row !important;
    height: 8px !important;
    overflow: hidden !important;
    border-radius: 18px 18px 0 0 !important;
}
.bpab-stripe-blue  { flex: 1 !important; background: #004D98 !important; }
.bpab-stripe-garnet { flex: 1 !important; background: #A50044 !important; }

/* ── HERO ─────────────────────────────────────────────────── */
.bpab-hero {
    background-color: #003875 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
    position: relative !important;
    box-shadow:
        0 8px 40px rgba(0,77,152,.45),
        0 2px 12px rgba(0,0,0,.25) !important;
}
/* Blue gradient overlay */
.bpab-hero::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        160deg,
        rgba(0,55,117,.97) 0%,
        rgba(0,77,152,.92) 40%,
        rgba(0,44,96,.97) 70%,
        rgba(165,0,68,.25) 100%
    ) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}
/* Subtle diagonal stripes */
.bpab-hero::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 28px,
            rgba(255,255,255,.03) 28px,
            rgba(255,255,255,.03) 56px
        ) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.bpab-hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 40px 32px 36px !important;
    position: relative !important;
    z-index: 1 !important;
}

/* ── LOGO ─────────────────────────────────────────────────── */
.bpab-logo {
    display: block !important;
    height: 22px !important;
    max-height: 22px !important;
    width: auto !important;
    margin-bottom: 20px !important;
    filter: brightness(0) invert(1) !important;
    opacity: .75 !important;
}

/* ── TEXT HIERARCHY ────────────────────────────────────────── */
.bpab-hero-pre {
    font-size: clamp(14px, 2vw, 17px) !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,.85) !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
}
.bpab-hero-amount {
    font-size: clamp(72px, 14vw, 120px) !important;
    font-weight: 900 !important;
    color: #EDBB00 !important;
    line-height: .9 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 6px !important;
    text-shadow:
        0 4px 30px rgba(0,0,0,.35),
        0 0 60px rgba(237,187,0,.2) !important;
}
.bpab-hero-desc {
    font-size: clamp(22px, 4vw, 34px) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    margin-bottom: 4px !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.35) !important;
}
.bpab-hero-match {
    font-size: clamp(13px, 2vw, 16px) !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,.65) !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    margin-bottom: 28px !important;
}

/* ── CTA BUTTON ───────────────────────────────────────────── */
.bpab-wrap .bpab-hero-btn,
.bpab-wrap a.bpab-hero-btn,
a.bpab-hero-btn,
.elementor-widget-shortcode a.bpab-hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #EDBB00 !important;
    background-image: none !important;
    color: #002855 !important;
    border-radius: 60px !important;
    padding: 20px 56px !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-shadow: none !important;
    border: none !important;
    outline: none !important;
    box-shadow:
        0 6px 30px rgba(0,0,0,.3),
        0 0 0 4px rgba(237,187,0,.25) !important;
    cursor: pointer !important;
    transition: all .25s cubic-bezier(.4,0,.2,1) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    position: relative !important;
    z-index: 2 !important;
}
.bpab-wrap .bpab-hero-btn:hover,
.bpab-wrap a.bpab-hero-btn:hover,
a.bpab-hero-btn:hover,
.elementor-widget-shortcode a.bpab-hero-btn:hover {
    background: #ffffff !important;
    background-image: none !important;
    color: #004D98 !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow:
        0 10px 40px rgba(0,0,0,.3),
        0 0 0 4px rgba(255,255,255,.25) !important;
    text-decoration: none !important;
}
.bpab-wrap .bpab-hero-btn:visited,
.bpab-wrap a.bpab-hero-btn:visited,
a.bpab-hero-btn:visited {
    color: #002855 !important;
    text-decoration: none !important;
}

.bpab-hero-code {
    font-size: 14px !important;
    color: rgba(255,255,255,.6) !important;
    margin-top: 14px !important;
    font-weight: 400 !important;
}
.bpab-hero-code strong {
    color: #EDBB00 !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    letter-spacing: .08em !important;
}

/* ── 3 STEPS ──────────────────────────────────────────────── */
.bpab-steps {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    position: relative !important;
    z-index: 1 !important;
    background: rgba(0,0,0,.3) !important;
    border-top: 2px solid rgba(255,255,255,.1) !important;
}
.bpab-step {
    padding: 28px 20px !important;
    text-align: center !important;
    border-right: 1px solid rgba(255,255,255,.1) !important;
    position: relative !important;
}
.bpab-step:last-child {
    border-right: none !important;
}
.bpab-step-num {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: #EDBB00 !important;
    color: #002855 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    border-radius: 50% !important;
    margin-bottom: 12px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.25) !important;
}
.bpab-step-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
    letter-spacing: .02em !important;
}
.bpab-step-desc {
    font-size: 12px !important;
    color: rgba(255,255,255,.55) !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}

/* ── SEPARATOR ────────────────────────────────────────────── */
.bpab-separator {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 8px 0 !important;
}
.bpab-separator-icon {
    font-size: 28px !important;
    line-height: 1 !important;
}

/* ── INNE PROMOCJE ───────────────────────────────────────── */
.bpab-also {
    margin-top: 0 !important;
}
.bpab-also-heading {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #004D98 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.01em !important;
}

/* Big ranking card */
.bpab-also-card {
    background: #ffffff !important;
    border: 2px solid #004D98 !important;
    border-radius: 16px !important;
    padding: 28px 24px !important;
    display: grid !important;
    grid-template-columns: auto auto 1fr auto !important;
    align-items: center !important;
    gap: 20px !important;
    transition: border-color .2s, box-shadow .3s !important;
    box-shadow: 0 4px 20px rgba(0,77,152,.12) !important;
    margin-bottom: 16px !important;
}
.bpab-also-card:hover {
    border-color: #003875 !important;
    box-shadow: 0 8px 30px rgba(0,77,152,.22) !important;
}

/* Rank badge */
.bpab-also-rank {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    flex-shrink: 0 !important;
    background: #004D98 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    min-width: 52px !important;
}
.bpab-also-rank-label {
    font-size: 8px !important;
    font-weight: 700 !important;
    color: rgba(255,255,255,.7) !important;
    text-transform: uppercase !important;
    letter-spacing: .1em !important;
}
.bpab-also-rank-num {
    font-size: 30px !important;
    font-weight: 900 !important;
    color: #EDBB00 !important;
    line-height: 1 !important;
}

/* Logo */
.bpab-also-logo {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
    border: 1px solid #eee !important;
}

/* Content */
.bpab-also-content {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.bpab-also-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    line-height: 1.25 !important;
}
.bpab-also-list {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}
.bpab-also-list li {
    font-size: 14px !important;
    color: #555 !important;
    line-height: 1.5 !important;
}
.bpab-also-list li strong {
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

/* CTA button — card */
.bpab-wrap .bpab-also-btn,
.bpab-wrap a.bpab-also-btn,
a.bpab-also-btn,
.elementor-widget-shortcode a.bpab-also-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #004D98 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-radius: 60px !important;
    padding: 16px 36px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    text-decoration: none !important;
    text-shadow: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 16px rgba(0,77,152,.3) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: all .25s cubic-bezier(.4,0,.2,1) !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}
.bpab-wrap .bpab-also-btn:hover,
.bpab-wrap a.bpab-also-btn:hover,
a.bpab-also-btn:hover,
.elementor-widget-shortcode a.bpab-also-btn:hover {
    background: #EDBB00 !important;
    background-image: none !important;
    color: #002855 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(237,187,0,.4) !important;
    text-decoration: none !important;
}
.bpab-wrap .bpab-also-btn:visited,
.bpab-wrap a.bpab-also-btn:visited,
a.bpab-also-btn:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ── BOTTOM CTA ───────────────────────────────────────────── */
.bpab-bottom-cta {
    margin-top: 28px !important;
    background: linear-gradient(135deg, #004D98, #002855) !important;
    border-radius: 16px !important;
    padding: 32px !important;
    text-align: center !important;
    box-shadow: 0 6px 30px rgba(0,77,152,.3) !important;
}
.bpab-bottom-text {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,.85) !important;
    margin-bottom: 18px !important;
    letter-spacing: .02em !important;
}
.bpab-wrap .bpab-bottom-btn,
.bpab-wrap a.bpab-bottom-btn,
a.bpab-bottom-btn,
.elementor-widget-shortcode a.bpab-bottom-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #EDBB00 !important;
    background-image: none !important;
    color: #002855 !important;
    border-radius: 60px !important;
    padding: 18px 48px !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    text-decoration: none !important;
    text-shadow: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,.2) !important;
    cursor: pointer !important;
    transition: all .25s cubic-bezier(.4,0,.2,1) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}
.bpab-wrap .bpab-bottom-btn:hover,
.bpab-wrap a.bpab-bottom-btn:hover,
a.bpab-bottom-btn:hover,
.elementor-widget-shortcode a.bpab-bottom-btn:hover {
    background: #ffffff !important;
    background-image: none !important;
    color: #004D98 !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.25) !important;
    text-decoration: none !important;
}
.bpab-wrap .bpab-bottom-btn:visited,
.bpab-wrap a.bpab-bottom-btn:visited,
a.bpab-bottom-btn:visited {
    color: #002855 !important;
    text-decoration: none !important;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .bpab-also-card {
        grid-template-columns: auto auto 1fr !important;
        gap: 16px !important;
    }
    .bpab-wrap .bpab-also-btn,
    .bpab-wrap a.bpab-also-btn {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .bpab-hero-content {
        padding: 28px 20px 28px !important;
    }
    .bpab-hero-amount {
        font-size: clamp(60px, 16vw, 90px) !important;
    }
    .bpab-steps {
        grid-template-columns: 1fr !important;
    }
    .bpab-step {
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,.1) !important;
        padding: 20px 20px !important;
    }
    .bpab-step:last-child {
        border-bottom: none !important;
    }
    .bpab-wrap .bpab-hero-btn,
    .bpab-wrap a.bpab-hero-btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 18px 32px !important;
    }
    .bpab-also-card {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        justify-items: center !important;
        gap: 14px !important;
    }
    .bpab-also-rank {
        flex-direction: row !important;
        gap: 8px !important;
        padding: 8px 16px !important;
    }
    .bpab-also-list {
        text-align: left !important;
    }
    .bpab-also-heading {
        font-size: 20px !important;
    }
    .bpab-wrap .bpab-bottom-btn,
    .bpab-wrap a.bpab-bottom-btn {
        width: 100% !important;
        padding: 16px 32px !important;
    }
    .bpab-bottom-cta {
        padding: 24px 20px !important;
    }
}

@media (max-width: 420px) {
    .bpab-hero-content {
        padding: 24px 16px 24px !important;
    }
    .bpab-hero-pre {
        font-size: 12px !important;
    }
    .bpab-hero-match {
        font-size: 12px !important;
    }
    .bpab-logo {
        height: 18px !important;
        max-height: 18px !important;
        margin-bottom: 14px !important;
    }
}
