:root {
    --ink: #171717;
    --muted: #666;
    --line: #dedede;
    --soft: #f6f6f6;
    --brand: #5f259f;
    --brand-dark: #4c1d82;
    --success: #16823a;
    --danger: #b42318;
    --radius: 12px;
    --shadow: 0 2px 10px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html { font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { min-height: 68px; display: grid; grid-template-columns: 150px minmax(260px, 1fr) auto; gap: 24px; align-items: center; width: min(1280px, calc(100% - 36px)); margin: 0 auto; }
.brand { color: var(--brand); font-size: 26px; font-weight: 800; letter-spacing: -.8px; }
.header-search { height: 42px; display: flex; align-items: center; gap: 8px; border: 1px solid #bcbcbc; border-radius: 22px; padding: 0 14px; background: #fff; }
.header-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(95,37,159,.1); }
.header-search input { flex: 1; border: 0; outline: 0; min-width: 0; }
.search-icon { font-size: 22px; line-height: 1; color: #555; }
.header-actions { display: flex; align-items: center; gap: 20px; white-space: nowrap; font-size: 14px; }
.header-actions a:hover, .category-nav a:hover { color: var(--brand); }
.plain-button { background: transparent; border: 0; cursor: pointer; padding: 8px 0; }
.category-nav { display: flex; gap: 30px; align-items: center; min-height: 42px; width: min(1280px, calc(100% - 36px)); margin: 0 auto; font-size: 14px; overflow-x: auto; }

.hero-search { background: linear-gradient(180deg,#faf8fd,#fff); border-bottom: 1px solid #f0ebf5; padding: 42px 0 34px; }
.hero-search h1 { margin: 0 0 18px; font-size: clamp(28px,4vw,43px); line-height: 1.08; letter-spacing: -1.2px; }
.hero-search-box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #aaa; border-radius: 8px; padding: 7px 8px 7px 14px; max-width: 760px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.hero-search-box input { flex: 1; border: 0; outline: 0; min-height: 38px; min-width: 0; }
.hero-search-box button, .primary-button { background: var(--brand); color: white; border: 0; border-radius: 6px; padding: 12px 22px; cursor: pointer; font-weight: 700; }
.hero-search-box button:hover, .primary-button:hover { background: var(--brand-dark); }
.quick-filters { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.quick-filters button, .filter-chip { background: #fff; border: 1px solid #aaa; border-radius: 20px; padding: 9px 15px; cursor: pointer; }

.section-block { padding: 34px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.4px; }
.section-heading p { color: var(--muted); margin: 6px 0 0; }
.section-heading > a { color: var(--brand); font-weight: 700; font-size: 14px; }
.event-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.event-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .12s ease, box-shadow .12s ease; }
.event-card[href]:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.event-image { aspect-ratio: 16/9; background: #ece8f2; overflow: hidden; }
.event-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--brand); font-weight: 900; font-size: 28px; letter-spacing: 2px; background: radial-gradient(circle at 20% 15%,#fff 0,#eee6f7 35%,#d7c2eb 100%); }
.event-card-body { padding: 14px; }
.event-card-body h3 { margin: 0 0 9px; font-size: 16px; line-height: 1.3; }
.event-card-body p { margin: 4px 0; color: var(--muted); font-size: 14px; }
.event-card-body .event-date { color: var(--ink); font-weight: 700; }
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.category-grid a { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-height: 110px; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(145deg,#fff,#faf8fc); }
.category-grid strong { font-size: 20px; }
.category-grid span { color: var(--muted); margin-top: 6px; font-size: 14px; }

.event-header { border-bottom: 1px solid var(--line); padding: 24px 0 18px; }
.event-header h1 { margin: 0 0 8px; font-size: 25px; }
.event-meta { color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.event-market { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(440px, 1.1fr); min-height: calc(100vh - 180px); }
.seat-map-panel { background: #f5f5f5; border-right: 1px solid var(--line); padding: 24px; position: sticky; top: 111px; align-self: start; min-height: 620px; }
.seat-map-card { width: min(620px,100%); margin: 18px auto; background: #fff; border: 1px solid #d8d8d8; border-radius: 14px; min-height: 470px; display: grid; place-items: center; overflow: hidden; position: relative; }
.seat-map-card img { max-width: 100%; max-height: 560px; object-fit: contain; }
.seat-map-placeholder { text-align: center; color: #555; padding: 24px; }
.seat-map-placeholder .stage { background: #ccc; padding: 10px 60px; border-radius: 4px; margin: 0 auto 40px; width: max-content; color: #333; font-weight: 700; }
.seat-map-placeholder .zones { display: grid; grid-template-columns: repeat(3,90px); gap: 12px; justify-content: center; }
.seat-map-placeholder .zone { height: 78px; border-radius: 8px; border: 1px solid #aaa; display: grid; place-items: center; background: #f7f4fb; }
.listing-panel { padding: 18px 22px 50px; background: #fff; }
.listing-toolbar { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.listing-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.listing-card h3 { margin: 0 0 6px; font-size: 17px; }
.listing-card p { margin: 4px 0; font-size: 14px; color: var(--muted); }
.listing-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.badge { font-size: 12px; border-radius: 4px; background: #edf7ee; color: var(--success); padding: 4px 6px; font-weight: 700; }
.price-block { min-width: 130px; text-align: right; }
.price-block strong { display: block; font-size: 18px; }
.price-block small { color: var(--muted); }
.price-block .primary-button { display: inline-block; margin-top: 10px; padding: 10px 16px; }
.empty-state { border: 1px dashed #bbb; border-radius: var(--radius); padding: 34px; text-align: center; color: var(--muted); margin-top: 20px; }

.search-page { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding: 30px 0 50px; }
.search-sidebar { border-right: 1px solid var(--line); padding-right: 22px; }
.search-sidebar h3 { margin-top: 0; }
.search-sidebar label { display: block; margin: 16px 0 6px; font-size: 13px; font-weight: 700; }
.search-sidebar select { width: 100%; padding: 9px; border: 1px solid #bbb; border-radius: 6px; }
.search-results h1 { margin-top: 0; }
.search-row { display: grid; grid-template-columns: 82px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.date-tile { text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 9px 4px; }
.date-tile strong { display: block; font-size: 20px; }
.search-row h3 { margin: 0 0 5px; font-size: 16px; }
.search-row p { margin: 3px 0; color: var(--muted); font-size: 14px; }

.form-shell { width: min(760px, calc(100% - 32px)); margin: 34px auto 60px; }
.form-shell h1 { margin-bottom: 6px; }
.form-shell > p { color: var(--muted); }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { border: 1px solid #aaa; border-radius: 6px; padding: 11px; width: 100%; }
.validation-errors { background: #fff1f0; border: 1px solid #f2b8b5; color: var(--danger); border-radius: 8px; padding: 12px 16px; margin: 16px 0; }
.sell-event-row { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding: 15px 0; }
.sell-event-row h3 { margin: 0 0 5px; font-size: 16px; }
.sell-event-row p { margin: 3px 0; color: var(--muted); font-size: 14px; }
.secondary-button { border: 1px solid var(--brand); color: var(--brand); background: #fff; border-radius: 6px; padding: 9px 14px; font-weight: 700; cursor: pointer; }

.site-footer { margin-top: 40px; border-top: 1px solid var(--line); padding: 30px max(18px,calc((100vw - 1180px)/2)); display: flex; justify-content: space-between; gap: 32px; background: #fafafa; color: #444; font-size: 14px; }
.site-footer p { max-width: 620px; color: var(--muted); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: start; }

@media (max-width: 950px) {
    .header-inner { grid-template-columns: 105px 1fr; gap: 12px; }
    .header-actions { grid-column: 1 / -1; justify-content: flex-end; padding-bottom: 10px; }
    .event-grid, .category-grid { grid-template-columns: repeat(2,1fr); }
    .event-market { grid-template-columns: 1fr; }
    .seat-map-panel { position: relative; top: 0; min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .seat-map-card { min-height: 330px; }
}

@media (max-width: 680px) {
    .page-shell { width: min(100% - 22px,1180px); }
    .site-header { position: relative; }
    .header-inner { width: calc(100% - 22px); grid-template-columns: 1fr auto; }
    .brand { font-size: 22px; }
    .header-search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 10px; }
    .header-actions { grid-column: 2; grid-row: 1; padding: 0; gap: 12px; font-size: 13px; }
    .header-actions .plain-button { display: none; }
    .category-nav { width: calc(100% - 22px); gap: 20px; }
    .hero-search { padding-top: 30px; }
    .hero-search-box button { padding-inline: 14px; }
    .event-grid, .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .event-card-body { padding: 11px; }
    .search-page { grid-template-columns: 1fr; }
    .search-sidebar { display: none; }
    .search-row, .sell-event-row { grid-template-columns: 62px 1fr; }
    .search-row > :last-child, .sell-event-row > :last-child { grid-column: 2; justify-self: start; }
    .form-grid { grid-template-columns: 1fr; }
    .form-field.full { grid-column: auto; }
    .listing-card { grid-template-columns: 1fr; }
    .price-block { text-align: left; }
    .site-footer { flex-direction: column; }
}

.vg-brand-image{
    display:block;
    width:auto;
    height:44px;
    max-width:220px;
    object-fit:contain;
    object-position:left center;
}

@media (max-width:520px){
    .vg-brand-image{
        height:36px;
        max-width:170px;
    }
}

.vg-event-image-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#171b20,#343b43);color:#fff;font-size:13px;font-weight:700;letter-spacing:2px}
.vg-home-empty{min-width:260px;min-height:220px;border:1px solid #e3e6e8;border-radius:14px;display:grid;place-items:center;color:#7a8288;background:#fafbfb;font-size:13px}
.vg-category-card{background:linear-gradient(135deg,#272d33,#11161a)}
