/* ==========================================================================
   Bully Pedex Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
    --bp-primary:        #9382FF;
    --bp-primary-hover:  #A89AFF;
    --bp-primary-dark:   #7560F0;
    --bp-accent:         #C6BEF8;
    --bp-accent-soft:    rgba(198, 190, 248, 0.12);

    --bp-bg:             #0A0511;
    --bp-bg-elevated:    #14091F;
    --bp-surface:        #1A1428;
    --bp-surface-hover:  #221A33;
    --bp-border:         rgba(147, 130, 255, 0.18);
    --bp-border-strong:  rgba(147, 130, 255, 0.38);

    --bp-text:           #FFFFFF;
    --bp-text-muted:     #B4ADCC;
    --bp-text-dim:       #6E6685;

    --bp-grad-primary:   linear-gradient(135deg, #9382FF 0%, #B5A6FF 100%);
    --bp-grad-hero:      radial-gradient(ellipse 80% 90% at 80% 40%,
                            rgba(147, 130, 255, 0.28) 0%,
                            rgba(10, 5, 17, 0) 65%),
                         #0A0511;

    --bp-radius-sm:      8px;
    --bp-radius:         14px;
    --bp-radius-lg:      20px;
    --bp-shadow-glow:    0 8px 32px rgba(147, 130, 255, 0.25);

}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    background: var(--bp-bg) !important;
    color: var(--bp-text) !important;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--bp-accent); text-decoration: none; }
a:hover { color: var(--bp-primary-hover); }

#main.bg-white,
main#main {
    background: var(--bp-bg) !important;
    min-height: 100dvh;
}

/* ---------- Hero stats ---------- */
.bp-hero__stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.bp-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bp-stat__num {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--bp-text);
    letter-spacing: -0.02em;
    line-height: 1;
}

.bp-stat__label {
    font-size: 0.72rem;
    color: var(--bp-text-dim);
    font-weight: 500;
}

.bp-stat__divider {
    width: 1px;
    height: 36px;
    background: var(--bp-border);
    flex-shrink: 0;
}

/* ---------- Breed pills ---------- */
.bp-breed-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 1rem 0 0.25rem;
    scrollbar-width: none;
}
.bp-breed-pills::-webkit-scrollbar { display: none; }

.bp-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--bp-border);
    background: var(--bp-surface);
    color: var(--bp-text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    text-decoration: none;
    flex-shrink: 0;
}

.bp-pill:hover,
.bp-pill--active {
    border-color: var(--bp-primary);
    color: var(--bp-primary);
    background: var(--bp-accent-soft);
}

/* ---------- Browse by breed circles ---------- */
.bp-breed-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 4px 0 12px;
    scrollbar-width: none;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}
.bp-breed-scroll::-webkit-scrollbar { display: none; }

.bp-breed-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    text-decoration: none;
}

.bp-breed-circle__img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--bp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, transform 0.15s;
}

.bp-breed-circle:hover .bp-breed-circle__img {
    border-color: var(--bp-primary);
    transform: translateY(-2px);
}

.bp-breed-circle span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bp-text-muted);
    text-align: center;
    max-width: 80px;
    line-height: 1.3;
}

/* ---------- Top Verified Breeders ---------- */
.bp-sellers-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0 12px;
    scrollbar-width: none;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}
.bp-sellers-scroll::-webkit-scrollbar { display: none; }

.bp-seller-card {
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-lg);
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 160px;
    max-width: 160px;
    flex-shrink: 0;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.bp-seller-card:hover {
    border-color: var(--bp-border-strong);
    box-shadow: var(--bp-shadow-glow);
    transform: translateY(-2px);
}

.bp-seller-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bp-surface-hover);
    border: 2px solid var(--bp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bp-seller-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-seller-card__verified {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--bp-primary);
}

.bp-seller-card__name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bp-text);
    text-align: center;
    line-height: 1.3;
}

.bp-seller-card__meta {
    font-size: 0.72rem;
    color: var(--bp-text-dim);
}

.bp-seller-card__btn {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.45rem 1rem;
    border: 1px solid var(--bp-primary);
    border-radius: var(--bp-radius-sm);
    color: var(--bp-primary);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    text-align: center;
    width: 100%;
}

.bp-seller-card__btn:hover {
    background: var(--bp-primary);
    color: #fff;
}

/* ---------- How It Works ---------- */
.bp-how {
    margin: 2rem 0;
}

.bp-how__steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.bp-how__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-lg);
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bp-how__step:hover {
    border-color: var(--bp-border-strong);
    box-shadow: var(--bp-shadow-glow);
}

.bp-how__connector {
    width: 2rem;
    height: 2px;
    background: var(--bp-border);
    flex-shrink: 0;
    margin-top: 3.5rem;
    position: relative;
}

.bp-how__connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--bp-border);
    border-right: 2px solid var(--bp-border);
    transform: rotate(45deg);
}

.bp-how__num {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--bp-grad-primary);
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-how__icon {
    color: var(--bp-primary);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.bp-how__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bp-text);
    margin-bottom: 0.4rem;
}

.bp-how__desc {
    font-size: 0.78rem;
    color: var(--bp-text-dim);
    line-height: 1.5;
}

@media (max-width: 640px) {
    .bp-how__steps {
        flex-direction: column;
        gap: 1rem;
    }
    .bp-how__connector {
        width: 2px;
        height: 1.5rem;
        margin-top: 0;
        align-self: center;
    }
    .bp-how__connector::after {
        right: -4px;
        top: auto;
        bottom: -4px;
        transform: rotate(135deg);
    }
}

/* ---------- CTA Banner ---------- */
.bp-cta-banner {
    background: linear-gradient(135deg, var(--bp-bg-elevated) 0%, rgba(147, 130, 255, 0.1) 100%);
    border: 1px solid var(--bp-border-strong);
    border-radius: var(--bp-radius-lg);
    padding: 2.5rem 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.bp-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 80% 50%, rgba(147, 130, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.bp-cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
}

.bp-cta-banner h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--bp-text);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.bp-cta-banner p {
    color: var(--bp-text-muted);
    font-size: 0.9rem;
}

.bp-cta-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ---------- Hero ---------- */
.bp-hero {
    background: var(--bp-bg);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.bp-hero__banner {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 480px) {
    .bp-hero__banner {
        min-height: 220px;
        object-fit: cover;
        object-position: center;
    }
}

/* ---------- Buttons ---------- */
.bp-btn-primary {
    background: var(--bp-grad-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--bp-radius);
    padding: 0.8rem 1.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--bp-shadow-glow);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.bp-btn-primary:hover {
    color: #fff !important;
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 12px 36px rgba(147, 130, 255, 0.45);
}

.bp-btn-outline {
    background: transparent;
    color: var(--bp-text) !important;
    border: 1.5px solid rgba(147, 130, 255, 0.5) !important;
    border-radius: var(--bp-radius);
    padding: 0.8rem 1.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: background 0.15s, border-color 0.15s;
    text-decoration: none;
}

.bp-btn-outline:hover {
    background: var(--bp-accent-soft);
    border-color: var(--bp-primary) !important;
    color: var(--bp-text) !important;
}

.bp-btn-stud {
    background: linear-gradient(135deg, #FF6B35 0%, #FF9A6C 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--bp-radius);
    padding: 0.8rem 1.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.bp-btn-stud:hover {
    color: #fff !important;
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 12px 36px rgba(255, 107, 53, 0.45);
}

/* ---------- Page body container ---------- */
.bp-page-body {
    padding-top: 1.25rem;
}

/* ---------- Search ---------- */
.bp-search {
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: border-color 0.15s;
}

.bp-search:focus-within {
    border-color: var(--bp-primary);
    box-shadow: 0 0 0 3px rgba(147, 130, 255, 0.15);
}

.bp-search input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--bp-text);
    width: 100%;
    font-size: 0.9rem;
    font-family: inherit;
}

.bp-search input::placeholder { color: var(--bp-text-dim); }

.bp-search__filter {
    background: none;
    border: none;
    color: var(--bp-accent);
    cursor: pointer;
    padding: 0;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

/* ---------- Section heading ---------- */
.bp-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.75rem 0 1rem;
}

.bp-section-title h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--bp-text);
    letter-spacing: -0.01em;
}

.bp-section-title a {
    color: var(--bp-primary);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

/* ---------- Horizontal scroll cards ---------- */
.bp-cards-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.bp-cards-scroll::-webkit-scrollbar { display: none; }

/* ---------- Product card ---------- */
.bp-product-card {
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
    min-width: 260px;
    max-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.bp-product-card a,
.bp-product-card > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.bp-product-card:hover {
    transform: translateY(-3px);
    border-color: var(--bp-border-strong);
    box-shadow: var(--bp-shadow-glow);
}

.bp-product-card .image-wrap {
    position: relative;
    width: 90px;
    min-width: 90px;
    height: 90px;
    overflow: hidden;
    background: var(--bp-surface-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bp-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: var(--bp-grad-primary);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.28rem 0.55rem;
    border-radius: var(--bp-radius-sm);
    text-transform: uppercase;
    z-index: 1;
}

.bp-badge--new {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.bp-favorite {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 30px;
    height: 30px;
    background: rgba(10, 5, 17, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    cursor: pointer;
    z-index: 1;
    transition: color 0.15s, background 0.15s;
}

.bp-favorite:hover {
    color: var(--bp-primary);
    background: rgba(10, 5, 17, 0.8);
}

.bp-placeholder-paw {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-product-card .info {
    padding: 0.65rem 0.75rem;
    flex: 1;
    min-width: 0;
}

.bp-product-card .name {
    color: var(--bp-text);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.bp-product-card .meta {
    color: var(--bp-text-dim);
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.4;
}

.bp-product-card .price {
    color: var(--bp-primary);
    font-size: 0.95rem;
    font-weight: 800;
    margin-top: 0.3rem;
}

/* ---------- Stud section accents ---------- */
.bp-section-title--studs h2 { color: #FF9A6C; }
.bp-section-title--studs a { color: #FF6B35; }

.bp-cards-scroll--studs .bp-product-card--stud {
    border-color: rgba(255, 107, 53, 0.2);
}
.bp-cards-scroll--studs .bp-product-card--stud:hover {
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
}
.bp-product-card--stud .stud-price { color: #FF6B35; }

.bp-stud-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: linear-gradient(135deg, #FF6B35, #FF9A6C);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    text-transform: uppercase;
    z-index: 1;
}

.bp-stud-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.08);
}

/* ---------- Trust strip ---------- */
.bp-trust {
    background: var(--bp-surface);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-lg);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.bp-trust__item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.bp-trust__icon {
    color: var(--bp-primary);
    flex-shrink: 0;
    margin-top: 1px;
}

.bp-trust__title {
    color: var(--bp-primary);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.bp-trust__desc {
    color: var(--bp-text-dim);
    font-size: 0.72rem;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .bp-trust {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* ---------- Footer ---------- */
footer {
    background: var(--bp-bg-elevated) !important;
    border-top: 1px solid var(--bp-border) !important;
    margin-top: 0 !important;
}

/* All hardcoded light-orange/cream backgrounds */
footer .bg-lightOrange,
footer [class*="bg-[#F1EADF]"],
footer [class*="bg-[#f1eadf]"] {
    background: var(--bp-surface) !important;
}

/* Copyright bar */
footer > div:last-of-type {
    background: var(--bp-bg) !important;
    border-top: 1px solid var(--bp-border) !important;
}

/* Footer links */
footer a {
    color: var(--bp-text-muted) !important;
    transition: color 0.15s;
}
footer a:hover {
    color: var(--bp-primary) !important;
}

/* Footer text */
footer p,
footer li,
footer span {
    color: var(--bp-text-muted) !important;
}

/* Newsletter heading */
footer .text-navyBlue,
footer [class*="text-navyBlue"] {
    color: var(--bp-text) !important;
}

/* Newsletter input */
footer input[type="email"],
footer [class*="border-[#e9decc]"],
footer [class*="!border-[#e9decc]"] {
    background: var(--bp-surface) !important;
    border-color: var(--bp-border) !important;
    color: var(--bp-text) !important;
    border-width: 1px !important;
}

/* Newsletter subscribe button */
footer button[type="submit"] {
    background: var(--bp-grad-primary) !important;
    color: #fff !important;
    border: none !important;
}
footer button[type="submit"]:hover {
    filter: brightness(1.08) !important;
}

/* Accordion (mobile footer) */
footer .rounded-xl[class*="border"] {
    background: var(--bp-surface) !important;
    border-color: var(--bp-border) !important;
}

/* Copyright text */
footer .text-zinc-600 {
    color: var(--bp-text-dim) !important;
}

/* ---------- Form inputs ---------- */
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="search"], textarea, select {
    background: var(--bp-surface) !important;
    border: 1px solid var(--bp-border) !important;
    color: var(--bp-text) !important;
    border-radius: var(--bp-radius-sm);
    font-family: inherit;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--bp-primary) !important;
    box-shadow: 0 0 0 3px rgba(147, 130, 255, 0.2) !important;
    outline: none !important;
}

/* ---------- Header: dark theme ---------- */
header.shadow-gray,
header.shadow-gray .bg-white {
    background-color: var(--bp-bg) !important;
    border-bottom: 1px solid var(--bp-border) !important;
    box-shadow: none !important;
}

header.shadow-gray * {
    border-color: var(--bp-border) !important;
}

/* Nav links & text */
header.shadow-gray a,
header.shadow-gray button,
header.shadow-gray span:not(.shimmer) {
    color: var(--bp-text-muted) !important;
}

header.shadow-gray a:hover {
    color: var(--bp-primary) !important;
}

/* Search input inside header */
header.shadow-gray input {
    background: var(--bp-surface) !important;
    color: var(--bp-text) !important;
    border-color: var(--bp-border) !important;
}

header.shadow-gray input::placeholder {
    color: var(--bp-text-dim) !important;
}

/* Header dropdown menus */
header.shadow-gray .bg-white,
header.shadow-gray [class*="bg-white"] {
    background-color: var(--bp-bg-elevated) !important;
}

/* Logo text */
header.shadow-gray .logo,
header.shadow-gray img.logo { filter: brightness(2) !important; }

/* ---------- Tailwind overrides â€” main content only ---------- */
main#main .bg-white { background-color: var(--bp-surface) !important; }
main#main .bg-gray-50,
main#main .bg-gray-100 { background-color: var(--bp-bg-elevated) !important; }
main#main .text-gray-800,
main#main .text-gray-900 { color: var(--bp-text) !important; }
main#main .text-gray-600,
main#main .text-gray-500,
main#main .text-gray-400 { color: var(--bp-text-muted) !important; }
main#main .border-gray-200,
main#main .border-gray-300 { border-color: var(--bp-border) !important; }

/* ===== Top Navigation Bar ===== */
.bp-top-nav{background:#14091F;border-bottom:1px solid rgba(147,130,255,.15);position:sticky;top:0;z-index:90}
.bp-top-nav__inner{display:flex;align-items:center;gap:0;max-width:1200px;margin:0 auto;padding:0 2rem;overflow-x:auto;scrollbar-width:none}
.bp-top-nav__inner::-webkit-scrollbar{display:none}
.bp-top-nav__item{display:flex;align-items:center;gap:.4rem;padding:.75rem 1.1rem;color:#B4ADCC;text-decoration:none;font-size:.875rem;font-weight:500;white-space:nowrap;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.bp-top-nav__item:hover,.bp-top-nav__item.active{color:#fff;border-bottom-color:#9382FF}
.bp-top-nav__item--highlighted{color:#FF9A6C}
.bp-top-nav__item--highlighted:hover,.bp-top-nav__item--highlighted.active{color:#FF6B35;border-bottom-color:#FF6B35}
.bp-top-nav__icon{display:flex;align-items:center;line-height:1}
.bp-top-nav__label{line-height:1}
@media(max-width:639px){.bp-top-nav{display:none}}

/* ===== Mobile Bottom Navigation ===== */
.bp-mobile-nav{display:none;position:fixed;bottom:0;left:0;right:0;z-index:200;background:#14091F;border-top:1px solid rgba(147,130,255,.2);padding:.5rem 0 env(safe-area-inset-bottom,.5rem);justify-content:space-around;align-items:center}
@media(max-width:639px){.bp-mobile-nav{display:flex}body{padding-bottom:calc(60px + env(safe-area-inset-bottom,0px))}}
.bp-mobile-nav__item{display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:.35rem .6rem;color:#6E6685;text-decoration:none;flex:1;min-width:0;transition:color .2s}
.bp-mobile-nav__item.active,.bp-mobile-nav__item:hover{color:#9382FF}
.bp-mobile-nav__item--studs.active,.bp-mobile-nav__item--studs:hover{color:#FF6B35}
.bp-mobile-nav__icon{display:flex;align-items:center;justify-content:center;line-height:1}
.bp-mobile-nav__label{font-size:.625rem;font-weight:600;letter-spacing:.02em;white-space:nowrap}

/* ========================================================
   MOBILE RESPONSIVE OVERRIDES
   ======================================================== */

/* ---- Hero ---- */


/* ---- CTA Banner ---- */
@media (max-width: 640px) {
    .bp-cta-banner { padding: 1.5rem 1.25rem; }
    .bp-cta-banner__inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .bp-cta-banner__actions { flex-direction: column; width: 100%; }
    .bp-cta-banner__actions .bp-btn-primary,
    .bp-cta-banner__actions .bp-btn-stud { width: 100%; justify-content: center; }
}

/* ---- Section title ---- */
@media (max-width: 480px) {
    .bp-section-title { margin-top: 1.25rem; }
    .bp-section-title h2 { font-size: 1.05rem; }
}

/* ---- Page body bottom padding (above mobile nav) ---- */
@media (max-width: 639px) {
    .bp-page-body { padding-bottom: 1rem; }
}

/* ---------- Home marketplace showcase ---------- */
.bp-home-showcase {
    display: block;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 18px 22px;
    background: #03040b;
}

.bp-home-showcase,
.bp-home-showcase * {
    box-sizing: border-box;
}

.bp-market-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 8px;
}

.bp-showcase-panel,
.bp-ad-panel {
    background: linear-gradient(180deg, rgba(10, 11, 26, .96), rgba(3, 5, 14, .98));
    border: 1px solid rgba(126, 57, 255, .28);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 12px 34px rgba(0, 0, 0, .42);
    border-radius: 10px;
    overflow: hidden;
}

.bp-showcase-panel--studs {
    border-color: rgba(126, 57, 255, .36);
    background:
        radial-gradient(circle at 82% 38%, rgba(126, 57, 255, .26), transparent 36%),
        linear-gradient(180deg, rgba(12, 11, 24, .98), rgba(4, 5, 14, .98));
}

.bp-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px 6px;
}

.bp-panel-title {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.bp-panel-icon {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 7px;
    color: #8d38ff;
    font-size: 18px;
    text-shadow: 0 0 14px rgba(141, 56, 255, .85);
}

.bp-panel-icon--fire {
    color: #ff4a16;
    text-shadow: 0 0 14px rgba(255, 74, 22, .75);
}

.bp-panel-head a {
    color: #a347ff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.bp-panel-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.bp-carousel-controls {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bp-carousel-btn {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(151, 74, 255, .52);
    border-radius: 999px;
    background: rgba(34, 13, 70, .82);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(128, 47, 255, .24);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.bp-carousel-btn:hover,
.bp-carousel-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(202, 126, 255, .9);
    background: linear-gradient(135deg, #5513b4, #9f2cff);
    outline: none;
}

.bp-carousel-rail {
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 9px;
}

.bp-carousel-rail > * {
    scroll-snap-align: start;
}

.bp-card-rail,
.bp-breeder-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 21px) / 4);
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 9px 10px;
}

.bp-card-rail::-webkit-scrollbar,
.bp-breeder-rail::-webkit-scrollbar { display: none; }

.bp-mini-card {
    min-width: 132px;
    background: rgba(7, 8, 18, .92);
    border: 1px solid rgba(138, 72, 255, .28);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 18px rgba(111, 36, 255, .12);
}


.bp-mini-card--breeder {
    background:
        radial-gradient(circle at 50% 18%, rgba(174, 78, 255, .22), transparent 42%),
        rgba(7, 8, 18, .94);
    border-color: rgba(204, 142, 255, .34);
}

.bp-mini-card__media--breeder {
    display: grid;
    place-items: center;
    padding: 12px;
    background:
        radial-gradient(circle at 50% 45%, rgba(111, 34, 255, .38), transparent 54%),
        linear-gradient(180deg, #0b0716, #050610);
}

.bp-mini-card__media--breeder::after {
    background: linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, .74));
}

.bp-mini-card__media--breeder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .55));
}

.bp-mini-card__media--breeder span:not(.bp-mini-card__tag):not(.bp-mini-card__heart) {
    color: #f7d46b;
    font-size: 42px;
    font-weight: 900;
    text-shadow: 0 0 18px rgba(166, 78, 255, .6);
}
.bp-mini-card--stud {
    background:
        linear-gradient(180deg, rgba(26, 12, 20, .42), rgba(7, 8, 18, .95));
    border-color: rgba(180, 70, 255, .32);
}

.bp-mini-card__media {
    display: block;
    position: relative;
    height: 128px;
    overflow: hidden;
    background: #080914;
}

.bp-mini-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .82));
    pointer-events: none;
}

.bp-mini-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.bp-mini-card__tag {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 2;
    padding: 3px 6px;
    border-radius: 4px;
    background: linear-gradient(135deg, #6f22ff, #b251ff);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
}

.bp-mini-card__heart {
    position: absolute;
    top: 5px;
    right: 6px;
    z-index: 2;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    text-shadow: 0 1px 7px #000;
}

.bp-mini-card__body {
    padding: 6px 7px 7px;
}

.bp-mini-card__name {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-mini-card__seller {
    margin-top: 3px;
    color: #b5abc9;
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-mini-card__price {
    margin-top: 4px;
    color: #9c45ff;
    font-size: 12px;
    font-weight: 900;
}

.bp-mini-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-top: 6px;
}

.bp-mini-card__actions a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 20px;
    border: 1px solid rgba(148, 82, 255, .5);
    border-radius: 5px;
    color: #fff;
    background: rgba(47, 16, 88, .5);
    font-size: 9px;
    font-weight: 800;
}

.bp-showcase-panel--breeders {
    min-width: 0;
}

.bp-breeder-rail {
    grid-auto-columns: calc((100% - 21px) / 4);
}

.bp-breeder-card {
    min-width: 150px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 7px;
    background: rgba(9, 10, 20, .92);
    border: 1px solid rgba(138, 72, 255, .28);
    border-radius: 8px;
}

.bp-breeder-card__logo {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    overflow: hidden;
    background: radial-gradient(circle, rgba(148, 82, 255, .4), rgba(6, 7, 17, 1));
    color: #f7d46b;
    font-size: 26px;
    font-weight: 900;
}

.bp-breeder-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-breeder-card__name {
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-breeder-card__place,
.bp-breeder-card__stats {
    color: #aaa0bb;
    font-size: 9px;
    line-height: 1.35;
}

.bp-breeder-card a {
    display: inline-flex;
    margin-top: 5px;
    padding: 5px 14px;
    border-radius: 5px;
    background: linear-gradient(135deg, #4c0ea0, #8b22ff);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}

.bp-ad-panel {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 8px;
    padding: 9px;
    border-color: rgba(177, 58, 255, .45);
    background:
        radial-gradient(circle at 18% 45%, rgba(184, 47, 255, .42), transparent 28%),
        radial-gradient(circle at 60% 80%, rgba(96, 27, 205, .28), transparent 32%),
        #070711;
}

.bp-ad-panel__pitch {
    display: grid;
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.bp-megaphone {
    width: 102px;
    height: 90px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #d66bff;
    font-size: 64px;
    text-shadow: 0 0 18px rgba(222, 91, 255, .9);
    background: radial-gradient(circle, rgba(195, 65, 255, .25), transparent 62%);
}

.bp-ad-panel__pitch span {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.bp-ad-panel__pitch strong {
    display: block;
    margin-top: 1px;
    color: #f3b6ff;
    font-family: cursive;
    font-size: 28px;
    line-height: 1;
    text-shadow: 0 0 16px rgba(198, 70, 255, .9);
}

.bp-ad-panel__pitch p {
    max-width: 280px;
    margin: 7px 0 10px;
    color: #d9cfe8;
    font-size: 10px;
    line-height: 1.35;
}

.bp-ad-panel__pitch a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 7px;
    background: linear-gradient(135deg, #6c1cff, #a031ff);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.bp-ad-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.bp-ad-plan {
    min-height: 74px;
    padding: 8px;
    border: 1px solid rgba(189, 83, 255, .55);
    border-radius: 7px;
    background: rgba(31, 7, 55, .58);
}

.bp-ad-plan span {
    display: block;
    color: #d9bbff;
    font-size: 10px;
    font-weight: 800;
}

.bp-ad-plan strong {
    display: block;
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
}

.bp-ad-plan small {
    color: #bbb0c9;
    font-size: 10px;
    font-weight: 700;
}

.bp-ad-plan em {
    display: block;
    margin-top: 5px;
    color: #cbbdde;
    font-size: 9px;
    font-style: normal;
}

@media (max-width: 1180px) {
    .bp-market-grid { grid-template-columns: 1fr; }
    .bp-ad-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .bp-home-showcase { padding: 8px 10px 18px; }
    .bp-panel-title { font-size: 15px; }
    .bp-card-rail,
    .bp-breeder-rail { grid-auto-columns: calc((100% - 7px) / 2); }
    .bp-ad-panel__pitch { grid-template-columns: 70px 1fr; }
    .bp-megaphone { width: 70px; height: 70px; font-size: 42px; }
    .bp-ad-panel__pitch strong { font-size: 24px; }
    .bp-ad-plans { grid-template-columns: 1fr 1fr; }
}


@media (max-width: 420px) {
    .bp-card-rail,
    .bp-breeder-rail { grid-auto-columns: 100%; }
}


/* ---------- Bully Pedex Footer ---------- */
.bp-footer {
    position: relative;
    overflow: hidden;
    margin-top: 18px;
    background:
        radial-gradient(circle at 12% 15%, rgba(126, 57, 255, .22), transparent 30%),
        radial-gradient(circle at 86% 12%, rgba(255, 74, 22, .12), transparent 26%),
        linear-gradient(180deg, #070812 0%, #03040a 100%) !important;
    border-top: 1px solid rgba(147, 82, 255, .28) !important;
    color: #fff;
}

.bp-footer__glow {
    position: absolute;
    inset: auto 8% -110px auto;
    width: 360px;
    height: 220px;
    border-radius: 999px;
    background: rgba(126, 57, 255, .2);
    filter: blur(38px);
    pointer-events: none;
}

.bp-footer__inner {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 34px 22px 28px;
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(420px, 1.35fr) minmax(260px, .85fr);
    gap: 26px;
    align-items: start;
}

.bp-footer__brand p,
.bp-footer__cta p {
    margin: 14px 0 0;
    max-width: 410px;
    color: #bcb2ce !important;
    font-size: 13px;
    line-height: 1.7;
}

.bp-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
}

.bp-footer__mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #6f22ff, #b531ff);
    color: #fff !important;
    font-size: 15px;
    font-weight: 950;
    box-shadow: 0 0 24px rgba(126, 57, 255, .42);
}


.bp-footer__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.bp-footer__logo strong {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
}

.bp-footer__logo em {
    display: block;
    margin-top: 3px;
    color: #a347ff;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.bp-footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

.bp-footer__badges span {
    padding: 7px 10px;
    border: 1px solid rgba(151, 74, 255, .32);
    border-radius: 999px;
    background: rgba(28, 13, 52, .72);
    color: #ddd2ef !important;
    font-size: 11px;
    font-weight: 800;
}

.bp-footer__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bp-footer__col h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.bp-footer__col ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bp-footer__col a,
.bp-footer__legal a {
    color: #bcb2ce !important;
    font-size: 13px;
    font-weight: 700;
    transition: color .18s ease, transform .18s ease;
}

.bp-footer__col a:hover,
.bp-footer__legal a:hover {
    color: #b86cff !important;
}

.bp-footer__cta {
    padding: 16px;
    border: 1px solid rgba(166, 78, 255, .34);
    border-radius: 10px;
    background:
        radial-gradient(circle at 82% 12%, rgba(255, 74, 22, .16), transparent 34%),
        rgba(10, 8, 21, .88);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 14px 34px rgba(0, 0, 0, .26);
}

.bp-footer__cta span {
    color: #dcbcff !important;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.bp-footer__cta strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 20px;
    font-weight: 950;
    line-height: 1.15;
}

.bp-footer__cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 15px;
    border-radius: 7px;
    background: linear-gradient(135deg, #6c1cff, #a031ff);
    color: #fff !important;
    font-size: 12px;
    font-weight: 900;
}

.bp-footer__bottom {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 14px 22px 18px;
    border-top: 1px solid rgba(147, 82, 255, .18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bp-footer__bottom p {
    margin: 0;
    color: #897f99 !important;
    font-size: 12px;
}

.bp-footer__legal {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 1100px) {
    .bp-footer__inner {
        grid-template-columns: 1fr;
    }

    .bp-footer__links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .bp-footer__inner {
        padding: 28px 14px 22px;
        gap: 22px;
    }

    .bp-footer__links {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bp-footer__bottom {
        padding: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .bp-footer__legal {
        flex-wrap: wrap;
        gap: 10px 14px;
    }
}

/* ---------- Site logo overrides ---------- */
img[src*="bullypedex-icon.png"],
img[src*="bullypedex-favicon.png"] {
    object-fit: contain;
}

header img[src*="bullypedex-icon.png"],
header img[src*="bullypedex-favicon.png"] {
    width: auto !important;
    height: 48px !important;
    max-width: 170px;
}

.lg\:hidden img[src*="bullypedex-icon.png"],
.lg\:hidden img[src*="bullypedex-favicon.png"] {
    height: 38px !important;
    max-width: 140px;
}

main img[src*="bullypedex-icon.png"],
main img[src*="bullypedex-favicon.png"] {
    width: auto !important;
    max-height: 58px;
}

.bp-footer__mark {
    background: rgba(255, 255, 255, .06) !important;
    padding: 4px;
}

/* ---------- Customer login ---------- */
.bp-login,
.bp-login * {
    box-sizing: border-box;
}

.bp-login {
    --bp-login-purple: #8d3bff;
    --bp-login-violet: #6b20ef;
    --bp-login-orange: #ff6a2b;
    position: relative;
    min-height: calc(100vh - 42px);
    overflow: hidden;
    padding: 54px 24px 24px;
    background:
        linear-gradient(rgba(3, 2, 10, .9), rgba(3, 2, 10, .96)),
        radial-gradient(circle at 12% 8%, rgba(123, 45, 255, .22), transparent 30%),
        #05030c;
    color: #f8f5ff;
}

.bp-login::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 48px 48px;
    content: '';
    mask-image: linear-gradient(to bottom, black, transparent 82%);
    pointer-events: none;
}

.bp-login__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    opacity: .3;
    pointer-events: none;
}

.bp-login__glow--one {
    top: 4%;
    left: -10%;
    width: 390px;
    height: 390px;
    background: #6c21ff;
}

.bp-login__glow--two {
    right: -8%;
    bottom: -14%;
    width: 360px;
    height: 360px;
    background: #d234ff;
}

.bp-login__home-link {
    position: relative;
    z-index: 2;
    width: min(1080px, 100%);
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #a99fba !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    transition: color .2s ease;
}

.bp-login__home-link span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(157, 88, 255, .25);
    border-radius: 999px;
    color: #d6b9ff;
    transition: border-color .2s ease, transform .2s ease;
}

.bp-login__home-link:hover {
    color: #fff !important;
}

.bp-login__home-link:hover span {
    border-color: rgba(157, 88, 255, .7);
    transform: translateX(-2px);
}

.bp-login__shell {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    min-height: 610px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
    overflow: hidden;
    border: 1px solid rgba(166, 112, 255, .26);
    border-radius: 28px;
    background: rgba(10, 6, 20, .88);
    box-shadow: 0 34px 100px rgba(0, 0, 0, .55), inset 0 1px rgba(255, 255, 255, .05);
    backdrop-filter: blur(20px);
}

.bp-login__story {
    position: relative;
    isolation: isolate;
    min-height: 610px;
    padding: 54px 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(17, 7, 39, .42), rgba(5, 3, 14, .95)),
        linear-gradient(120deg, rgba(98, 27, 225, .72), transparent 58%),
        url('/storage/bp-showcase/dog-photos/blue-tri-bully.jpg') center/cover no-repeat;
}

.bp-login__story::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(circle at 25% 20%, rgba(186, 94, 255, .3), transparent 30%),
        linear-gradient(180deg, transparent 45%, rgba(4, 2, 10, .88));
    content: '';
}

.bp-login__story::after {
    position: absolute;
    z-index: -1;
    right: -80px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(191, 135, 255, .22);
    border-radius: 999px;
    box-shadow: 0 0 0 32px rgba(139, 61, 255, .05), 0 0 0 64px rgba(139, 61, 255, .035);
    content: '';
}

.bp-login__story-content {
    max-width: 410px;
}

.bp-login__eyebrow,
.bp-login__heading > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cda8ff !important;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bp-login__eyebrow::before,
.bp-login__heading > span::before {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--bp-login-orange);
    box-shadow: 0 0 14px rgba(255, 106, 43, .8);
    content: '';
}

.bp-login__story h2 {
    margin: 22px 0 18px;
    max-width: 360px;
    color: #fff !important;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(38px, 4.2vw, 58px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.025em;
}

.bp-login__story-content > p {
    max-width: 375px;
    color: #d0c6df !important;
    font-size: 14px;
    line-height: 1.75;
}

.bp-login__benefits {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}

.bp-login__benefits span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f4effb !important;
    font-size: 13px;
    font-weight: 800;
}

.bp-login__benefits span::before {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    border: 1px solid rgba(190, 128, 255, .45);
    border-radius: 999px;
    background: rgba(127, 45, 232, .28);
    color: #fff;
    content: '✓';
    font-size: 11px;
}

.bp-login__story-footer {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bp-login__avatars {
    display: flex;
}

.bp-login__avatars span {
    width: 34px;
    height: 34px;
    margin-left: -7px;
    display: grid;
    place-items: center;
    border: 2px solid #130928;
    border-radius: 999px;
    background: linear-gradient(135deg, #7e2fff, #3b116f);
    color: #fff !important;
    font-size: 9px;
    font-weight: 950;
}

.bp-login__avatars span:first-child {
    margin-left: 0;
}

.bp-login__story-footer p {
    max-width: 190px;
    color: #a99fba !important;
    font-size: 11px;
    line-height: 1.45;
}

.bp-login__story-footer strong {
    color: #fff;
}

.bp-login__form-panel {
    padding: 38px 64px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 100% 0, rgba(134, 48, 255, .12), transparent 34%),
        rgba(7, 4, 15, .96);
}

.bp-login__logo {
    width: fit-content;
    display: inline-flex;
}

.bp-login__logo img {
    width: auto !important;
    height: 58px !important;
    max-width: 170px;
    object-fit: contain;
}

.bp-login__heading {
    margin-top: 28px;
}

.bp-login__heading h1 {
    margin: 10px 0 0;
    color: #fff !important;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.1;
}

.bp-login__heading p {
    margin-top: 9px;
    color: #93899f !important;
    font-size: 14px;
    line-height: 1.6;
}

.bp-login__form {
    margin-top: 27px;
}

.bp-login__field {
    margin-bottom: 18px !important;
}

.bp-login__field label {
    margin-bottom: 8px;
    display: inline-block;
    color: #e9e2f2 !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    letter-spacing: .025em;
}

.bp-login__field input {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(153, 112, 192, .3) !important;
    border-radius: 12px !important;
    outline: none;
    background: rgba(255, 255, 255, .055) !important;
    padding: 0 16px !important;
    color: #fff !important;
    font-size: 14px !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .02);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.bp-login__field input::placeholder {
    color: #766d81 !important;
}

.bp-login__field input:hover {
    border-color: rgba(163, 104, 231, .55) !important;
}

.bp-login__field input:focus {
    border-color: var(--bp-login-purple) !important;
    background: rgba(119, 45, 222, .09) !important;
    box-shadow: 0 0 0 4px rgba(141, 59, 255, .13), 0 0 24px rgba(110, 32, 239, .08);
}

.bp-login__field input:-webkit-autofill,
.bp-login__field input:-webkit-autofill:hover,
.bp-login__field input:-webkit-autofill:focus {
    border-color: rgba(153, 112, 192, .45) !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 0 0 1000px #120d1d inset !important;
    caret-color: #fff;
    transition: background-color 9999s ease-out 0s;
}

.bp-login__form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.bp-login__show-password input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.bp-login__show-password label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #9a90a6 !important;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.bp-login__show-password label span {
    position: relative;
    width: 17px;
    height: 17px;
    border: 1px solid rgba(173, 128, 217, .45);
    border-radius: 5px;
    background: rgba(255, 255, 255, .03);
}

.bp-login__show-password input:focus-visible + label span {
    outline: 2px solid #a95dff;
    outline-offset: 2px;
}

.bp-login__show-password input:checked + label span {
    border-color: var(--bp-login-purple);
    background: linear-gradient(135deg, var(--bp-login-purple), var(--bp-login-violet));
}

.bp-login__show-password input:checked + label span::after {
    position: absolute;
    top: 1px;
    left: 4px;
    color: #fff;
    content: '✓';
    font-size: 11px;
    font-weight: 900;
}

.bp-login__form-options > a {
    color: #c594ff !important;
    font-size: 12px;
    font-weight: 850;
    transition: color .2s ease;
}

.bp-login__form-options > a:hover {
    color: #fff !important;
}

.bp-login__submit {
    width: 100%;
    min-height: 52px;
    margin-top: 24px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(213, 169, 255, .24);
    border-radius: 12px;
    background: linear-gradient(135deg, #7122ed, #9a3dff 56%, #7624ee);
    color: #fff !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 14px 34px rgba(100, 26, 219, .28), inset 0 1px rgba(255, 255, 255, .2);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.bp-login__submit span:last-child {
    font-size: 19px;
    transition: transform .2s ease;
}

.bp-login__submit:hover {
    filter: brightness(1.08);
    box-shadow: 0 18px 42px rgba(113, 34, 237, .4), inset 0 1px rgba(255, 255, 255, .25);
    transform: translateY(-1px);
}

.bp-login__submit:hover span:last-child {
    transform: translateX(3px);
}

.bp-login__social {
    margin-top: 18px;
}

.bp-login__social:empty {
    display: none;
}

.bp-login__social a {
    transition: filter .2s ease, transform .2s ease;
}

.bp-login__social a:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

.bp-login__register {
    margin-top: 22px;
    color: #877e91 !important;
    font-size: 13px;
    text-align: center;
}

.bp-login__register a {
    margin-left: 3px;
    color: #cb9aff !important;
    font-weight: 900;
}

.bp-login__register a:hover {
    color: #fff !important;
}

.bp-login__copyright {
    position: relative;
    z-index: 1;
    margin: 18px auto 0;
    color: #655d6f !important;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.bp-login__field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bp-login__choice {
    margin-top: 3px;
}

.bp-login__choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.bp-login__choice label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #9a90a6 !important;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.bp-login__choice label span {
    position: relative;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    border: 1px solid rgba(173, 128, 217, .45);
    border-radius: 5px;
    background: rgba(255, 255, 255, .03);
}

.bp-login__choice input:focus-visible + label span {
    outline: 2px solid #a95dff;
    outline-offset: 2px;
}

.bp-login__choice input:checked + label span {
    border-color: var(--bp-login-purple);
    background: linear-gradient(135deg, var(--bp-login-purple), var(--bp-login-violet));
}

.bp-login__choice input:checked + label span::after {
    position: absolute;
    top: 1px;
    left: 4px;
    color: #fff;
    content: '✓';
    font-size: 11px;
    font-weight: 900;
}

.bp-login__agreement {
    margin-top: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #9a90a6;
    font-size: 12px;
    line-height: 1.5;
}

.bp-login__agreement input {
    margin-top: 2px;
    accent-color: var(--bp-login-purple);
}

.bp-login__agreement label {
    flex: 1;
}

.bp-login__agreement button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #cb9aff;
    cursor: pointer;
    font-weight: 850;
}

.bp-login--register {
    padding-top: 38px;
}

.bp-login--register .bp-login__shell {
    width: min(1160px, 100%);
    min-height: 720px;
    grid-template-columns: minmax(360px, .82fr) minmax(560px, 1.18fr);
}

.bp-login--register .bp-login__home-link {
    width: min(1160px, 100%);
}

.bp-login--register .bp-login__story {
    min-height: 720px;
    padding: 48px 42px 38px;
    background-position: 42% center;
}

.bp-login--register .bp-login__story h2 {
    font-size: clamp(39px, 4vw, 55px);
}

.bp-login--register .bp-login__form-panel {
    padding: 34px 52px 38px;
}

.bp-login--register .bp-login__heading {
    margin-top: 18px;
}

.bp-login--register .bp-login__heading h1 {
    font-size: 36px;
}

.bp-login--register .bp-login__form {
    margin-top: 21px;
}

.bp-login--register .bp-login__field {
    margin-bottom: 13px !important;
}

.bp-login--register .bp-login__field input {
    min-height: 48px;
}

.bp-login--register .bp-login__submit {
    margin-top: 20px;
}

.bp-login--register .bp-login__social {
    margin-top: 14px;
}

.bp-login--register .bp-login__register {
    margin-top: 16px;
}

.bp-login--forgot .bp-login__shell {
    width: min(980px, 100%);
    min-height: 550px;
    grid-template-columns: minmax(0, .95fr) minmax(450px, 1.05fr);
}

.bp-login--forgot .bp-login__home-link {
    width: min(980px, 100%);
}

.bp-login--forgot .bp-login__story {
    min-height: 550px;
    background-position: 38% center;
}

.bp-login--forgot .bp-login__form-panel {
    padding-inline: 58px;
}

.bp-login__recovery-note {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bp-login__recovery-note > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid rgba(190, 128, 255, .45);
    border-radius: 999px;
    background: rgba(127, 45, 232, .28);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.bp-login__recovery-note p {
    max-width: 250px;
    color: #a99fba !important;
    font-size: 11px;
    line-height: 1.5;
}

.bp-login__recovery-note strong {
    color: #fff;
}

@media (max-width: 900px) {
    .bp-login {
        padding-top: 34px;
    }

    .bp-login__shell {
        width: min(620px, 100%);
        grid-template-columns: 1fr;
    }

    .bp-login__story {
        min-height: 285px;
        padding: 36px;
        background-position: center 32%;
    }

    .bp-login__story h2 {
        max-width: 420px;
        font-size: 42px;
    }

    .bp-login__story-content > p,
    .bp-login__benefits {
        display: none;
    }

    .bp-login__form-panel {
        padding: 42px 52px 46px;
    }

    .bp-login--register .bp-login__shell,
    .bp-login--forgot .bp-login__shell {
        width: min(680px, 100%);
        grid-template-columns: 1fr;
    }

    .bp-login--register .bp-login__story,
    .bp-login--forgot .bp-login__story {
        min-height: 250px;
        padding: 34px;
    }

    .bp-login--register .bp-login__form-panel,
    .bp-login--forgot .bp-login__form-panel {
        padding: 40px 48px 44px;
    }
}

@media (max-width: 560px) {
    .bp-login {
        min-height: calc(100vh - 38px);
        padding: 20px 14px 18px;
    }

    .bp-login__home-link {
        margin-bottom: 13px;
    }

    .bp-login__shell {
        border-radius: 20px;
    }

    .bp-login__story {
        min-height: 190px;
        padding: 26px;
    }

    .bp-login__story h2 {
        margin-top: 13px;
        font-size: 34px;
    }

    .bp-login__story-footer {
        display: none;
    }

    .bp-login__form-panel {
        padding: 30px 22px 34px;
    }

    .bp-login__logo img {
        height: 48px !important;
    }

    .bp-login__heading {
        margin-top: 21px;
    }

    .bp-login__heading h1 {
        font-size: 32px;
    }

    .bp-login__form {
        margin-top: 22px;
    }

    .bp-login__form-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .bp-login__field-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bp-login--register,
    .bp-login--forgot {
        padding-top: 20px;
    }

    .bp-login--register .bp-login__story,
    .bp-login--forgot .bp-login__story {
        min-height: 190px;
        padding: 26px;
    }

    .bp-login--register .bp-login__form-panel,
    .bp-login--forgot .bp-login__form-panel {
        padding: 30px 22px 34px;
    }

    .bp-login--register .bp-login__heading h1 {
        font-size: 31px;
    }

    .bp-login__agreement {
        flex-wrap: wrap;
    }

    .bp-login__submit {
        margin-top: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-login *,
    .bp-login *::before,
    .bp-login *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
