/*
Theme Name: Bank Pro Top Neo
Theme URI: https://bank-pro.com
Author: Bank Pro
Author URI: https://bank-pro.com
Description: Futuristic dark WooCommerce-ready theme designed to match the Bank Pro Top plugin, mCart style and WooCommerce PayPal Payments.
Version: 1.1.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bank-pro-top-neo
Tags: ecommerce, dark, responsive, futuristic, custom-logo
*/

/* RESET & BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, #0f172a 0, #020617 45%),
        radial-gradient(circle at bottom right, #0b1120 0, #000000 50%);
    color: #e5e7eb;
}

a {
    color: #38bdf8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* LAYOUT */
.bpt-site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
}

/* subtle animated grid background */
.bpt-site::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(148,163,184,0.07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(148,163,184,0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
    pointer-events: none;
    z-index: -2;
}

.bpt-site::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 10% 0, rgba(56,189,248,0.25), transparent 55%),
        radial-gradient(circle at 95% 90%, rgba(129,140,248,0.18), transparent 60%);
    mix-blend-mode: screen;
    opacity: 0.75;
    pointer-events: none;
    z-index: -1;
}

.bpt-main {
    flex: 1 0 auto;
}

.bpt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER FUTURISTIC */
.bpt-header {
    background: radial-gradient(circle at top, rgba(15,23,42,0.98), rgba(15,23,42,0.85));
    border-bottom: 1px solid rgba(148,163,184,0.2);
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(18px);
}

.bpt-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

/* LOGO */
.bpt-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fbbf24;
    text-shadow:
        0 0 10px rgba(250,204,21,0.6),
        0 0 20px rgba(250,204,21,0.3);
    position: relative;
    padding-left: 6px;
}

.bpt-logo a::before {
    content: "◉";
    font-size: 0.6rem;
    color: #38bdf8;
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 0 0 8px rgba(56,189,248,0.8);
}

/* NAVIGATION */
.bpt-nav {
    display: flex;
    gap: 14px;
    align-items: center;
}

.bpt-nav a {
    font-size: 0.9rem;
    color: #e5e7eb;
    padding: 6px 12px;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,0.45);
    background: radial-gradient(circle at top left, rgba(30,64,175,0.35), rgba(15,23,42,0.9));
    transition: border 0.15s ease-out, box-shadow 0.15s ease-out, transform 0.1s ease-out, background 0.2s ease-out;
}

.bpt-nav a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(56,189,248,0.3), transparent, rgba(129,140,248,0.35));
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.bpt-nav a:hover,
.bpt-nav .current-menu-item > a {
    border-color: rgba(250,204,21,0.7);
    box-shadow: 0 0 18px rgba(56,189,248,0.55);
    transform: translateY(-1px);
}

.bpt-nav a:hover::after,
.bpt-nav .current-menu-item > a::after {
    opacity: 1;
}

/* CART PILL */
.bpt-cart {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.bpt-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: radial-gradient(circle at top left, rgba(16,185,129,0.45), rgba(15,23,42,0.95));
    color: #e5e7eb;
    font-size: 0.85rem;
    border: 1px solid rgba(16,185,129,0.7);
    box-shadow: 0 0 12px rgba(16,185,129,0.6);
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
}

.bpt-cart-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(16,185,129,0.75);
    text-decoration: none;
}

.bpt-cart-count {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #22c55e;
    color: #020617;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* MAIN CONTENT */
.bpt-main .bpt-container {
    padding-top: 32px;
    padding-bottom: 40px;
}

.bpt-page-title {
    font-size: 2.1rem;
    margin-bottom: 8px;
    color: #e5e7eb;
    text-shadow: 0 0 14px rgba(56,189,248,0.35);
}

.bpt-breadcrumb {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 20px;
}

/* FUTURISTIC CARD GRID */
.bpt-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.bpt-card {
    position: relative;
    border-radius: 20px;
    padding: 16px;
    background: radial-gradient(circle at top left, rgba(15,23,42,0.9), rgba(15,23,42,0.92));
    border: 1px solid rgba(148,163,184,0.35);
    box-shadow: 0 18px 40px rgba(0,0,0,0.7);
    overflow: hidden;
}

.bpt-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        conic-gradient(from 180deg, rgba(56,189,248,0.06), transparent 40%, rgba(248,250,252,0.04), transparent 80%);
    opacity: 0.9;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.bpt-card-inner {
    position: relative;
    z-index: 1;
}

.bpt-card-title {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 6px;
    color: #e5e7eb;
}

.bpt-card-title a {
    color: inherit;
}

.bpt-card-meta {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 10px;
}

/* FOOTER – FUTURISTIC MINIMAL */
.bpt-footer {
    background: radial-gradient(circle at bottom, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
    border-top: 1px solid rgba(148,163,184,0.3);
    padding: 18px 0;
    flex-shrink: 0;
    backdrop-filter: blur(18px);
}

.bpt-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    color: #9ca3af;
}

.bpt-footer a {
    color: #a5b4fc;
}

/* WOO BUTTONS (NEON STYLE) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: linear-gradient(120deg, #22c55e, #38bdf8);
    border-radius: 999px;
    border: none;
    color: #0b1120;
    font-weight: 700;
    padding: 9px 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 0 18px rgba(56,189,248,0.55);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    filter: brightness(1.05);
    box-shadow: 0 0 24px rgba(56,189,248,0.8);
}

/* WOO MESSAGES */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    border-radius: 14px;
    border: 1px solid rgba(56,189,248,0.7);
    background: radial-gradient(circle at top left, rgba(15,23,42,0.95), rgba(15,23,42,0.98));
    color: #e5f5ff;
}

/* PAYMENT METHODS / PAYPAL AREA */
.wc-block-components-payment-methods__payment-method,
.woocommerce ul.wc_payment_methods li {
    background: radial-gradient(circle at top left, rgba(15,23,42,0.9), rgba(15,23,42,0.95));
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.5);
    padding: 12px;
}

.woocommerce ul.wc_payment_methods li input[type="radio"]:checked + label {
    color: #fbbf24;
}

/* BANK PRO TOP WRAPPERS */
.bpt-wrapper,
.bpt-signup-wrapper {
    border-radius: 20px;
    border: 1px solid rgba(148,163,184,0.45);
    background: radial-gradient(circle at top left, rgba(15,23,42,0.96), rgba(15,23,42,0.94));
    box-shadow: 0 20px 45px rgba(0,0,0,0.8);
}

.bpt-title {
    letter-spacing: 0.08em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .bpt-header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .bpt-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}
