/* =========================
   GLOBAL
========================= */
body {
    background: #0f172a;
    color: #e5e7eb;
    font-family: Arial, sans-serif;
}

/* =========================
   CONTAINER
========================= */
.bxc-cnt {
    max-width: 1200px;
    margin: auto;
}

/* =========================
   PRODUCT CARDS
========================= */
.bxc-product {
    background: #1e293b;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

/* =========================
   BUTTONS
========================= */
.btn {
    width: 100%;
    margin-top: 10px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary {
    background: #22c55e;
    border: none;
}

.btn-primary:hover {
    background: #16a34a;
}

/* =========================
   INPUTS
========================= */
input, select {
    background: #1e293b;
    color: #fff;
    border: 1px solid #334155;
    padding: 10px;
    width: 100%;
}

/* =========================
   HEADINGS
========================= */
h1, h2, h3 {
    color: #f9fafb;
}

/* =========================
   HEADER
========================= */
.site-header {
    position: relative;
}

/* NEW wrapper to match your page width */
.header-inner img {
    max-width: 300px;
    display: block;
    margin: 0 auto;
}

/* Keep logo centered */
.header-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Position status INSIDE container */
#status-container {
    margin-top: 8px;
    margin-left: 10px;
    position: absolute;
    right: 380px;   /* ← THIS is the key */
    top: 10px;

    z-index: 10;

    text-align: right;
    font-size: 12px;
    color: #e5e7eb;
}

/* Keep it compact for header */
#status-text {
    margin-bottom: 3px;
    font-size: 12px;
}

/* Align blocks to right */
#status-blocks {
    display: flex;
    justify-content: flex-end;
    gap: 2px;
}

/* Smaller header-friendly blocks */
.block {
    width: 4px;
    height: 12px;
    border-radius: 2px;
    opacity: 0.9;
}

.block.up { background: #22c55e; }
.block.down { background: #ef4444; }
.block.pending { background: #f59e0b; }

.site-header img {
    max-width: 300px;
}
.block.up {
    box-shadow: 0 0 4px rgba(34,197,94,0.4);
}

#status-text::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* =========================
   HERO
========================= */
.hero {
    text-align: center;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.hero p {
    font-size: 14px;
    color: #bfc7d5;
}

/* =========================
   SHOP GRID (2 COLUMN CENTERED)
========================= */
#bxc-shop-grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

#bxc-shop-grid > div {
    width: 300px !important;
    max-width: 90%;
}

/* =========================
   GLASS CONTAINER
========================= */
.shop-wrapper {
    position: relative;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.015)
    );

    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 18px;

    padding: 30px;
    margin: 30px auto;
    max-width: 1000px;

    backdrop-filter: blur(8px);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.7),
        0 0 80px rgba(34,197,94,0.18),
        0 0 120px rgba(34,197,94,0.08);
}

/* =========================
   REMOVE BOXCOIN LOGO
========================= */
img[src*="logo.svg"] {
    display: none !important;
}

/* =========================
   IMAGE SYSTEM (CRITICAL FIX)
========================= */

/* Homepage = ORIGINAL behaviour */
.bxc-background-image {
    background-size: cover !important;
    background-position: center;
    background-repeat: no-repeat;
}
/* ===== CHECKOUT IMAGE (RESTORE COVER BEHAVIOR) ===== */
body.pay-page .bxc-background-image {
    background-size: cover !important;   /* IMPORTANT: restore this */
    background-position: center center !important;
    background-repeat: no-repeat !important;

    height: 260px !important;
    max-height: 260px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}
/* ================================
   CHECKOUT IMAGE — TRUE FIX
   ================================ */

body.pay-page .bxc-main {
    max-width: 700px !important;
    margin: 20px auto !important; /* THIS is the fix */
}

body.pay-page .bxc-background-image {
    height: auto !important;
    padding-top: 70%;

    background-size: cover !important;
    background-position: center 45%;
    background-repeat: no-repeat;

    border-radius: 12px 12px 0 0;
}
/* FORCE TRUE CENTERING OF CHECKOUT CONTENT */
body.pay-page .bxc-main {
    max-width: 700px !important;
    margin: 30px auto !important;
    text-align: center;
}

/* THIS IS THE REAL FIX */
body.pay-page .bxc-cnt {
    margin: 0 auto !important;
    float: none !important;
}

/* ALSO FIX INNER BOX */
body.pay-page .bxc-box {
    margin-left: auto !important;
    margin-right: auto !important;
}
/* IMAGE CONTAINER */
body.pay-page .bxc-background-image {
    position: relative;
}

.checkout-cta:hover {
    transform: translateX(-50%) scale(1.06) !important;

    background: linear-gradient(
        180deg,
        #6ee7b7 0%,
        #22c55e 40%,
        #166534 100%
    );

    box-shadow:
        inset 0 2px 10px rgba(255,255,255,0.45),
        inset 0 -6px 14px rgba(0,0,0,0.8),

        0 0 28px rgba(34,197,94,0.8),
        0 0 60px rgba(34,197,94,0.5),

        0 12px 30px rgba(0,0,0,0.95);
}
/* =========================
   CTA BUTTON (FINAL WORKING)
========================= */

.checkout-cta {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%) scale(1);

    width: 219px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #f3fff3 !important;

    border-radius: 12px;
    cursor: pointer;
    text-decoration: none !important;

    background: linear-gradient(
        180deg,
        #34d399 0%,
        #22c55e 45%,
        #15803d 100%
    );

    transition: transform 0.25s ease, box-shadow 0.25s ease !important;

    box-shadow:
        inset 0 2px 8px rgba(255,255,255,0.35),
        inset 0 -6px 12px rgba(0,0,0,0.7),
        0 0 18px rgba(34,197,94,0.45),
        0 0 35px rgba(34,197,94,0.25),
        0 6px 18px rgba(0,0,0,0.85);

    overflow: hidden;
}

/* HOVER */
.checkout-cta:hover {
    transform: translateX(-50%) scale(1.06) !important;

    background: linear-gradient(
        180deg,
        #6ee7b7 0%,
        #22c55e 45%,
        #166534 100%
    );

    box-shadow:
        inset 0 2px 10px rgba(255,255,255,0.45),
        inset 0 -6px 14px rgba(0,0,0,0.8),
        0 0 28px rgba(34,197,94,0.8),
        0 0 60px rgba(34,197,94,0.5),
        0 12px 30px rgba(0,0,0,0.95);
}

/* CLICK */
.checkout-cta:active {
    transform: translateX(-50%) scale(0.96) !important;
}

/* GLASS SHINE */
.checkout-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );

    transform: skewX(-20deg);
    opacity: 0.6;
}

/* FIX INTERACTION */
.bxc-background-image {
    pointer-events: auto !important;
}
/* =========================
   RESTORE DESCRIPTION (CHECKOUT ONLY)
========================= */

body.pay-page .bxc-description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    color: #cbd5f5;
    font-size: 14px;
    line-height: 1.6;

    margin-top: 12px;
    padding: 0 10px;
}
body.pay-page .bxc-box {
    overflow: visible !important;
}
/* =========================
   HIDE DESCRIPTION - SHOP ONLY (REAL FIX)
========================= */

body:not(.pay-page) .bxc-body p {
    display: none !important;
}
/* =========================
   SHOP ONLY - HIDE DESCRIPTION
========================= */
.shop-wrapper .bxc-body .bxc-text:not(.bxc-price),
.shop-wrapper .bxc-product .bxc-text:not(.bxc-price),
.shop-wrapper #bxc-shop-grid .bxc-text:not(.bxc-price) {
    display: none !important;
}

/* tighten shop card spacing after removing description */
.shop-wrapper .bxc-body {
    padding-bottom: 12px !important;
}
/* =========================
   SHOP CARD SPACING TIGHTEN
========================= */

/* Reduce overall padding */
.shop-wrapper .bxc-body {
    padding: 12px 16px !important;
}

/* Tighten title spacing */
.shop-wrapper .bxc-body h3,
.shop-wrapper .bxc-body .bxc-title {
    margin-bottom: 4px !important;
    line-height: 1.2;
}

/* Tighten price spacing */
.shop-wrapper .bxc-price,
.shop-wrapper .bxc-body .bxc-text.bxc-price {
    margin-top: 0 !important;
    font-size: 14px;
}
/* =========================
   SUBSCRIBE CTA
========================= */
.subscribe-cta {
    max-width: 600px;
    margin: 30px auto;
    padding: 25px;

    text-align: center;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.06),
        rgba(255,255,255,0.02)
    );

    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;

    backdrop-filter: blur(6px);

    box-shadow:
        0 10px 40px rgba(0,0,0,0.7),
        0 0 40px rgba(34,197,94,0.15);
}

.subscribe-cta h2 {
    margin-bottom: 8px;
    font-size: 22px;
}

.subscribe-cta p {
    color: #bfc7d5;
    margin-bottom: 15px;
}

#subscribe-form {
    display: flex;
    gap: 10px;
}

#subscribe-form input {
    flex: 1;
    border-radius: 8px;
}

#subscribe-form button {
    background: #22c55e;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
}

#subscribe-form button:hover {
    background: #16a34a;
}

#subscribe-success {
    margin-top: 15px;
    font-weight: bold;
    color: #22c55e;
}
/* =========================
   SUBSCRIBE SECTION (VELVET BACKDROP)
========================= */
.subscribe-section {
    position: relative;
    padding: 40px 20px;

    background:
        radial-gradient(circle at 50% 0%,
            rgba(34,197,94,0.15),
            transparent 60%
        ),
        linear-gradient(
            180deg,
            #020617 0%,
            #020617 40%,
            #020617 100%
        );
}

/* =========================
   GLASS CONTAINER (MATCH SHOP)
========================= */
.subscribe-container {
    max-width: 1000px;
    margin: 0 auto;

    padding: 30px;

    text-align: center;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.015)
    );

    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 18px;

    backdrop-filter: blur(10px);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.8),
        0 0 80px rgba(34,197,94,0.18),
        0 0 120px rgba(34,197,94,0.08);
}

/* =========================
   TYPOGRAPHY
========================= */
.subscribe-container h2 {
    font-size: 24px;
    font-weight: 700;
    color: #f9fafb;
    margin-bottom: 8px;
}

.subscribe-container p {
    color: #bfc7d5;
    margin-bottom: 20px;
}

/* =========================
   FORM (PREMIUM INLINE)
========================= */
#subscribe-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto;
}

/* INPUT */
#subscribe-form input {
    flex: 1;
    height: 46px;

    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;

    padding: 0 14px;
    color: #fff;

    transition: all 0.2s ease;
}

#subscribe-form input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 10px rgba(34,197,94,0.4);
}

/* BUTTON (MATCH PRIMARY CTA STYLE) */
#subscribe-form button {
    height: 46px;
    padding: 0 18px;

    font-weight: 700;
    border-radius: 10px;
    border: none;

    background: linear-gradient(
        180deg,
        #34d399 0%,
        #22c55e 50%,
        #15803d 100%
    );

    color: #f3fff3;
    cursor: pointer;

    box-shadow:
        inset 0 2px 6px rgba(255,255,255,0.3),
        inset 0 -4px 10px rgba(0,0,0,0.7),
        0 0 15px rgba(34,197,94,0.4);

    transition: all 0.25s ease;
}

#subscribe-form button:hover {
    transform: scale(1.05);

    box-shadow:
        0 0 25px rgba(34,197,94,0.7),
        0 0 50px rgba(34,197,94,0.4);
}

/* SUCCESS TEXT */
#subscribe-success {
    margin-top: 15px;
    font-weight: 600;
    color: #22c55e;
}/* =========================
   SUBSCRIBE SECTION (VELVET BACKDROP)
========================= */
.subscribe-section {
    position: relative;
    padding: 40px 20px;

    background:
        radial-gradient(circle at 50% 0%,
            rgba(34,197,94,0.15),
            transparent 60%
        ),
        linear-gradient(
            180deg,
            #020617 0%,
            #020617 40%,
            #020617 100%
        );
}

/* =========================
   GLASS CONTAINER (MATCH SHOP)
========================= */
.subscribe-container {
    max-width: 1000px;
    margin: 0 auto;

    padding: 30px;

    text-align: center;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.015)
    );

    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 18px;

    backdrop-filter: blur(10px);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.8),
        0 0 80px rgba(34,197,94,0.18),
        0 0 120px rgba(34,197,94,0.08);
}

/* =========================
   TYPOGRAPHY
========================= */
.subscribe-container h2 {
    font-size: 24px;
    font-weight: 700;
    color: #f9fafb;
    margin-bottom: 8px;
}

.subscribe-container p {
    color: #bfc7d5;
    margin-bottom: 20px;
}

/* =========================
   FORM (PREMIUM INLINE)
========================= */
#subscribe-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto;
}

/* INPUT */
#subscribe-form input {
    flex: 1;
    height: 46px;

    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;

    padding: 0 14px;
    color: #fff;

    transition: all 0.2s ease;
}

#subscribe-form input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 10px rgba(34,197,94,0.4);
}

/* BUTTON (MATCH PRIMARY CTA STYLE) */
#subscribe-form button {
    height: 46px;
    padding: 0 18px;

    font-weight: 700;
    border-radius: 10px;
    border: none;

    background: linear-gradient(
        180deg,
        #34d399 0%,
        #22c55e 50%,
        #15803d 100%
    );

    color: #f3fff3;
    cursor: pointer;

    box-shadow:
        inset 0 2px 6px rgba(255,255,255,0.3),
        inset 0 -4px 10px rgba(0,0,0,0.7),
        0 0 15px rgba(34,197,94,0.4);

    transition: all 0.25s ease;
}

#subscribe-form button:hover {
    transform: scale(1.05);

    box-shadow:
        0 0 25px rgba(34,197,94,0.7),
        0 0 50px rgba(34,197,94,0.4);
}

/* SUCCESS TEXT */
#subscribe-success {
    margin-top: 15px;
    font-weight: 600;
    color: #22c55e;
}
/* =========================
   MOBILE SPACING FIX (CTA → PRODUCTS)
========================= */
@media (max-width: 768px) {

    /* Reduce CTA section padding */
    .subscribe-section {
        padding: 20px 14px 10px;
    }

    /* Slightly tighten inside container */
    .subscribe-container {
        padding: 22px 18px;
    }

    /* Pull product container UP */
    .shop-wrapper {
        margin-top: 15px !important;
    }

    /* Reduce internal spacing of shop */
    #bxc-shop-grid {
        gap: 25px !important;
    }

}
/* =========================
   MOBILE PRODUCT CARD FIX
========================= */
@media (max-width: 768px) {

    /* Let cards expand properly */
    #bxc-shop-grid > div {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Reduce container padding slightly */
    .shop-wrapper {
        padding: 20px 14px !important;
    }

    /* Tighten grid spacing */
    #bxc-shop-grid {
        gap: 18px !important;
    }

}
@media (max-width: 768px) {

    .bxc-product {
        border-radius: 14px;
        overflow: hidden;
    }

}
/* =========================
   MOBILE SPACING – BALANCED (FINAL)
========================= */
@media (max-width: 768px) {

    /* Keep Boxcoin cleanup */
    .bxc-shop-logo {
        display: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .bxc-main {
        padding-top: 0 !important;
        margin-top: 15 !important;
    }

    /* Controlled spacing instead of zero */
    .shop-wrapper {
        padding: 16px 14px 20px !important;
        margin: 18px auto 25px !important;
    }

}
@media (max-width: 768px) {
    .subscribe-section {
        padding-bottom: 10px;
    }
}
/* =========================
   PREMIUM GREEN DIVIDER
========================= */
.section-divider {
    width: 80%;
    height: 2px;

    margin: 18px auto 10px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(34,197,94,0.8),
        rgba(110,231,183,0.9),
        rgba(34,197,94,0.8),
        transparent
    );

    border-radius: 2px;

    box-shadow:
        0 0 10px rgba(34,197,94,0.6),
        0 0 25px rgba(34,197,94,0.4);
}
.section-divider {
    opacity: 0.7;
    filter: blur(0.3px);
}
/* =========================
   SOFT DIVIDER (HERO → CTA)
========================= */
.section-divider-soft {
    opacity: 0.35;

    box-shadow:
        0 0 6px rgba(34,197,94,0.25),
        0 0 12px rgba(34,197,94,0.15);
}
.section-divider-soft {
    width: 60%;
}
/* =========================
   GLOBAL GLOW SYSTEM
========================= */
:root {
    --glow-primary:
        0 0 12px rgba(34,197,94,0.6),
        0 0 30px rgba(34,197,94,0.4),
        0 0 60px rgba(34,197,94,0.2);
}

/* CTA BUTTON PULSE */
#subscribe-form button {
    animation: glowPulse 2.8s ease-in-out infinite;
}

@keyframes glowPulse {
    0% {
        box-shadow:
            inset 0 2px 6px rgba(255,255,255,0.3),
            inset 0 -4px 10px rgba(0,0,0,0.7),
            0 0 10px rgba(34,197,94,0.3);
    }
    50% {
        box-shadow:
            inset 0 2px 6px rgba(255,255,255,0.3),
            inset 0 -4px 10px rgba(0,0,0,0.7),
            var(--glow-primary);
    }
    100% {
        box-shadow:
            inset 0 2px 6px rgba(255,255,255,0.3),
            inset 0 -4px 10px rgba(0,0,0,0.7),
            0 0 10px rgba(34,197,94,0.3);
    }
}

/* DIVIDER SYNC */
.section-divider {
    animation: dividerPulse 3s ease-in-out infinite;
}

@keyframes dividerPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}