/* ========== BanqPass — ticket marketplace stylesheet ========== */
:root {
    --bp-primary: #e63946;
    --bp-primary-dark: #c92d3b;
    --bp-dark: #0a1628;
    --bp-dark-2: #152238;
    --bp-text: #0f172a;
    --bp-muted: #64748b;
    --bp-border: #e2e8f0;
    --bp-bg: #ffffff;
    --bp-bg-grey: #f8fafc;
    --bp-success: #10b981;
    --bp-radius: 10px;
    --bp-radius-lg: 16px;
    --bp-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --bp-shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
    --bp-shadow-lg: 0 20px 40px rgba(0,0,0,.12);
}

* { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--bp-text); background: var(--bp-bg);
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.bp-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.bp-container-narrow { max-width: 760px; }

/* ========== HEADER ========== */
.bp-header {
    background: #fff; border-bottom: 1px solid var(--bp-border);
    position: sticky; top: 0; z-index: 100;
    box-shadow: var(--bp-shadow);
}
.bp-header .bp-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.bp-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.bp-brand-mark {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--bp-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 19px;
}
.bp-brand-text { color: var(--bp-dark); }
.bp-nav { display: flex; align-items: center; gap: 28px; }
.bp-nav a {
    font-weight: 600; font-size: 14px; color: var(--bp-text);
    padding: 8px 0; border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.bp-nav a:hover { color: var(--bp-primary); border-bottom-color: var(--bp-primary); }
.bp-header-actions { display: flex; gap: 10px; }

@media (max-width: 768px) {
    .bp-header .bp-container { height: 60px; }
    .bp-nav { display: none; }
}

/* ========== BUTTONS ========== */
.bp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: var(--bp-radius);
    font-weight: 600; font-size: 14px; cursor: pointer; border: none;
    transition: transform .08s, box-shadow .15s, background .15s;
    text-decoration: none; line-height: 1;
}
.bp-btn-primary { background: var(--bp-primary); color: #fff; box-shadow: 0 2px 6px rgba(230,57,70,.3); }
.bp-btn-primary:hover { background: var(--bp-primary-dark); box-shadow: 0 6px 16px rgba(230,57,70,.4); }
.bp-btn-primary:active { transform: translateY(1px); }
.bp-btn-ghost { background: transparent; color: var(--bp-text); border: 1px solid var(--bp-border); }
.bp-btn-ghost:hover { background: var(--bp-bg-grey); border-color: var(--bp-text); }
.bp-btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.bp-btn-outline-light:hover { background: #fff; color: var(--bp-dark); }
.bp-btn-block { display: flex; width: 100%; }
.bp-btn-sm { padding: 8px 16px; font-size: 13px; }
.bp-btn-lg { padding: 16px 28px; font-size: 16px; }

/* ========== HERO ========== */
.bp-hero {
    background-size: cover; background-position: center;
    color: #fff;
    padding: 100px 0 120px;
    min-height: 520px;
    display: flex; align-items: center;
}
.bp-hero-content { max-width: 720px; }
.bp-hero-badge {
    display: inline-block;
    padding: 6px 14px; border-radius: 20px;
    background: var(--bp-primary); color: #fff;
    font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
    margin-bottom: 20px;
}
.bp-hero-title { font-size: 56px; font-weight: 900; line-height: 1.05; margin: 0 0 16px; }
.bp-hero-subtitle { font-size: 20px; color: rgba(255,255,255,.85); margin: 0 0 24px; font-weight: 500; }
.bp-hero-meta {
    display: flex; flex-wrap: wrap; gap: 20px;
    font-size: 15px; color: rgba(255,255,255,.9); margin-bottom: 32px;
}
.bp-hero-cta { display: flex; gap: 12px; margin-bottom: 24px; }
.bp-hero-trust { display: flex; gap: 24px; font-size: 13px; color: rgba(255,255,255,.7); }
@media (max-width: 768px) {
    .bp-hero { padding: 60px 0 70px; min-height: 420px; }
    .bp-hero-title { font-size: 36px; }
    .bp-hero-subtitle { font-size: 16px; }
    .bp-hero-meta { font-size: 13px; gap: 12px; }
    .bp-hero-cta { flex-direction: column; }
    .bp-hero-trust { flex-wrap: wrap; gap: 12px; font-size: 12px; }
}

/* ========== SECTIONS ========== */
.bp-section { padding: 72px 0; }
.bp-section-grey { background: var(--bp-bg-grey); }
.bp-section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 32px; gap: 20px;
}
.bp-section-title { font-size: 32px; font-weight: 800; margin: 0; letter-spacing: -0.5px; }
.bp-section-sub { color: var(--bp-muted); font-size: 15px; margin: 6px 0 0; }
.bp-section-link { font-weight: 600; color: var(--bp-primary); font-size: 14px; }
.bp-section-link:hover { text-decoration: underline; }
@media (max-width: 768px) {
    .bp-section { padding: 48px 0; }
    .bp-section-title { font-size: 24px; }
}

/* ========== CATEGORY CARDS ========== */
.bp-cat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.bp-cat-card {
    position: relative; aspect-ratio: 16/10;
    background-size: cover; background-position: center;
    border-radius: var(--bp-radius-lg);
    overflow: hidden; color: #fff;
    display: flex; align-items: flex-end;
    transition: transform .2s, box-shadow .2s;
    box-shadow: var(--bp-shadow-md);
}
.bp-cat-card:hover { transform: translateY(-4px); box-shadow: var(--bp-shadow-lg); }
.bp-cat-card-inner { padding: 20px; }
.bp-cat-card-inner h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.bp-cat-card-inner span { font-size: 13px; color: rgba(255,255,255,.85); }

/* ========== EVENT CARDS ========== */
.bp-event-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.bp-event-card {
    background: #fff; border-radius: var(--bp-radius-lg);
    overflow: hidden; box-shadow: var(--bp-shadow);
    transition: transform .15s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.bp-event-card:hover { transform: translateY(-4px); box-shadow: var(--bp-shadow-lg); }
.bp-event-image {
    aspect-ratio: 16/10; background-size: cover; background-position: center;
    position: relative;
}
.bp-event-cat {
    position: absolute; top: 12px; left: 12px;
    padding: 5px 10px; border-radius: 4px;
    background: rgba(0,0,0,.72); color: #fff;
    font-size: 10px; font-weight: 800; letter-spacing: 1px;
}
.bp-event-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.bp-event-date { color: var(--bp-primary); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.bp-event-title { font-size: 17px; font-weight: 800; margin: 0 0 6px; line-height: 1.25; }
.bp-event-venue { color: var(--bp-muted); font-size: 13px; margin-bottom: 16px; flex: 1; }
.bp-event-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; border-top: 1px solid var(--bp-border);
}
.bp-event-price { font-weight: 700; font-size: 15px; }
.bp-event-arrow { color: var(--bp-primary); font-weight: 600; font-size: 13px; }

/* ========== TRUST ========== */
.bp-trust-section { background: var(--bp-dark); padding: 56px 0; color: #fff; }
.bp-trust-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.bp-trust-item { text-align: center; }
.bp-trust-icon { font-size: 36px; margin-bottom: 12px; }
.bp-trust-item h4 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.bp-trust-item p { color: rgba(255,255,255,.65); font-size: 13px; margin: 0; line-height: 1.5; }

/* ========== PAGE HEADER ========== */
.bp-page-header { padding: 32px 0 24px; background: var(--bp-bg-grey); border-bottom: 1px solid var(--bp-border); }
.bp-page-title { font-size: 36px; font-weight: 800; margin: 8px 0 4px; letter-spacing: -0.5px; }
.bp-page-sub { color: var(--bp-muted); margin: 0 0 20px; }
.bp-crumbs { font-size: 13px; color: var(--bp-muted); margin-bottom: 8px; }
.bp-crumbs a { color: var(--bp-muted); }
.bp-crumbs a:hover { color: var(--bp-primary); }
.bp-crumbs span { margin: 0 8px; }
.bp-crumbs-light, .bp-crumbs-light a { color: rgba(255,255,255,.75); }
.bp-crumbs-light a:hover { color: #fff; }

.bp-cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bp-cat-pill {
    padding: 8px 16px; border-radius: 20px;
    background: #fff; border: 1px solid var(--bp-border);
    font-weight: 600; font-size: 13px; transition: all .15s;
}
.bp-cat-pill:hover { border-color: var(--bp-primary); color: var(--bp-primary); }
.bp-cat-pill.is-active { background: var(--bp-dark); color: #fff; border-color: var(--bp-dark); }

.bp-empty { padding: 48px; text-align: center; color: var(--bp-muted); background: #fff; border-radius: var(--bp-radius); }
.bp-empty a { color: var(--bp-primary); font-weight: 600; }

/* ========== EVENT DETAIL ========== */
.bp-event-hero {
    background-size: cover; background-position: center;
    color: #fff; padding: 80px 0 60px;
    min-height: 380px;
}
.bp-event-hero-title { font-size: 48px; font-weight: 900; margin: 10px 0 10px; letter-spacing: -1px; }
.bp-event-hero-sub { font-size: 18px; color: rgba(255,255,255,.85); margin: 0 0 20px; }
.bp-event-hero-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; }
@media (max-width: 768px) { .bp-event-hero-title { font-size: 30px; } }

.bp-event-layout {
    display: grid; grid-template-columns: 1fr 340px;
    gap: 48px; align-items: start;
}
.bp-event-main h2 { font-size: 24px; font-weight: 800; margin: 0 0 14px; }
.bp-event-main p { color: var(--bp-text); font-size: 15px; }

.bp-tier-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.bp-tier {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px; border: 1px solid var(--bp-border); border-radius: var(--bp-radius);
    background: #fff;
}
.bp-tier:hover { border-color: var(--bp-primary); box-shadow: 0 2px 10px rgba(230,57,70,.08); }
.bp-tier-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.bp-tier-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.bp-tier-badge { padding: 3px 8px; border-radius: 4px; background: var(--bp-primary); color: #fff; font-size: 10px; font-weight: 700; }
.bp-tier-meta { color: var(--bp-muted); font-size: 13px; }
.bp-tier-price { text-align: right; }
.bp-tier-amount { font-size: 22px; font-weight: 800; }
.bp-tier-unit { font-size: 11px; color: var(--bp-muted); margin-bottom: 10px; }

.bp-venue-info { padding: 20px; background: var(--bp-bg-grey); border-radius: var(--bp-radius); }
.bp-venue-info h3 { margin: 0; font-size: 18px; }
.bp-venue-info p { margin: 4px 0 0; color: var(--bp-muted); }

.bp-event-aside { position: sticky; top: 92px; }
.bp-sticky-buy { padding: 24px; background: #fff; border-radius: var(--bp-radius-lg); box-shadow: var(--bp-shadow-md); border: 1px solid var(--bp-border); }
.bp-sticky-label { font-size: 11px; font-weight: 700; color: var(--bp-muted); letter-spacing: 1px; }
.bp-sticky-price { font-size: 36px; font-weight: 900; margin: 4px 0; }
.bp-sticky-note { font-size: 12px; color: var(--bp-muted); margin-bottom: 16px; }
.bp-sticky-perks { margin-top: 16px; font-size: 13px; color: var(--bp-text); }
.bp-sticky-perks div { padding: 6px 0; }
@media (max-width: 968px) {
    .bp-event-layout { grid-template-columns: 1fr; }
    .bp-event-aside { position: static; }
}

/* ========== CHECKOUT ========== */
.bp-checkout-wrap { padding: 40px 0; background: var(--bp-bg-grey); min-height: 100vh; }
.bp-checkout-layout {
    display: grid; grid-template-columns: 1fr 380px;
    gap: 32px; margin-top: 24px; align-items: start;
}
.bp-checkout-main { background: #fff; padding: 32px; border-radius: var(--bp-radius-lg); box-shadow: var(--bp-shadow); }
.bp-step { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.bp-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--bp-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.bp-step h2 { margin: 0; font-size: 18px; font-weight: 700; }

.bp-form { display: flex; flex-direction: column; gap: 14px; }
.bp-form label { display: block; font-weight: 600; font-size: 13px; color: var(--bp-text); }
.bp-form input, .bp-form select {
    width: 100%; padding: 12px 14px; margin-top: 6px;
    border: 1px solid var(--bp-border); border-radius: 8px;
    font-size: 15px; font-family: inherit; background: #fff;
    transition: border .15s, box-shadow .15s;
}
.bp-form input:focus, .bp-form select:focus {
    outline: none; border-color: var(--bp-primary);
    box-shadow: 0 0 0 3px rgba(230,57,70,.1);
}
.bp-form input.is-invalid { border-color: #ef4444; }
.bp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bp-input-wrap { position: relative; }
.bp-brands { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: flex; gap: 4px; margin-top: 3px; }
.bp-brands img { width: 28px; height: 18px; border-radius: 3px; }
.bp-pay-note { padding: 12px 14px; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px; font-size: 13px; color: #0369a1; margin-bottom: 14px; }
.bp-form-error { padding: 10px 14px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 8px; font-size: 13px; }
.bp-pay-foot { font-size: 12px; color: var(--bp-muted); text-align: center; margin: 12px 0 0; }
.bp-pay-foot a { color: var(--bp-primary); }

.bp-order-summary { background: #fff; padding: 24px; border-radius: var(--bp-radius-lg); box-shadow: var(--bp-shadow); position: sticky; top: 92px; }
.bp-order-summary h3 { margin: 0 0 20px; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.bp-order-item { display: flex; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--bp-border); }
.bp-order-thumb { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.bp-order-item h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.bp-order-meta { font-size: 12px; color: var(--bp-muted); }
.bp-order-tier { font-size: 13px; margin-bottom: 12px; }
.bp-order-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.bp-order-total { font-size: 18px; font-weight: 800; padding-top: 16px; margin-top: 8px; border-top: 2px solid var(--bp-text); }
.bp-order-perks { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--bp-border); font-size: 12px; color: var(--bp-muted); }
.bp-order-perks div { padding: 4px 0; }
@media (max-width: 968px) {
    .bp-checkout-layout { grid-template-columns: 1fr; }
    .bp-order-summary { position: static; }
    .bp-checkout-main { padding: 20px; }
}

/* ========== 3DS OVERLAY ========== */
.bp-3ds-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 2147483646; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bp-3ds-modal { width: 100%; max-width: 440px; height: 640px; max-height: 95vh; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* ========== INFO / STATIC PAGES ========== */
.bp-info-page { padding: 80px 0; text-align: center; }
.bp-icon-circle { width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 20px; }
.bp-icon-success { background: var(--bp-success); }
.bp-icon-cancel { background: #f59e0b; }
.bp-info-page h1 { font-size: 28px; margin: 0 0 12px; }
.bp-info-sub { color: var(--bp-muted); font-size: 16px; margin-bottom: 28px; }
.bp-info-note { text-align: left; background: var(--bp-bg-grey); padding: 20px; border-radius: 10px; margin: 0 auto 28px; max-width: 480px; }
.bp-info-note ul { margin: 10px 0 0; padding-left: 20px; color: var(--bp-text); }
.bp-info-note li { padding: 4px 0; }

.bp-static-page { padding: 48px 0 72px; }
.bp-static-page h2 { font-size: 22px; margin: 32px 0 10px; }
.bp-static-page p { color: var(--bp-text); font-size: 15px; }
.bp-static-page a { color: var(--bp-primary); }

/* ========== FOOTER ========== */
.bp-footer { background: var(--bp-dark); color: rgba(255,255,255,.75); padding: 56px 0 24px; margin-top: 48px; }
.bp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.bp-footer h4 { color: #fff; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 12px; }
.bp-footer a { display: block; padding: 4px 0; font-size: 13px; color: rgba(255,255,255,.65); }
.bp-footer a:hover { color: #fff; }
.bp-footer .bp-brand .bp-brand-text { color: #fff; }
.bp-footer-tag { color: rgba(255,255,255,.6); font-size: 13px; margin: 12px 0 0; }
.bp-footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.5); gap: 16px; flex-wrap: wrap; }
.bp-footer-badges { color: rgba(255,255,255,.65); }
@media (max-width: 768px) { .bp-footer-grid { grid-template-columns: 1fr 1fr; } .bp-footer-bottom { flex-direction: column; gap: 8px; text-align: center; } }
