:root {
    --ink: #111827;
    --muted: #667085;
    --line: #dbe3ef;
    --soft: #f5f7fb;
    --navy: #07111f;
    --blue: #0284c7;
    --blue-dark: #0369a1;
    --green: #166534;
    --red: #991b1b;
    --card: #ffffff;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; background: var(--soft); color: var(--ink); font-size: 15px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
label { display: block; font-weight: 800; margin: 14px 0 7px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 16px; font: inherit; background: #fff; }
textarea { resize: vertical; }

.site-header { position: relative; z-index: 20; background: rgba(7, 17, 31, .96); color: #fff; padding: 17px 7%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; backdrop-filter: blur(10px); }
.brand { font-size: 28px; font-weight: 900; letter-spacing: .2px; }
.brand span { color: #38bdf8; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 20px; flex-wrap: wrap; font-weight: 800; }
.nav-cta { background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 10px; }
.language-switch { display: inline-flex; align-items: center; gap: 6px; padding: 4px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); }
.language-switch a { display: grid; place-items: center; min-width: 34px; height: 30px; border-radius: 999px; color: #dbeafe; font-size: 12px; font-weight: 900; text-decoration: none; }
.language-switch a.active { background: #fff; color: var(--navy); }

.hero { min-height: 72vh; display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: center; padding: 72px 7%; background: linear-gradient(rgba(7,17,31,.78), rgba(7,17,31,.78)), url("https://images.unsplash.com/photo-1501281668745-f7f57925c3b4?auto=format&fit=crop&w=1800&q=80") center/cover; color: #fff; }
.hero h1 { font-size: 48px; line-height: 1.06; margin: 0 0 18px; max-width: 780px; }
.hero p { color: #e5edf7; font-size: 17px; line-height: 1.62; max-width: 680px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.eyebrow { margin: 0 0 10px; color: #38bdf8; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }

.search-card, .auth-card, .checkout-form, .contact-card, .setup-card { background: var(--card); color: var(--ink); padding: 30px; border-radius: 18px; box-shadow: 0 24px 65px rgba(0,0,0,.22); }
.search-card h2, .auth-card h1 { margin-top: 0; }

.btn { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 10px; padding: 13px 18px; font-weight: 900; cursor: pointer; min-height: 46px; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); }
.btn.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.24); }
.btn.dark { background: var(--navy); color: #fff; }
.btn.full { width: 100%; }

.section { padding: 58px 7%; }
.section-title { margin-bottom: 26px; }
.section-title h2, .page-hero h1 { margin: 0; font-size: 34px; }
.center-row { display: flex; justify-content: center; margin-top: 28px; }
.page-hero { background: #0f172a; color: #fff; padding: 58px 7%; }
.page-hero p { color: #dbeafe; max-width: 760px; line-height: 1.7; }

.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 36px rgba(15, 23, 42, .12); display: flex; flex-direction: column; }
.event-card-cover { position: relative; display: block; min-height: 210px; background: #111827; overflow: hidden; }
.event-card-cover img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform .25s ease; }
.event-card-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.68)); pointer-events: none; }
.event-card:hover .event-card-cover img { transform: scale(1.04); }
.event-card-cover.logo-cover { display: grid; place-items: center; padding: 22px; }
.event-card-cover.logo-cover img { width: min(78%, 260px); height: 138px; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 14px 22px rgba(0,0,0,.28)); }
.event-card-cover.logo-cover::after { background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.68)); }
.cover-badge { position: absolute; left: 16px; bottom: 14px; z-index: 2; display: inline-flex; max-width: calc(100% - 32px); color: #fff; background: rgba(15,23,42,.82); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 8px 11px; font-size: 12px; font-weight: 900; }
.event-card-visual { width: 100%; height: 210px; }
.visual-poster { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; background: #111; }
.visual-poster::before { content: ""; position: absolute; inset: -35%; z-index: -2; background: radial-gradient(circle at 25% 20%, rgba(255,255,255,.28), transparent 30%), linear-gradient(135deg, #111827, #475467); }
.visual-poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.62)); }
.visual-poster strong { display: block; font-size: 34px; line-height: .95; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.visual-poster span { display: block; font-size: 14px; font-weight: 900; margin-top: 10px; }
.visual-worldcup::before { background: radial-gradient(circle at 76% 24%, #f7e38b 0 8%, transparent 9%), repeating-linear-gradient(135deg, #6ba23a 0 16px, #92bf45 16px 32px); }
.visual-nfl::before { background: linear-gradient(135deg, #06264b, #c61b32); }
.visual-nba::before { background: linear-gradient(135deg, #123b86, #c8102e); }
.visual-mlb::before { background: linear-gradient(135deg, #0b3b75, #d1182d); }
.visual-ucl::before { background: radial-gradient(circle at 75% 20%, #fff 0 2%, transparent 3%), linear-gradient(135deg, #090c33, #2846b8); }
.visual-league-football::before { background: linear-gradient(135deg, #0b7a3b, #111827); }
.visual-f1::before { background: repeating-linear-gradient(135deg, #0f172a 0 16px, #ef233c 16px 32px, #fff 32px 38px); }
.visual-tennis::before { background: linear-gradient(135deg, #1d7c44, #d6ff44); }
.visual-concert::before { background: linear-gradient(135deg, #5b21b6, #db2777); }
.cover-worldcup { background: repeating-linear-gradient(135deg, #6fa13c 0 18px, #92bf45 18px 36px); }
.cover-ucl { background: radial-gradient(circle at 70% 22%, rgba(255,255,255,.35), transparent 18%), linear-gradient(135deg, #070a2f, #2248c8); }
.cover-premier { background: linear-gradient(135deg, #3b0764, #00ff87); }
.cover-laliga { background: linear-gradient(135deg, #07111f, #f97316); }
.cover-seriea { background: linear-gradient(135deg, #082f49, #e0f2fe); }
.cover-bundesliga { background: linear-gradient(135deg, #111827, #dc2626); }
.cover-ligue1 { background: linear-gradient(135deg, #07111f, #c7f000); }
.cover-mls { background: linear-gradient(135deg, #0f172a, #006bb6 55%, #e2231a); }
.cover-nba { background: linear-gradient(135deg, #17408b, #c9082a); }
.cover-nfl { background: linear-gradient(135deg, #003b79, #d50a0a); }
.cover-mlb { background: linear-gradient(135deg, #002d72, #d50032); }
.cover-f1 { background: repeating-linear-gradient(135deg, #111827 0 18px, #e10600 18px 36px, #fff 36px 44px); }
.cover-tennis { background: linear-gradient(135deg, #0f5132, #d9f99d); }
.event-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event-card h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.event-card p { margin: 0; color: #4b5563; line-height: 1.5; }
.pill-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-block; align-self: flex-start; color: #075985; background: #e0f2fe; border-radius: 999px; padding: 7px 10px; font-weight: 900; font-size: 12px; }
.muted-pill { color: #344054; background: #eef2f7; }
.competition-line { color: #111827 !important; font-weight: 900; }
.card-meta { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.card-meta strong { color: var(--ink); }

.category-block { margin-top: 34px; }
.category-block:first-of-type { margin-top: 0; }
.category-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.category-heading h2, .category-heading h3 { margin: 0; font-size: 25px; }
.category-heading p { margin: 6px 0 0; color: var(--muted); }
.category-heading a { font-weight: 900; color: var(--blue); }

.filter-bar { display: grid; grid-template-columns: 1.4fr .7fr auto; gap: 12px; margin-bottom: 24px; background: #fff; padding: 16px; border-radius: 16px; box-shadow: 0 10px 28px rgba(15,23,42,.08); }

.event-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding: 48px 7%; align-items: start; }
.event-visual img { width: 100%; height: 520px; object-fit: cover; border-radius: 18px; box-shadow: 0 20px 55px rgba(15,23,42,.16); }
.event-info { background: #fff; border-radius: 18px; padding: 30px; box-shadow: 0 14px 36px rgba(15,23,42,.12); }
.event-info h1 { font-size: 42px; margin: 14px 0; line-height: 1.1; }
.event-info p { color: #4b5563; line-height: 1.7; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.info-grid div { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.info-grid strong, .info-grid span { display: block; }
.info-grid span { color: #4b5563; margin-top: 5px; }

.ticket-list { background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 14px 36px rgba(15,23,42,.12); }
.ticket-row { margin: 0 0 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; }
.ticket-row input { width: auto; }
.ticket-row span { display: block; color: var(--muted); margin-top: 4px; }
.quantity-line { max-width: 220px; margin-bottom: 18px; }

.split-band { background: #fff; display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.features div { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.features strong, .features span { display: block; }
.features span { color: var(--muted); margin-top: 8px; }

.auth-page, .setup-screen { min-height: 72vh; display: grid; place-items: center; padding: 48px 7%; }
.auth-card { width: min(480px, 100%); box-shadow: 0 20px 55px rgba(15,23,42,.16); }
.auth-card p { color: var(--muted); }
.alert { border-radius: 12px; padding: 13px; margin-bottom: 14px; }
.alert.error { background: #fee2e2; color: var(--red); }
.alert.success { background: #dcfce7; color: var(--green); }

.checkout-layout, .contact-layout { padding: 48px 7%; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.checkout-summary { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 36px rgba(15,23,42,.12); }
.checkout-summary img { height: 300px; width: 100%; object-fit: cover; }
.checkout-summary > div { padding: 24px; }
.total-box { display: flex; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 16px; background: var(--soft); border-radius: 12px; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fine-print { color: var(--muted); font-size: 13px; }
.manual-payment-note { display: grid; gap: 6px; padding: 15px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; color: #0f172a; line-height: 1.45; }
.manual-payment-note strong { color: #0b4db3; }
.card-payment-choice { display: grid; gap: 9px; padding: 18px; background: #f8fafc; border: 2px solid #bfdbfe; border-radius: 14px; color: #0f172a; box-shadow: 0 10px 26px rgba(2,132,199,.10); }
.card-payment-choice strong { font-size: 18px; color: #07111f; }
.card-payment-choice p { margin: 0; color: #475569; line-height: 1.5; }
.card-icon-row { display: flex; gap: 8px; flex-wrap: wrap; }
.card-icon-row span { display: inline-grid; place-items: center; min-height: 30px; padding: 6px 10px; border-radius: 7px; background: #07111f; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .02em; }
.safe-card-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-top: 8px; }
.safe-card-fields label { margin: 0; font-size: 12px; color: #334155; }
.safe-card-fields input, .safe-card-fields select { min-height: 44px; margin-top: 6px; background: #fff; }
.ticket-warning { display: grid; gap: 8px; margin: 18px 0; padding: 18px 20px; border-radius: 14px; background: #fff7ed; border: 2px solid #f59e0b; color: #7c2d12; line-height: 1.5; box-shadow: 0 10px 24px rgba(245,158,11,.16); }
.ticket-warning strong { font-size: 18px; color: #9a3412; text-transform: uppercase; letter-spacing: .03em; }
.ticket-warning span { font-weight: 650; }
.ticket-warning b { color: #111827; }
.resale-disclaimer { margin-top: 18px; padding: 16px; background: #f8fafc; border: 1px solid #dbe3ef; border-left: 5px solid #0284c7; border-radius: 14px; color: #334155; line-height: 1.55; }
.resale-disclaimer strong { display: block; margin-bottom: 8px; color: #07111f; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.resale-disclaimer p { margin: 8px 0; }
.resale-disclaimer a { color: #0369a1; font-weight: 900; text-decoration: underline; }
.bank-transfer-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr); gap: 28px; align-items: start; }
.bank-payment-card h1 { margin-bottom: 10px; }
.bank-details, .proof-upload-form { margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #f8fafc; }
.bank-details h2, .proof-upload-form h2 { margin: 0 0 14px; font-size: 22px; }
.manual-payment-box { margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #f8fafc; }
.manual-payment-box h2 { margin: 0 0 12px; font-size: 22px; }
.manual-payment-box p { color: #334155; line-height: 1.6; }
.stripe-payment-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr); gap: 28px; align-items: start; }
.stripe-payment-card h1 { margin-bottom: 14px; }
.stripe-card-form { display: grid; gap: 18px; margin-top: 22px; }
.stripe-element-box { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 12px 28px rgba(15,23,42,.08); }
.payment-message { min-height: 22px; color: #991b1b; font-weight: 800; }
.bank-line { display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid #e5e7eb; }
.bank-line:first-of-type { border-top: 0; }
.bank-line span { color: var(--muted); font-weight: 900; }
.bank-line strong { font-size: 18px; overflow-wrap: anywhere; }
.bank-line.highlight { background: #eff6ff; margin: 10px -10px -4px; padding: 14px 10px; border: 1px solid #bfdbfe; border-radius: 12px; }
.proof-upload-form input[type="file"] { background: #fff; border-style: dashed; }
.bank-ticket-preview { overflow: visible; }
.bank-ticket-preview > div { padding-bottom: 10px; }
.bank-ticket-preview .mth-ticket-card { margin: 0; border-radius: 0 0 18px 18px; box-shadow: none; }

.confirmation-card, .empty-state { background: #fff; border-radius: 18px; padding: 30px; box-shadow: 0 14px 36px rgba(15,23,42,.12); }
.confirmation-card h1 { font-size: 42px; margin: 0 0 10px; }
.confirmation-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.mth-ticket-card { margin-top: 24px; background: #07111f; color: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 44px rgba(15,23,42,.18); }
.ticket-brand { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; background: #0d1626; border-bottom: 1px dashed rgba(255,255,255,.28); }
.ticket-brand strong { font-size: 28px; font-style: italic; font-weight: 900; }
.ticket-brand span { color: #56a7ff; }
.ticket-brand em { font-style: normal; color: #cbd5e1; font-weight: 800; }
.ticket-main { display: grid; grid-template-columns: 1fr 150px; gap: 22px; align-items: center; padding: 24px 22px; }
.ticket-kicker { margin: 0 0 8px; color: #93c5fd; font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.ticket-main h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.12; }
.ticket-main p { margin: 6px 0; color: #dbeafe; }
.ticket-code-block { text-align: center; }
.ticket-code-block strong { display: block; margin-top: 10px; font-size: 14px; letter-spacing: .06em; }
.ticket-qr { width: 136px; min-height: 136px; margin: auto; display: grid; place-items: center; gap: 5px; background: #fff; padding: 8px; border-radius: 12px; }
.ticket-qr img { width: 118px; height: 118px; display: block; }
.ticket-qr small { color: #111827; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.ticket-code-block a { display: inline-block; margin-top: 8px; color: #93c5fd; font-size: 12px; font-weight: 900; text-decoration: none; }
.ticket-status { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(59,130,246,.28); border-bottom: 1px solid rgba(255,255,255,.14); }
.ticket-status span { display: block; padding: 11px 14px; background: #0b1b31; color: #dbeafe; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ticket-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); }
.ticket-meta div { padding: 15px; background: #111c2e; }
.ticket-meta span, .ticket-meta strong { display: block; }
.ticket-meta span { color: #9ca3af; font-size: 12px; text-transform: uppercase; font-weight: 900; margin-bottom: 6px; }
.ticket-note { margin: 0; padding: 14px 22px; color: #cbd5e1; background: #0d1626; font-size: 13px; }
.verification-card.valid { border-top: 6px solid #16a34a; }
.verification-card.pending { border-top: 6px solid #f59e0b; }
.verification-card.invalid { border-top: 6px solid #dc2626; }
.verification-card.valid h1 { color: #166534; }
.verification-card.pending h1 { color: #92400e; }
.verification-card.invalid h1 { color: #991b1b; }
.scanner-shell { display: grid; gap: 14px; margin-top: 22px; }
.scanner-video { width: 100%; max-height: 420px; background: #07111f; border-radius: 16px; object-fit: cover; }
.ticket-stack { display: grid; gap: 16px; }
.owned-ticket { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 12px 34px rgba(15,23,42,.10); }
.owned-ticket h2 { margin: 10px 0; }
.owned-ticket p { color: var(--muted); }
.ticket-side { text-align: right; }
.ticket-side strong, .ticket-side span { display: block; }
.ticket-side .btn { margin-top: 10px; width: 100%; }

.site-footer { background: var(--navy); color: #fff; padding: 28px 7%; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-footer p { margin: 5px 0 0; color: #cbd5e1; }

.ticket-event-header { min-height: 132px; background: #fff; border-bottom: 1px solid var(--line); padding: 22px 5%; display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; }
.ticket-event-header img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.ticket-event-header h1 { margin: 0 0 8px; font-size: 22px; }
.ticket-event-header p { margin: 3px 0; color: #344054; font-weight: 700; }
.event-label-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; color: #344054; font-weight: 900; }
.ghost-light { background: #f1f5f9; color: var(--navy); }
.scarcity-bar { background: #ffe4ef; color: #db2777; padding: 9px 7%; text-align: center; font-weight: 900; }
.ticket-market { display: grid; grid-template-columns: minmax(620px, 1.35fr) minmax(520px, .85fr); min-height: calc(100vh - 200px); background: #f1f2f4; }
.seat-map-panel { position: relative; padding: 24px 28px; overflow: hidden; border-right: 1px solid var(--line); }
.category-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.category-tab { width: auto; border: 0; background: #fff; border-radius: 14px; padding: 10px 18px; box-shadow: 0 8px 25px rgba(15,23,42,.12); display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; cursor: pointer; color: var(--ink); }
.category-tab strong, .category-tab small { display: block; text-align: left; }
.category-tab small { grid-column: 2; color: var(--ink); font-weight: 900; }
.dot { width: 20px; height: 20px; border-radius: 999px; display: inline-block; grid-row: span 2; }
.dot-1 { background: #d946ef; }.dot-2 { background: #d8b36a; }.dot-3 { background: #4aa3df; }.dot-4 { background: #5b6b78; }
.map-tools { position: absolute; top: 28px; right: 12px; background: #fff; border-radius: 12px; box-shadow: 0 8px 25px rgba(15,23,42,.16); overflow: hidden; z-index: 2; }
.map-tools button { width: 42px; height: 42px; border: 0; display: block; background: #fff; font-size: 24px; cursor: pointer; }
.stadium-map-wrap { width: min(980px, 100%); margin: 0 auto; transform-origin: center; transition: transform .2s ease; }
.stadium-map { width: 100%; height: auto; display: block; }
.stadium-shell { fill: #fff; stroke: #d6dae2; stroke-width: 4; }
.outer-ring { fill: #eef4fb; stroke: #d6dae2; stroke-width: 2; }
.middle-ring { fill: #f8d7fb; stroke: #ecd6f2; stroke-width: 2; }
.pitch { fill: #3f7f34; }
.pitch-line { stroke: #fff; stroke-width: 2; fill: none; }
.fill-none { fill: none; }
.map-zone rect, .mini-seat { stroke: #fff; stroke-width: 2; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.map-zone text { text-anchor: middle; font-weight: 900; fill: #344054; pointer-events: none; font-size: 15px; }
.map-zone .zone-price { fill: #111827; font-size: 14px; }
.map-zone:hover rect, .map-zone.active rect { filter: drop-shadow(0 6px 8px rgba(0,0,0,.22)); transform: translateY(-2px); }
.seat-dot { pointer-events: none; }
.section-number text, .section-number rect { pointer-events: none; }
.map-callout { cursor: pointer; }
.map-callout rect { filter: drop-shadow(0 8px 14px rgba(15,23,42,.16)); transition: stroke .15s ease, filter .15s ease, transform .15s ease; }
.map-callout text { pointer-events: none; }
.map-callout:hover rect, .map-callout.active rect { stroke: var(--blue); stroke-width: 2.5; filter: drop-shadow(0 10px 18px rgba(2,132,199,.24)); transform: translateY(-2px); }
.cat-a rect, .cat-a { fill: #f3c8fb; }.cat-b rect, .cat-b { fill: #efe3c6; }.cat-c rect, .cat-c { fill: #d8eafe; }.cat-d rect, .cat-d { fill: #cfd8df; }
.map-callout rect { fill: #fff; }
.listing-panel { background: #fff; overflow-y: auto; max-height: calc(100vh - 200px); }
.listing-head { position: sticky; top: 0; background: #fff; z-index: 3; padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.listing-head strong, .listing-head span { display: block; }
.listing-head span { color: var(--muted); margin-top: 4px; }
.listing-head select { width: auto; border-color: #84cc16; background: #ecfccb; font-weight: 900; }
.listing-card { display: grid; grid-template-columns: 170px minmax(180px, 1fr) 170px; gap: 18px; padding: 20px 22px; border-bottom: 1px solid var(--line); transition: background .15s ease; }
.listing-card.active, .listing-card:hover { background: #f8fafc; }
.listing-thumb img { width: 170px; height: 120px; object-fit: cover; border-radius: 10px; }
.listing-copy h3 { margin: 0 0 8px; font-size: 21px; }
.listing-copy p { margin: 5px 0; color: #344054; }
.warning-tag, .best-tag { display: inline-block; margin-top: 8px; border-radius: 8px; padding: 7px 9px; font-weight: 900; font-size: 13px; }
.warning-tag { background: #ffe4ef; color: #db2777; }
.best-tag { background: #dcfce7; color: #15803d; }
.listing-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.listing-buy del { color: #667085; }
.listing-buy strong { font-size: 23px; }
.listing-buy small { color: #344054; }
.listing-buy .btn { margin-top: 10px; width: 100%; }

@media (max-width: 1180px) {
    .site-header { grid-template-columns: 1fr; align-items: start; gap: 14px; }
    .main-nav { justify-content: flex-start; }
    .hero, .event-detail, .checkout-layout, .contact-layout, .split-band, .bank-transfer-shell, .stripe-payment-shell { grid-template-columns: 1fr; }
    .hero h1 { font-size: 40px; }
    .event-grid, .features { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: 1fr; }
    .event-visual img { height: 320px; }
    .info-grid, .two-cols, .ticket-main, .ticket-meta, .ticket-status { grid-template-columns: 1fr; }
    .owned-ticket { grid-template-columns: 1fr; }
    .ticket-side { text-align: left; }
    .ticket-event-header { grid-template-columns: 70px 1fr; }
    .ticket-event-header .btn { grid-column: 1 / -1; }
    .ticket-market { grid-template-columns: 1fr; }
    .seat-map-panel { border-right: 0; }
    .listing-panel { max-height: none; }
    .listing-card { grid-template-columns: 1fr; }
    .listing-thumb img { width: 100%; height: 200px; }
    .listing-buy { align-items: stretch; }
}

@media (max-width: 760px) {
    body { font-size: 14px; line-height: 1.5; }
    input, select, textarea { min-height: 46px; padding: 12px; font-size: 15px; }
    .site-header { padding: 14px 5%; gap: 12px; }
    .brand { font-size: 25px; }
    .main-nav { gap: 8px; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .main-nav a { min-height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 9px; text-align: center; }
    .nav-cta { padding: 9px; }
    .language-switch { width: max-content; }
    .hero { min-height: auto; padding: 42px 5%; gap: 22px; }
    .hero h1 { font-size: 34px; line-height: 1.08; }
    .hero p { font-size: 15px; line-height: 1.58; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .search-card, .auth-card, .checkout-form, .contact-card, .setup-card { padding: 20px; border-radius: 14px; }
    .section, .page-hero, .checkout-layout, .contact-layout { padding: 36px 5%; }
    .section-title h2, .page-hero h1 { font-size: 28px; line-height: 1.15; }
    .event-grid { grid-template-columns: 1fr; gap: 18px; }
    .event-card-cover, .event-card-cover img, .event-card-visual { min-height: 180px; height: 180px; }
    .event-card-body { padding: 16px; }
    .event-card h3 { font-size: 18px; }
    .category-heading { display: block; }
    .category-heading a { display: inline-flex; margin-top: 10px; }
    .filter-bar { padding: 12px; }
    .features { grid-template-columns: 1fr; }
    .checkout-summary img { height: 210px; }
    .safe-card-fields { grid-template-columns: 1fr; }
    .bank-line { grid-template-columns: 1fr; gap: 4px; }
    .bank-line strong { font-size: 16px; }
    .confirmation-card h1 { font-size: 30px; overflow-wrap: anywhere; }
    .confirmation-actions { display: grid; grid-template-columns: 1fr; }
    .ticket-brand, .ticket-main { display: block; }
    .ticket-brand em { display: block; margin-top: 6px; }
    .ticket-meta, .ticket-status { grid-template-columns: 1fr; }
    .owned-ticket { padding: 16px; }
    .ticket-side { display: grid; gap: 8px; }
    .site-footer { padding: 22px 5%; display: block; }
    .site-footer > p { margin-top: 12px; }
}

/* Ticket marketplace event page */
.ticket-market-body {
    background: #f1f2f4;
    color: #07111f;
}

.market-event-topbar {
    min-height: 132px;
    background: #fff;
    display: grid;
    grid-template-columns: 82px minmax(360px, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 20px 5%;
    border-bottom: 1px solid #e5e7eb;
}

.market-event-logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: repeating-linear-gradient(135deg, #89bd4a 0 14px, #6da33a 14px 28px);
    color: #0f2d12;
    font-weight: 900;
    text-align: center;
    line-height: 1.05;
}

.market-event-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-event-title h1 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.2;
}

.market-event-title p {
    margin: 2px 0;
    font-size: 16px;
    color: #07111f;
}

.market-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.market-header-actions a {
    color: #07111f;
}

.round-icon,
.filter-chip {
    width: 42px;
    height: 42px;
    border: 1px solid #dbe3ef;
    border-radius: 50%;
    background: #fff;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}

.market-currency {
    color: #667085;
}

.market-search {
    width: min(414px, 30vw);
    height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 0 18px;
    color: #667085;
}

.market-search input {
    border: 0;
    padding: 0;
    font-size: 16px;
}

.avatar-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 30%, #84cc16 0 9px, #4d7c0f 10px 19px);
    display: inline-block;
}

.market-scarcity {
    height: 30px;
    background: #ffe4ef;
    color: #db2777;
    text-align: center;
    font-weight: 900;
    line-height: 30px;
}

.market-shell {
    display: grid;
    grid-template-columns: minmax(760px, 1fr) 730px;
    min-height: calc(100vh - 162px);
}

.market-map-side {
    position: relative;
    background: #f1f2f4;
    padding: 20px 28px 28px;
    overflow: hidden;
}

.market-category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.market-category-tab {
    min-width: 136px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 8px;
    align-items: center;
    padding: 10px 14px;
    cursor: pointer;
    color: #07111f;
}

.market-category-tab > span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    grid-row: span 2;
}

.market-category-tab strong,
.market-category-tab small {
    display: block;
    text-align: left;
    line-height: 1.1;
}

.market-category-tab small {
    font-weight: 900;
}

.market-map-tools {
    position: absolute;
    top: 10px;
    right: 12px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .14);
    z-index: 3;
}

.market-map-tools button {
    display: block;
    width: 42px;
    height: 42px;
    border: 0;
    background: #fff;
    font-size: 25px;
    cursor: pointer;
}

.market-stadium-wrap {
    width: min(900px, 100%);
    margin: 0 auto;
}

.market-stadium-svg {
    width: 100%;
    height: auto;
    display: block;
}

.market-section-block text,
.market-inner-section text {
    text-anchor: middle;
    font-size: 10px;
    fill: #667085;
    font-weight: 900;
    pointer-events: none;
}

.market-zone {
    cursor: pointer;
}

.market-zone rect:first-child {
    filter: drop-shadow(0 5px 10px rgba(15, 23, 42, .16));
}

.market-zone:hover rect:first-child,
.market-zone.active rect:first-child,
.market-category-tab.active {
    stroke: #16a34a;
    filter: drop-shadow(0 8px 16px rgba(22, 163, 74, .22));
}

.market-zone-label {
    text-anchor: middle;
    font-size: 12px;
    font-weight: 900;
    fill: #344054;
    pointer-events: none;
}

.market-price-callout {
    cursor: pointer;
}

.market-price-callout rect {
    filter: drop-shadow(0 4px 10px rgba(15, 23, 42, .18));
}

.market-price-callout.active rect,
.market-price-callout:hover rect {
    stroke: #16a34a;
    stroke-width: 2;
}

.market-callout-price,
.market-callout-left {
    text-anchor: middle;
    font-weight: 900;
    pointer-events: none;
}

.market-callout-price {
    font-size: 14px;
    fill: #07111f;
}

.market-callout-left {
    font-size: 12px;
    fill: #db2777;
}

.market-other-options text {
    text-anchor: middle;
    font-size: 10px;
    font-weight: 900;
    fill: #667085;
}

.market-listing-side {
    background: #fff;
    border-left: 1px solid #dbe3ef;
    max-height: calc(100vh - 162px);
    overflow-y: auto;
}

.market-listing-head {
    position: sticky;
    top: 0;
    z-index: 4;
    background: #fff;
    border-bottom: 1px solid #dbe3ef;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.market-listing-head strong {
    font-size: 18px;
}

.market-listing-head div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.market-listing-head select {
    width: auto;
    border-color: #84cc16;
    background: #ecfccb;
    color: #3f6212;
    border-radius: 14px;
    font-weight: 900;
    padding: 10px 16px;
}

.market-listing-card {
    display: grid;
    grid-template-columns: 226px minmax(210px, 1fr) 150px;
    gap: 28px;
    padding: 22px 20px;
    border-bottom: 1px solid #dbe3ef;
    background: #fff;
}

.market-listing-card.active,
.market-listing-card:hover {
    background: #f8fafc;
}

.market-listing-image img {
    width: 226px;
    height: 150px;
    object-fit: cover;
    border-radius: 9px;
}

.market-listing-copy h2 {
    margin: 8px 0 8px;
    font-size: 20px;
    line-height: 1.2;
}

.market-listing-copy p {
    margin: 5px 0;
    color: #344054;
}

.listing-feature {
    font-size: 15px;
}

.sellout-copy {
    color: #db2777 !important;
    font-weight: 900;
}

.market-listing-buy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.market-listing-buy del {
    color: #667085;
    font-size: 18px;
}

.market-listing-buy strong {
    font-size: 24px;
    line-height: 1.1;
}

.market-listing-buy small {
    color: #07111f;
}

.market-listing-buy .btn {
    width: 100%;
    margin-top: 12px;
}

.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4d9f18;
    color: #fff;
    border-radius: 8px;
    padding: 5px 8px;
    font-weight: 900;
}

@media (max-width: 1280px) {
    .market-event-topbar,
    .market-shell {
        grid-template-columns: 1fr;
    }

    .market-header-actions {
        flex-wrap: wrap;
    }

    .market-search {
        width: min(520px, 100%);
    }

    .market-listing-side {
        max-height: none;
        border-left: 0;
    }
}

@media (max-width: 760px) {
    .market-map-side {
        padding: 14px 8px;
    }

    .market-listing-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .market-listing-image img {
        width: 100%;
        height: 200px;
    }

    .market-listing-buy {
        align-items: stretch;
    }
}

/* Exact ticket marketplace layout override */
.ticket-market-body {
    margin: 0;
    background: #f3f4f6;
    color: #07111f;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

.market-event-topbar {
    min-height: 132px;
    padding: 22px 90px 18px;
    grid-template-columns: 82px minmax(520px, 1fr) minmax(720px, auto);
    gap: 18px;
    border-bottom: 1px solid #e5e7eb;
}

.market-event-logo {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: none;
}

.market-event-logo span {
    font-size: 15px;
    letter-spacing: .5px;
}

.market-event-title h1 {
    max-width: 520px;
    margin: 0 0 5px;
    font-size: 20px;
    line-height: 1.22;
    font-weight: 900;
}

.market-event-title p {
    margin: 2px 0;
    font-size: 17px;
    line-height: 1.25;
    color: #07111f;
}

.market-header-actions {
    justify-content: flex-end;
    gap: 16px;
    font-size: 18px;
}

.market-header-actions a {
    font-weight: 900;
    text-decoration: none;
}

.market-language {
    color: #667085;
    font-weight: 800;
}

.round-icon,
.filter-chip {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    line-height: 1;
    color: #475467;
}

.market-search {
    width: 414px;
    height: 62px;
    border-radius: 14px;
    box-sizing: border-box;
}

.market-search span {
    color: #07111f;
    font-size: 29px;
    line-height: 1;
}

.market-search input {
    width: 100%;
    outline: 0;
}

.avatar-dot {
    flex: 0 0 auto;
}

.market-scarcity {
    height: 30px;
    line-height: 30px;
    font-size: 16px;
}

.market-shell {
    height: calc(100vh - 162px);
    min-height: 620px;
    grid-template-columns: minmax(790px, 1fr) 730px;
    overflow: hidden;
}

.market-map-side {
    min-width: 0;
    padding: 20px 26px 26px;
    overflow: hidden;
}

.market-category-tabs {
    margin: 0 0 12px;
    gap: 10px;
}

.market-category-tab {
    min-width: 136px;
    min-height: 45px;
    padding: 8px 14px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
}

.market-category-tab strong {
    font-size: 16px;
}

.market-category-tab small {
    font-size: 15px;
}

.market-map-tools {
    top: 10px;
    right: 12px;
    z-index: 5;
}

.market-stadium-wrap {
    width: min(890px, 100%);
    margin: 0 auto;
    transform-origin: center top;
    transition: transform .18s ease;
}

.market-stadium-svg {
    max-height: calc(100vh - 235px);
}

.stadium-outer {
    fill: #fff;
    stroke: #d9dde5;
    stroke-width: 4;
}

.stadium-middle {
    fill: #edf3fb;
    stroke: #d1d8e3;
    stroke-width: 3;
}

.stadium-inner-bowl {
    fill: #f6d4fb;
    stroke: #efc9f4;
    stroke-width: 2;
}

.pitch {
    fill: #3f7f34;
}

.pitch-line,
.pitch-mark {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.section-gold {
    fill: #efe3c6;
    stroke: #fff;
    stroke-width: 2;
}

.section-blue {
    fill: #d8eafe;
    stroke: #fff;
    stroke-width: 2;
}

.market-inner-section rect {
    fill: #f4c3f7;
    stroke: #fff;
    stroke-width: 1.5;
}

.market-section-block text,
.market-inner-section text {
    font-size: 11px;
    fill: #5f6b7a;
    font-weight: 900;
}

.seat-row-green {
    fill: #a7df78;
}

.seat-dot {
    fill: #fff;
    opacity: .75;
}

.zone-title,
.zone-row {
    text-anchor: middle;
    pointer-events: none;
    fill: #1f2937;
    font-weight: 900;
}

.zone-title {
    font-size: 15px;
}

.zone-row {
    font-size: 13px;
}

.market-zone > rect:first-child {
    stroke: #fff;
    stroke-width: 2;
    filter: drop-shadow(0 4px 9px rgba(15, 23, 42, .18));
}

.market-price-callout rect {
    fill: #fff;
    stroke: #d7dce5;
    filter: drop-shadow(0 3px 8px rgba(15, 23, 42, .2));
}

.market-price-callout.selected rect {
    stroke: #86efac;
}

.selected-dot {
    fill: #86efac;
}

.selected-dollar {
    fill: #16a34a;
    text-anchor: middle;
    font-size: 11px;
    font-weight: 900;
}

.market-callout-price {
    font-size: 15px;
    fill: #07111f;
}

.market-callout-left {
    font-size: 13px;
    fill: #ec006d;
}

.market-other-options rect {
    fill: #a7df78;
    stroke: #fff;
}

.market-other-options text {
    font-size: 10px;
    font-weight: 900;
}

.market-listing-side {
    max-height: none;
    height: calc(100vh - 162px);
    overflow-y: auto;
    background: #fff;
}

.market-listing-head {
    min-height: 62px;
    padding: 10px 20px;
}

.market-listing-head strong {
    font-size: 18px;
}

.market-listing-head select {
    height: 42px;
    min-width: 128px;
    border: 1px solid #84cc16;
    background: #ecfccb;
    color: #3f6212;
}

.filter-chip {
    border-radius: 14px;
    border-color: #84cc16;
    background: #ecfccb;
    color: #3f6212;
}

.market-listing-card {
    grid-template-columns: 226px minmax(220px, 1fr) 150px;
    min-height: 248px;
    gap: 28px;
    padding: 22px 20px;
    box-sizing: border-box;
}

.market-listing-image img {
    width: 226px;
    height: 150px;
    border-radius: 8px;
}

.market-listing-copy h2 {
    margin: 10px 0 8px;
    font-size: 26px;
    line-height: 1.15;
}

.market-listing-copy p {
    font-size: 16px;
    line-height: 1.22;
}

.best-tag,
.warning-tag {
    display: inline-block;
    margin: 7px 5px 0 0;
    padding: 6px 8px;
    border-radius: 8px;
    font-weight: 900;
}

.best-tag {
    background: #dcfce7;
    color: #087a2e;
}

.warning-tag {
    background: #ffe4ef;
    color: #db0063;
}

.sellout-copy {
    margin-top: 8px;
}

.market-listing-buy {
    align-items: flex-end;
    text-align: right;
}

.market-listing-buy span {
    color: #15803d;
    font-size: 18px;
    font-weight: 900;
}

.market-listing-buy strong {
    font-size: 28px;
    color: #07111f;
}

.market-listing-buy del {
    color: #667085;
    font-size: 20px;
}

.market-listing-buy .btn {
    height: 56px;
    border-radius: 10px;
    background: #088dcc;
    border: 0;
    font-size: 17px;
}

@media (max-width: 1500px) {
    .market-event-topbar {
        padding-left: 48px;
        padding-right: 48px;
        grid-template-columns: 82px minmax(400px, 1fr) minmax(560px, auto);
    }

    .market-search {
        width: 340px;
    }

    .market-shell {
        grid-template-columns: minmax(700px, 1fr) 650px;
    }

    .market-listing-card {
        grid-template-columns: 190px minmax(180px, 1fr) 130px;
        gap: 20px;
    }

    .market-listing-image img {
        width: 190px;
        height: 132px;
    }
}

@media (max-width: 1180px) {
    .ticket-market-body {
        overflow: auto;
    }

    .market-event-topbar,
    .market-shell {
        grid-template-columns: 1fr;
        height: auto;
    }

    .market-header-actions {
        justify-content: flex-start;
    }

    .market-listing-side {
        height: auto;
    }
}
