/* =============================================
   SongSlipDB — Payment / Subscription Page
   Aesthetic: Dark Stage / Neon Rig
   Consistent with full system CSS
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;600;700&family=Barlow+Condensed:wght@300;400;700&display=swap');

:root {
    --neon-cyan:     #02df87;
    --neon-magenta:  #FF2D78;
    --neon-green:    #39FF14;
    --dark-base:     #080B12;
    --dark-mid:      #0E1220;
    --dark-card:     #131929;
    --dark-surface:  rgba(255,255,255,0.04);
    --border-glow:   rgba(2,223,135,0.18);
    --text-bright:   #F0F4FF;
    --text-muted:    #7A8BA8;
    --text-subtle:   #4A5A72;
    --font-display:  'Bebas Neue', sans-serif;
    --font-cond:     'Barlow Condensed', sans-serif;
    --font-body:     'Barlow', sans-serif;
    --radius-card:   16px;
    --transition:    0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100%;
    font-family: var(--font-body);
    background: var(--dark-base);
    color: var(--text-bright);
}

/* ======================================
   TWO-COLUMN LAYOUT
====================================== */
.main {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

/* ======================================
   LEFT — HERO (sticky)
====================================== */
.hero {
    position: sticky;
    top: 0;
    height: 100vh;
    background: var(--dark-base);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem;
    overflow: hidden;
    border-right: 1px solid var(--border-glow);
}

/* Ambient glow pools */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(2,223,135,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(57,255,20,0.05) 0%, transparent 55%);
    pointer-events: none;
}

/* Grid overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(2,223,135,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2,223,135,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.hero-content::before {
    content: '— SUBSCRIPTION PORTAL —';
    display: block;
    font-family: var(--font-cond);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--neon-cyan);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 0.95;
    color: var(--text-bright);
    margin-bottom: 1.2rem;
}

.hero p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-content::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), transparent);
    margin-top: 2rem;
    opacity: 0.5;
}

/* ======================================
   RIGHT — CONTENT PANEL
====================================== */
.content-section {
    background: var(--dark-mid);
    padding: 0 1.75rem 2.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* Top accent line */
.content-section::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%, var(--neon-cyan) 35%,
        var(--neon-magenta) 65%, transparent 100%);
    opacity: 0.55;
    margin-bottom: 1.75rem;
}

/* ── Logo ── */
.logo-container {
    text-align: center;
    margin-bottom: 1.75rem;
}

.logo-container img {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(2,223,135,0.18));
}

/* ── Content wrapper ── */
.content {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── Payment info block ── */
.payment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ── Heading ── */
h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--neon-cyan);
    margin-bottom: 1.25rem;
}

/* ── Price / description card ── */
.payment-info p {
    background: var(--dark-card);
    border: 1px solid var(--border-glow);
    border-left: 3px solid rgba(57,255,20,0.3);
    border-radius: var(--radius-card);
    padding: 1.1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-muted);
    text-align: left;
    width: 100%;
    margin-bottom: 0;
}

/* Price highlight — green kept intentionally for price/value emphasis */
.payment-info p strong,
.payment-info p b {
    color: var(--neon-green);
    font-weight: 600;
}

/* ======================================
   BUTTON GROUP
====================================== */
.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
    width: 100%;
}

/* Back button */
.back-button {
    display: block;
    width: 100%;
    max-width: 300px;
    text-decoration: none;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.82rem 1.5rem;
    background: linear-gradient(135deg, #1A2540, #1E2D50);
    border: 1px solid rgba(2,223,135,0.25);
    border-radius: 8px;
    color: var(--neon-cyan);
    font-family: var(--font-cond);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn:hover {
    border-color: rgba(2,223,135,0.55);
    box-shadow: 0 0 20px rgba(2,223,135,0.18);
    transform: translateY(-1px);
}

.btn:active { transform: translateY(0); }

/* PayPal container — constrained width */
#paypal-button-container-P-5XN144283E477630FMXDZHWA {
    width: 100%;
    max-width: 300px;
}

/* Separator label above PayPal */
.button-group::before {
    content: 'or subscribe with';
    font-family: var(--font-cond);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-subtle);
    display: block;
    order: 1;         /* sits between back btn and paypal */
    margin-top: 0.25rem;
}

/* Reorder: back=0, label=1, paypal=2 */
.back-button { order: 0; }
#paypal-button-container-P-5XN144283E477630FMXDZHWA { order: 2; }

/* ======================================
   FOOTER DISCLAIMER
====================================== */
footer {
    margin-top: 2rem;
    padding: 0.85rem 1rem;
    background: var(--dark-surface);
    border: 1px solid var(--border-glow);
    border-radius: 10px;
}

footer p {
    font-family: var(--font-cond);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text-subtle);
    text-align: center;
    line-height: 1.6;
}

/* ======================================
   SWEETALERT2 — match dark neon theme
====================================== */
.swal2-popup {
    background: var(--dark-card) !important;
    border: 1px solid rgba(2,223,135,0.2) !important;
    border-radius: var(--radius-card) !important;
    font-family: var(--font-body) !important;
}

.swal2-title {
    color: var(--text-bright) !important;
    font-family: var(--font-display) !important;
    font-size: 1.6rem !important;
    letter-spacing: 0.06em !important;
    font-weight: 400 !important;
}

.swal2-html-container,
.swal2-content {
    color: var(--text-muted) !important;
    font-family: var(--font-body) !important;
    font-size: 0.92rem !important;
}

.swal2-icon.swal2-success {
    border-color: var(--neon-green) !important;
    color: var(--neon-green) !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(57,255,20,0.3) !important;
}

.swal2-icon.swal2-error {
    border-color: var(--neon-magenta) !important;
    color: var(--neon-magenta) !important;
}

.swal2-confirm {
    background: linear-gradient(135deg, #1A2540, #1E2D50) !important;
    border: 1px solid rgba(2,223,135,0.35) !important;
    border-radius: 8px !important;
    color: var(--neon-cyan) !important;
    font-family: var(--font-cond) !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    padding: 0.65rem 2rem !important;
    box-shadow: none !important;
}

.swal2-confirm:hover {
    border-color: var(--neon-cyan) !important;
    box-shadow: 0 0 16px rgba(2,223,135,0.25) !important;
    background: rgba(2,223,135,0.08) !important;
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 1024px) {
    .main {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .content-section {
        order: 1;
        padding: 0 1.25rem 2.5rem;
    }

    .hero {
        order: 2;
        position: relative;
        height: auto;
        flex: none;
        padding: 2.5rem 1.5rem;
        text-align: center;
        border-right: none;
        border-top: 1px solid var(--border-glow);
        min-height: 220px;
    }

    .hero-content { margin: 0 auto; }
    .hero-content::before { text-align: center; }
    .hero p { margin: 0 auto; }
    .hero-content::after { margin: 1.5rem auto 0; }

    h2 { font-size: 1.8rem; }
}

@media (max-width: 740px) {
    .hero { display: none; }

    .content-section {
        padding: 0 1rem 2rem;
        min-height: 100vh;
    }

    .logo-container img { max-width: 180px; }

    h2 { font-size: 1.5rem; }

    .payment-info p { font-size: 0.88rem; }

    .btn {
        font-size: 0.88rem;
        padding: 0.72rem 1.25rem;
    }

    footer p { font-size: 0.6rem; }
}