:root {
    --primary-color: #6366f1;
    --secondary-color: #4f46e5;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-color: #f8fafc;
    --bg-surface: #ffffff;
    --bg-elevated: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
}

/* Navbar */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(99, 102, 241, 0.95) !important;
}
.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.site-navbar {
    background: rgba(255, 255, 255, .96) !important;
    border-bottom: 1px solid rgba(23, 107, 158, .14);
    box-shadow: none;
    font-family: 'Roboto', sans-serif;
    min-height: 64px;
}

.site-navbar .landing-brand {
    color: #176b9e;
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    letter-spacing: 0;
}

.site-navbar .landing-brand span {
    color: #d5532b;
}

.site-navbar .nav-link {
    border-radius: 8px;
    color: #536275;
    font-size: .91rem;
    font-weight: 500;
    margin: 0 .14rem;
    padding: .58rem .8rem !important;
    position: relative;
}

.site-navbar .nav-link:hover {
    background: #f3f7fa;
    color: #176b9e;
}

.site-navbar .nav-link.active {
    background: #eef6fa;
    color: #176b9e;
    font-weight: 700;
}

.site-navbar .nav-link.active::after {
    background: #176b9e;
    border-radius: 2px 2px 0 0;
    bottom: -13px;
    content: "";
    height: 3px;
    left: .8rem;
    position: absolute;
    right: .8rem;
}

.site-navbar .landing-nav-cta {
    font-family: 'Roboto', sans-serif;
}

.site-navbar .landing-nav-cta.active {
    background: #12567f;
    box-shadow: 0 0 0 2px rgba(23, 107, 158, .16);
}

.account-subnav {
    background: linear-gradient(90deg, #12253b 0%, #176b9e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 12px 28px rgba(18, 37, 59, .18);
    left: 0;
    position: fixed;
    right: 0;
    top: 64px;
    z-index: 1029;
}

.account-subnav .container {
    align-items: center;
    display: flex;
    gap: .45rem;
    min-height: 50px;
    overflow-x: auto;
    scrollbar-width: none;
}

.account-subnav .container::-webkit-scrollbar {
    display: none;
}

.account-subnav-link {
    align-items: center;
    border-radius: 100px;
    color: rgba(255, 255, 255, .78);
    display: inline-flex;
    flex: 0 0 auto;
    font-family: 'Roboto', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    gap: .5rem;
    padding: .52rem .9rem;
    text-decoration: none;
}

.account-subnav-link:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.account-subnav-link.active {
    background: #fff;
    box-shadow: 0 8px 18px rgba(18, 37, 59, .18);
    color: #176b9e;
}

.has-account-subnav .main-container {
    margin-top: 6.9rem !important;
    padding-top: 1.2rem !important;
}

.has-account-subnav .landing-main {
    padding-top: 114px;
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Buttons */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}
.btn-gradient:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
}
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
}

/* Form Controls */
.form-control, .form-select {
    border-radius: 0.5rem;
    border-color: #e2e8f0;
    padding: 0.75rem 1rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

/* Badges */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
    border-radius: 0.5rem;
}
.badge-pending { background-color: var(--warning-color); color: #fff; }
.badge-confirmed { background-color: var(--success-color); color: #fff; }
.badge-cancelled { background-color: var(--danger-color); color: #fff; }

/* Main Container spacing */
.main-container {
    min-height: 80vh;
}

/* QR Code */
.qr-container {
    background: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
    display: inline-block;
}

/* Rating Stars */
.rating-stars {
    color: #fbbf24;
    font-size: 1.25rem;
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.public-stat-card {
    background: #1d4ed8;
}

.public-discovery-bar {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
}

.event-preview-card .card-title {
    font-size: 1.05rem;
    min-height: 2.5rem;
}

.location-badge {
    background: #ecfdf5;
    color: #047857;
}

.mobile-bottom-nav {
    display: none;
}

.scanner-panel {
    overflow: hidden;
}

.scanner-viewport {
    background: #111827;
    border-radius: 8px;
    height: min(58vh, 390px);
    overflow: hidden;
    position: relative;
}

.scanner-viewport video {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.scanner-idle {
    align-items: center;
    color: #94a3b8;
    display: flex;
    font-size: 4rem;
    inset: 0;
    justify-content: center;
    position: absolute;
}

.scanner-frame {
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    height: min(62%, 230px);
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(62%, 230px);
    z-index: 1;
}

.checkin-result-card {
    align-items: flex-start;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    color: #064e3b;
    display: flex;
    gap: 14px;
    padding: 16px;
}

.checkin-result-icon {
    align-items: center;
    background: #10b981;
    border-radius: 999px;
    color: #fff;
    display: flex;
    flex: 0 0 42px;
    font-size: 1.25rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.checkin-result-body {
    min-width: 0;
    width: 100%;
}

.checkin-result-body > span {
    display: block;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.checkin-result-body > strong {
    color: #022c22;
    display: block;
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 2px 0 12px;
    overflow-wrap: anywhere;
}

.checkin-result-card dl {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.checkin-result-card dl > div {
    min-width: 0;
}

.checkin-result-card dt {
    color: #047857;
    font-size: .72rem;
    font-weight: 800;
    margin-bottom: 1px;
    text-transform: uppercase;
}

.checkin-result-card dd {
    color: #064e3b;
    font-weight: 700;
    margin: 0;
    overflow-wrap: anywhere;
}

.staff-permission-list {
    display: grid;
    gap: 10px;
}

.staff-permission-list label {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    padding: 10px 12px;
}

.organizer-staff-list {
    display: grid;
    gap: 10px;
}

.organizer-staff-row {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px;
}

.organizer-staff-row strong,
.organizer-staff-row span,
.organizer-staff-row small {
    display: block;
    overflow-wrap: anywhere;
}

.organizer-staff-row small {
    color: #64748b;
}

/* Discovery home page */
.landing-body {
    --landing-blue: #7C3AED;
    --landing-coral: #F59E0B;
    --landing-ink: #E8E8F0;
    --landing-muted: #9CA3AF;
    --landing-border: rgba(124, 58, 237, 0.18);
    --landing-soft: #1A1A2E;
    background: var(--bg-color);
    color: var(--landing-ink);
    font-family: 'Inter', sans-serif;
}

.landing-body .landing-navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid var(--landing-border);
    box-shadow: none;
    min-height: 64px;
}

.landing-body .landing-brand {
    color: var(--landing-blue);
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    letter-spacing: 0;
}

.landing-body .landing-brand span {
    color: var(--landing-coral);
}

.landing-body .landing-navbar .nav-link {
    color: var(--landing-muted);
}

.landing-body .landing-navbar .nav-link:hover {
    color: var(--landing-blue);
}

.landing-nav-cta {
    background: var(--landing-blue);
    border-radius: 100px;
    color: #fff;
}

.landing-nav-cta:hover {
    background: #12567f;
    color: #fff;
}

.landing-main {
    padding-top: 64px;
}

.landing-main > main {
    padding-bottom: 0 !important;
}

.discover-hero {
    align-items: center;
    display: flex;
    height: calc(100svh - 180px);
    max-height: 690px;
    min-height: 540px;
    overflow: hidden;
    position: relative;
}

.discover-hero-image {
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center 46%;
    position: absolute;
    width: 100%;
}

.discover-hero-wash {
    background: linear-gradient(90deg, rgba(245, 251, 255, 0.98) 0%, rgba(245, 251, 255, 0.88) 39%, rgba(245, 251, 255, 0.3) 64%, rgba(245, 251, 255, 0.14) 100%);
    inset: 0;
    position: absolute;
}

.discover-hero-inner {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 3rem;
    position: relative;
    width: 100%;
}

.discover-eyebrow {
    align-items: center;
    color: var(--landing-blue);
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    gap: 0.55rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.discover-eyebrow span {
    background: var(--landing-coral);
    border-radius: 50%;
    display: inline-block;
    height: 7px;
    width: 7px;
}

.discover-hero h1 {
    color: var(--landing-blue);
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.2rem, 6vw, 5.3rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 0.8rem;
}

.discover-hero h1 span {
    color: var(--landing-coral);
}

.discover-hero h2 {
    color: var(--landing-ink);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 0.8rem;
    max-width: 530px;
}

.discover-lead {
    color: var(--landing-muted);
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 1.7rem;
    max-width: 475px;
}

.discover-search {
    align-items: center;
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 100px;
    box-shadow: 0 12px 34px rgba(23, 107, 158, 0.12);
    display: flex;
    gap: 0.55rem;
    max-width: 600px;
    padding: 0.38rem;
    padding-left: 1.15rem;
}

.discover-search i {
    color: #7b8da0;
}

.discover-search input {
    border: 0;
    color: var(--landing-ink);
    flex: 1;
    font-size: 0.94rem;
    min-width: 165px;
    outline: 0;
}

.discover-search select {
    background: transparent;
    border: 0;
    border-left: 1px solid var(--landing-border);
    color: var(--landing-muted);
    max-width: 155px;
    outline: 0;
    padding: 0.55rem 0.6rem 0.55rem 1rem;
}

.discover-search button {
    background: var(--landing-coral);
    border: 0;
    border-radius: 100px;
    color: #fff;
    font-weight: 600;
    padding: 0.78rem 1.5rem;
}

.discover-search button:hover {
    background: #bc4722;
}

.discover-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.25rem;
}

.discover-stats strong {
    color: var(--landing-ink);
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    letter-spacing: 0;
}

.discover-stats span {
    color: var(--landing-muted);
    display: block;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.discover-section {
    margin: 0 auto;
    max-width: 1200px;
    padding: 3.25rem 3rem 4.5rem;
}

.discover-events {
    max-width: none;
    padding-left: max(3rem, calc((100vw - 1200px) / 2 + 3rem));
    padding-right: max(3rem, calc((100vw - 1200px) / 2 + 3rem));
    background: var(--landing-soft);
}

.discover-section-header {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.discover-section-header h2 {
    color: var(--landing-ink);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: 0;
    margin: 0;
}

.discover-section-header > a {
    color: var(--landing-blue);
    font-weight: 600;
    text-decoration: none;
}

.discover-kicker {
    color: var(--landing-coral);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.discover-event-track {
    display: grid;
    gap: 1.35rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.discover-event-card {
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    box-shadow: 0 3px 20px rgba(23, 107, 158, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 1.35rem;
    transition: box-shadow .2s ease, transform .2s ease;
}

.discover-event-card:hover {
    box-shadow: 0 12px 30px rgba(23, 107, 158, 0.12);
    transform: translateY(-3px);
}

.discover-event-top {
    align-items: center;
    display: flex;
    gap: .55rem;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}

.discover-event-top > span:first-child {
    background: #fff0ea;
    border-radius: 100px;
    color: var(--landing-coral);
    font-size: .7rem;
    font-weight: 700;
    max-width: 45%;
    overflow: hidden;
    padding: .33rem .7rem;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.discover-city {
    color: var(--landing-muted);
    font-size: .78rem;
    white-space: nowrap;
}

.discover-date {
    color: var(--landing-blue);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .03em;
    margin-bottom: .45rem;
}

.discover-event-card h3 {
    color: var(--landing-ink);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    margin-bottom: .45rem;
}

.discover-venue {
    color: var(--landing-muted);
    font-size: .86rem;
    margin-bottom: 1.35rem;
}

.discover-event-footer {
    align-items: center;
    border-top: 1px solid #edf2f5;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
}

.discover-event-footer strong {
    color: var(--landing-coral);
}

.discover-event-footer a {
    border: 1px solid var(--landing-border);
    border-radius: 100px;
    color: var(--landing-blue);
    font-size: .84rem;
    font-weight: 600;
    padding: .45rem .95rem;
    text-decoration: none;
}

.discover-event-footer a:hover {
    background: var(--landing-blue);
    color: #fff;
}

.discover-category-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.discover-category {
    background: var(--landing-soft);
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    color: var(--landing-ink);
    display: flex;
    flex-direction: column;
    gap: .4rem;
    min-height: 132px;
    padding: 1.2rem;
    text-decoration: none;
}

.discover-category i {
    color: var(--landing-blue);
    font-size: 1.45rem;
    margin-bottom: .25rem;
}

.discover-category span {
    color: var(--landing-muted);
    font-size: .8rem;
}

.discover-category:hover {
    background: #eaf3f9;
    color: var(--landing-ink);
}

.discover-cities {
    background: var(--landing-soft);
    max-width: none;
    padding-left: max(3rem, calc((100vw - 1200px) / 2 + 3rem));
    padding-right: max(3rem, calc((100vw - 1200px) / 2 + 3rem));
}

.discover-city-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.discover-city-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    color: var(--landing-ink);
    display: flex;
    justify-content: space-between;
    min-height: 112px;
    padding: 1.25rem;
    text-decoration: none;
}

.discover-city-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 0;
    margin-bottom: .35rem;
}

.discover-city-card span {
    color: var(--landing-muted);
    font-size: .82rem;
}

.discover-city-card > i {
    color: var(--landing-coral);
    font-size: 1.4rem;
}

.discover-city-card:hover {
    box-shadow: 0 8px 24px rgba(23, 107, 158, .09);
    color: var(--landing-ink);
}

.discover-signup {
    background: var(--landing-blue);
    color: #fff;
    padding: 4rem 1.25rem;
    text-align: center;
}

.discover-signup h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    letter-spacing: 0;
}

.discover-signup p {
    color: rgba(255, 255, 255, .78);
    margin: .8rem auto 1.7rem;
    max-width: 520px;
}

.discover-signup a {
    background: var(--landing-coral);
    border-radius: 100px;
    color: #fff;
    display: inline-block;
    font-weight: 600;
    padding: .78rem 1.9rem;
    text-decoration: none;
}

.landing-site-footer {
    background: #112438;
    color: rgba(255, 255, 255, .65);
    padding: 1.8rem 0;
}

/* Event catalog */
.catalog-hero {
    background: var(--landing-soft);
    border-bottom: 1px solid var(--landing-border);
    padding: 3.1rem 0 2.5rem;
}

.catalog-inner {
    margin: 0 auto;
    max-width: 1220px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.catalog-title-row {
    align-items: flex-end;
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
}

.catalog-title-row h1 {
    color: var(--landing-ink);
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.65rem);
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: .45rem;
}

.catalog-title-row p {
    color: var(--landing-muted);
    margin: 0;
}

.catalog-create {
    align-items: center;
    background: var(--landing-blue);
    border-radius: 100px;
    color: #fff;
    display: inline-flex;
    font-weight: 600;
    gap: .55rem;
    padding: .75rem 1.35rem;
    text-decoration: none;
    white-space: nowrap;
}

.catalog-create:hover {
    background: #12567f;
    color: #fff;
}

.catalog-layout {
    align-items: start;
    display: grid;
    gap: 2rem;
    grid-template-columns: 284px minmax(0, 1fr);
    padding-bottom: 4rem;
    padding-top: 2rem;
}

.catalog-sidebar {
    position: sticky;
    top: 86px;
}

.catalog-filter-form {
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    padding: 1.35rem;
}

.catalog-filter-title {
    align-items: center;
    border-bottom: 1px solid #edf2f5;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: .9rem;
}

.catalog-filter-title h2 {
    color: var(--landing-ink);
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0;
}

.catalog-filter-title a {
    color: var(--landing-coral);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
}

.catalog-field {
    border: 0;
    display: block;
    margin: 0 0 1.15rem;
    padding: 0;
}

.catalog-field > label,
.catalog-field legend {
    color: var(--landing-ink);
    display: block;
    float: none;
    font-size: .81rem;
    font-weight: 600;
    margin-bottom: .5rem;
    width: auto;
}

.catalog-field select,
.catalog-date-range input {
    background: #fff;
    border: 1px solid #dbe5eb;
    border-radius: 6px;
    color: var(--landing-ink);
    font-size: .87rem;
    min-height: 43px;
    padding: .6rem .7rem;
    width: 100%;
}

.catalog-search-input {
    align-items: center;
    border: 1px solid #dbe5eb;
    border-radius: 6px;
    color: #75869a;
    display: flex;
    gap: .55rem;
    padding: 0 .7rem;
}

.catalog-search-input input {
    border: 0;
    font-size: .87rem;
    height: 43px;
    min-width: 0;
    outline: none;
    width: 100%;
}

.catalog-radio {
    align-items: center;
    color: var(--landing-muted);
    display: flex;
    font-size: .88rem;
    gap: .55rem;
    margin: .65rem 0;
}

.catalog-radio input,
.catalog-check input {
    accent-color: var(--landing-blue);
}

.catalog-date-range {
    display: grid;
    gap: .55rem;
}

.catalog-check {
    align-items: center;
    border-top: 1px solid #edf2f5;
    color: var(--landing-ink);
    display: flex;
    font-size: .87rem;
    gap: .55rem;
    margin: .4rem 0 1.25rem;
    padding-top: 1rem;
}

.catalog-filter-submit {
    background: var(--landing-blue);
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-size: .91rem;
    font-weight: 600;
    padding: .8rem .7rem;
    width: 100%;
}

.catalog-results {
    min-width: 0;
}

.catalog-mobile-filters {
    display: none;
}

.catalog-toolbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}

.catalog-toolbar h2 {
    color: var(--landing-ink);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: .2rem;
}

.catalog-toolbar p {
    color: var(--landing-muted);
    font-size: .84rem;
    margin: 0;
}

.catalog-sort {
    align-items: center;
    color: var(--landing-muted);
    display: flex;
    font-size: .85rem;
    gap: .55rem;
}

.catalog-sort select {
    border: 1px solid #dbe5eb;
    border-radius: 6px;
    color: var(--landing-ink);
    min-height: 42px;
    padding: .5rem .65rem;
}

.catalog-grid {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-card {
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 388px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

.catalog-card-owned {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 48%);
    border-color: #22c55e;
    box-shadow: 0 14px 34px rgba(34, 197, 94, .13);
}

.catalog-card-owned .catalog-card-header {
    background: #dcfce7;
    border-bottom-color: #bbf7d0;
}

.catalog-owned-badge {
    align-items: center;
    background: #16a34a;
    color: #fff;
    display: flex;
    font-size: .82rem;
    font-weight: 800;
    gap: .45rem;
    justify-content: center;
    letter-spacing: .01em;
    padding: .55rem 1rem;
}

.catalog-card:hover {
    box-shadow: 0 10px 26px rgba(23, 107, 158, .1);
    transform: translateY(-2px);
}

.catalog-card-header {
    align-items: center;
    background: var(--landing-soft);
    border-bottom: 1px solid #edf2f5;
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    padding: .85rem 1.05rem;
}

.catalog-category {
    color: var(--landing-coral);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    max-width: 48%;
    overflow: hidden;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-place {
    color: var(--landing-blue);
    font-size: .79rem;
    font-weight: 500;
}

.catalog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.05rem;
}

.catalog-date {
    color: var(--landing-blue);
    font-size: .79rem;
    font-weight: 600;
    margin-bottom: .55rem;
}

.catalog-card-body h3 {
    color: var(--landing-ink);
    font-family: 'Playfair Display', serif;
    font-size: 1.27rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    margin-bottom: .45rem;
}

.catalog-organizer {
    color: #69798d;
    font-size: .79rem;
    margin-bottom: .7rem;
}

.catalog-description {
    color: var(--landing-muted);
    display: -webkit-box;
    font-size: .86rem;
    line-height: 1.45;
    margin-bottom: 1rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-details {
    display: grid;
    gap: .65rem;
    grid-template-columns: 1fr 1fr;
    margin-top: auto;
}

.catalog-details span {
    color: #75869a;
    display: block;
    font-size: .71rem;
    margin-bottom: .2rem;
    text-transform: uppercase;
}

.catalog-details strong {
    color: var(--landing-ink);
    display: block;
    font-size: .82rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-capacity {
    background: #e7edf2;
    border-radius: 4px;
    height: 5px;
    margin-top: 1rem;
    overflow: hidden;
}

.catalog-capacity span {
    background: #24a070;
    display: block;
    height: 100%;
}

.catalog-card-footer {
    align-items: center;
    border-top: 1px solid #edf2f5;
    display: flex;
    justify-content: space-between;
    padding: .95rem 1.05rem;
}

.catalog-card-footer small {
    color: #75869a;
    display: block;
    font-size: .68rem;
    text-transform: uppercase;
}

.catalog-card-footer strong {
    color: var(--landing-coral);
    display: block;
}

.catalog-card-owned .catalog-card-footer strong {
    color: #16a34a;
}

.catalog-card-owned .catalog-card-footer a {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.catalog-card-footer a {
    border: 1px solid var(--landing-blue);
    border-radius: 100px;
    color: var(--landing-blue);
    font-size: .84rem;
    font-weight: 600;
    padding: .48rem 1rem;
    text-decoration: none;
}

.catalog-card-footer a:hover {
    background: var(--landing-blue);
    color: #fff;
}

.catalog-empty {
    align-items: center;
    border: 1px dashed var(--landing-border);
    border-radius: 8px;
    color: var(--landing-muted);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 4.5rem 2rem;
    text-align: center;
}

.catalog-empty i {
    color: var(--landing-blue);
    font-size: 2.2rem;
}

.catalog-empty h3 {
    color: var(--landing-ink);
    font-size: 1.2rem;
    margin: .35rem 0 0;
}

.catalog-empty a {
    color: var(--landing-blue);
    font-weight: 600;
    margin-top: .75rem;
}

/* Customer account area */
.member-dashboard,
.member-account,
.member-tickets {
    background: var(--landing-soft);
    min-height: calc(100vh - 120px);
    padding: 3rem 0 4rem;
}

.member-shell {
    margin: 0 auto;
    max-width: 1120px;
    padding: 0 1.5rem;
}

.member-kicker {
    color: var(--landing-coral);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    margin: 0 0 .45rem;
    text-transform: uppercase;
}

.member-welcome,
.member-list-header {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.member-welcome h1,
.member-list-header h1,
.member-profile-header h1 {
    color: var(--landing-ink);
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 .45rem;
}

.member-welcome > div > p:last-child,
.member-list-header > div > p:last-child {
    color: var(--landing-muted);
    margin: 0;
}

.member-primary-action {
    align-items: center;
    background: var(--landing-blue);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-size: .92rem;
    font-weight: 600;
    gap: .55rem;
    justify-content: center;
    padding: .8rem 1.1rem;
    text-decoration: none;
    white-space: nowrap;
}

.member-primary-action:hover {
    background: #12567f;
    color: #fff;
}

.member-stat-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.member-stat {
    align-items: center;
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    display: flex;
    gap: .9rem;
    min-height: 98px;
    padding: 1rem 1.15rem;
}

.member-stat > i {
    align-items: center;
    background: #e8f3f8;
    border-radius: 8px;
    color: var(--landing-blue);
    display: flex;
    font-size: 1.15rem;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.member-stat.confirmed > i {
    background: #e8f5ee;
    color: #148257;
}

.member-stat.pending > i {
    background: #fff2e9;
    color: var(--landing-coral);
}

.member-stat strong {
    color: var(--landing-ink);
    display: block;
    font-size: 1.55rem;
    line-height: 1.05;
}

.member-stat span {
    color: var(--landing-muted);
    display: block;
    font-size: .82rem;
    margin-top: .25rem;
}

.member-panels,
.member-settings {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
}

.member-panel {
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    padding: 1.35rem;
}

.member-panel-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.member-panel-heading h2,
.member-actions h2 {
    color: var(--landing-ink);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.member-panel-heading a {
    color: var(--landing-blue);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
}

.member-ticket-preview {
    border-left: 3px solid var(--landing-blue);
    padding: .15rem 0 .1rem 1rem;
}

.member-date {
    color: var(--landing-blue);
    font-size: .76rem;
    font-weight: 600;
    margin: 0 0 .45rem;
    text-transform: uppercase;
}

.member-ticket-preview h3 {
    color: var(--landing-ink);
    font-family: 'Playfair Display', serif;
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 .5rem;
}

.member-ticket-preview > p:not(.member-date) {
    color: var(--landing-muted);
    font-size: .88rem;
    margin-bottom: .8rem;
}

.member-status {
    border-radius: 100px;
    display: inline-flex;
    font-size: .74rem;
    font-weight: 700;
    margin-right: .6rem;
    padding: .3rem .7rem;
}

.member-status.approved {
    background: #e8f5ee;
    color: #148257;
}

.member-status.waiting {
    background: #fff2e9;
    color: #ad4b26;
}

.member-status.cancelled {
    background: #f1f3f5;
    color: #677587;
}

.member-outline-action {
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    color: var(--landing-blue);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 600;
    padding: .38rem .65rem;
    text-decoration: none;
}

.member-notification-list {
    display: grid;
    gap: .75rem;
}

.member-notification {
    align-items: flex-start;
    border: 1px solid #edf2f5;
    border-radius: 8px;
    color: var(--landing-muted);
    display: flex;
    gap: .7rem;
    padding: .7rem .75rem;
}

.member-notification.unread {
    background: #f2f8fb;
    border-color: #dcecf3;
}

.member-notification i {
    color: var(--landing-blue);
    margin-top: .15rem;
}

.member-notification p {
    color: var(--landing-ink);
    font-size: .83rem;
    line-height: 1.4;
    margin: 0 0 .18rem;
}

.member-notification span {
    font-size: .73rem;
}

.member-empty {
    color: var(--landing-muted);
    padding: 1.7rem .75rem;
    text-align: center;
}

.member-empty i {
    color: var(--landing-blue);
    display: block;
    font-size: 1.65rem;
    margin-bottom: .7rem;
}

.member-empty p {
    margin: 0 0 .65rem;
}

.member-empty a {
    color: var(--landing-blue);
    font-weight: 600;
}

.member-empty.compact {
    padding: 1.5rem .5rem;
}

.member-profile-header {
    align-items: center;
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    display: flex;
    gap: 1.1rem;
    margin-bottom: 1.25rem;
    padding: 1.4rem;
}

.member-avatar {
    align-items: center;
    background: #e8f3f8;
    border-radius: 8px;
    color: var(--landing-blue);
    display: flex;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    height: 72px;
    justify-content: center;
    width: 72px;
}

.member-profile-header h1 {
    font-size: 2rem;
    margin-bottom: .2rem;
}

.member-profile-header > div:nth-child(2) > p:last-child {
    color: var(--landing-muted);
    margin: 0;
}

.member-role {
    background: #eef6fa;
    border-radius: 100px;
    color: var(--landing-blue);
    font-size: .82rem;
    font-weight: 600;
    margin-left: auto;
    padding: .45rem .8rem;
}

.profile-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member-details {
    display: grid;
    margin: 0;
}

.member-details div {
    align-items: baseline;
    border-bottom: 1px solid #edf2f5;
    display: flex;
    justify-content: space-between;
    padding: .8rem 0;
}

.member-details div:last-child {
    border: 0;
}

.member-details dt {
    color: var(--landing-muted);
    font-size: .84rem;
    font-weight: 500;
}

.member-details dd {
    color: var(--landing-ink);
    font-size: .88rem;
    font-weight: 600;
    margin: 0;
    text-align: right;
}

.member-actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.member-actions h2 {
    margin-bottom: .35rem;
}

.member-actions a,
.member-actions button {
    align-items: center;
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    color: var(--landing-ink);
    display: flex;
    font-size: .88rem;
    font-weight: 600;
    gap: .7rem;
    padding: .75rem .85rem;
    text-decoration: none;
    width: 100%;
}

.member-actions i {
    color: var(--landing-blue);
}

.member-actions form {
    margin-top: auto;
}

.member-actions form button {
    color: #b63e34;
}

.member-actions form i {
    color: #b63e34;
}

.member-ticket-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-ticket {
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    padding: 1.25rem;
    position: relative;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.member-ticket:hover {
    border-color: rgba(23, 107, 158, .28);
    box-shadow: 0 14px 30px rgba(18, 37, 59, .08);
    transform: translateY(-2px);
}

.member-ticket-detail-link {
    border-radius: inherit;
    inset: 0;
    position: absolute;
    z-index: 1;
}

.member-ticket-head,
.member-ticket h2,
.member-qr,
.member-cancel {
    position: relative;
    z-index: 2;
}

.member-ticket-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.member-ticket-place {
    color: var(--landing-muted);
    font-size: .79rem;
}

.member-ticket h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 0;
    margin: 0 0 1rem;
}

.member-ticket h2 a {
    color: var(--landing-ink);
    text-decoration: none;
}

.member-seat {
    align-items: center;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 100px;
    color: #9a3412;
    display: inline-flex;
    font-size: .82rem;
    gap: .45rem;
    margin-bottom: .75rem;
    padding: .35rem .7rem;
}

.member-qr {
    align-items: center;
    background: var(--landing-soft);
    border: 1px solid transparent;
    border-radius: 8px;
    color: inherit;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    margin-top: .5rem;
    padding: .8rem;
    text-align: left;
    width: 100%;
}

.member-qr:hover {
    background: #eef6fa;
    border-color: rgba(23, 107, 158, .18);
}

.member-qr img {
    height: 86px;
    width: 86px;
}

.member-qr small,
.member-qr strong,
.member-checked {
    display: block;
}

.member-qr small {
    color: var(--landing-muted);
    font-size: .7rem;
}

.member-qr strong {
    color: var(--landing-ink);
    font-size: .86rem;
    margin-top: .2rem;
}

.member-checked {
    color: #148257;
    font-size: .74rem;
    font-weight: 600;
    margin-top: .3rem;
}

.member-qr-action {
    color: var(--landing-blue);
    display: block;
    font-size: .74rem;
    font-weight: 700;
    margin-top: .3rem;
}

.ticket-qr-modal .modal-content {
    border: 0;
    border-radius: 12px;
}

.ticket-qr-modal .modal-body small,
.ticket-qr-modal .modal-body strong {
    display: block;
}

.ticket-qr-modal .modal-body small {
    color: var(--landing-muted);
    margin-top: 1rem;
}

.ticket-qr-modal .modal-body strong {
    color: var(--landing-ink);
    font-size: 1.05rem;
}

.ticket-qr-large {
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    max-width: 260px;
    padding: .75rem;
    width: 100%;
}

.member-cancel {
    border-top: 1px solid #edf2f5;
    margin-top: 1rem;
    padding-top: .85rem;
}

.member-cancel button {
    background: transparent;
    border: 0;
    color: #b63e34;
    font-size: .8rem;
    font-weight: 600;
    padding: 0;
}

.member-ticket-empty {
    margin: 2rem auto;
    max-width: 570px;
    padding: 3rem 1.5rem;
    text-align: center;
}

.member-ticket-empty > i {
    color: var(--landing-blue);
    font-size: 2rem;
    margin-bottom: .9rem;
}

.member-ticket-empty h2 {
    color: var(--landing-ink);
    font-size: 1.3rem;
}

.member-ticket-empty p {
    color: var(--landing-muted);
    margin: 0 auto 1.4rem;
    max-width: 390px;
}

.auth-page {
    align-items: center;
    background: var(--landing-soft);
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 122px);
    padding: 2.5rem 1rem;
}

.auth-surface {
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    max-width: 490px;
    padding: 2.2rem;
    width: 100%;
}

.auth-surface header h1 {
    color: var(--landing-ink);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    letter-spacing: 0;
    margin: 0 0 .5rem;
}

.auth-surface header > p:last-child {
    color: var(--landing-muted);
    margin: 0 0 1.65rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-form > label:not(.auth-check),
.auth-columns label {
    color: var(--landing-ink);
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: .35rem;
}

.auth-form input:not([type="checkbox"]) {
    border: 1px solid #d7e1e8;
    border-radius: 8px;
    color: var(--landing-ink);
    font: inherit;
    margin-bottom: .35rem;
    min-height: 48px;
    padding: .7rem .85rem;
}

.auth-form span {
    color: #b63e34;
    font-size: .78rem;
    margin-bottom: .8rem;
}

.auth-check {
    align-items: center;
    color: var(--landing-muted);
    display: flex;
    font-size: .86rem;
    gap: .5rem;
    margin: .15rem 0 1.25rem;
}

.auth-form > button {
    background: var(--landing-blue);
    border: 0;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    min-height: 48px;
}

.auth-divider {
    align-items: center;
    color: var(--landing-muted);
    display: flex;
    font-size: .82rem;
    gap: .8rem;
    margin: 1.15rem 0;
}

.auth-divider::before,
.auth-divider::after {
    background: #d7e1e8;
    content: "";
    flex: 1;
    height: 1px;
}

.auth-social-form {
    margin: 0;
}

.auth-google-button {
    align-items: center;
    background: #fff;
    border: 1px solid #d7e1e8;
    border-radius: 8px;
    color: #111827;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    gap: .6rem;
    justify-content: center;
    min-height: 48px;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
    width: 100%;
}

.auth-google-button:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #111827;
}

.auth-google-button i {
    color: #ea4335;
}

.auth-columns {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-columns div {
    display: flex;
    flex-direction: column;
}

.auth-switch {
    color: var(--landing-muted);
    font-size: .88rem;
    margin: 1.3rem 0 0;
    text-align: center;
}

.auth-switch a {
    color: var(--landing-blue);
    font-weight: 600;
    text-decoration: none;
}

.ticket-purchase-list {
    display: grid;
    gap: .65rem;
}

.ticket-purchase-option {
    align-items: center;
    border: 1px solid #dbe8ee;
    border-radius: 8px;
    display: flex;
    gap: .7rem;
    justify-content: space-between;
    padding: .72rem;
}

.ticket-purchase-option strong,
.ticket-purchase-option span {
    display: block;
}

.ticket-purchase-option strong {
    color: #12253b;
    font-size: .9rem;
}

.ticket-purchase-option span {
    color: #176b9e;
    font-size: .83rem;
    font-weight: 700;
}

.ticket-purchase-option a,
.ticket-purchase-option button {
    background: #176b9e;
    border: 0;
    border-radius: 8px;
    color: #fff;
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    padding: .55rem .75rem;
    text-decoration: none;
    white-space: nowrap;
}

.detail-seat-prompt {
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    border-radius: 16px;
    padding: 1rem;
}

.detail-seat-prompt strong,
.detail-seat-prompt p {
    display: block;
}

.detail-seat-prompt strong {
    color: #111827;
    font-size: 1rem;
    margin: .35rem 0;
}

.detail-seat-prompt p {
    color: #64748b;
    font-size: .84rem;
    margin: 0 0 .85rem;
}

.detail-seat-prompt a {
    align-items: center;
    background: #7c3aed;
    border-radius: 10px;
    color: #fff;
    display: flex;
    font-size: .86rem;
    font-weight: 700;
    gap: .4rem;
    justify-content: center;
    padding: .72rem;
    text-decoration: none;
}

.detail-seat-booking {
    margin: 2rem auto 4rem;
    max-width: 1180px;
    padding: 0 1rem;
    scroll-margin-top: 90px;
}

.detail-seat-booking-head {
    margin: 0 auto 1.25rem;
    max-width: 680px;
    text-align: center;
}

.detail-seat-booking-head h2 {
    color: #111827;
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
    font-weight: 800;
    margin: .3rem 0 .35rem;
}

.detail-seat-booking-head p {
    color: #64748b;
    margin: 0;
}

.detail-seat-booking-grid {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) 320px;
}

.detail-seat-booking .seat-picker {
    margin: 0;
    max-height: none;
    overflow: visible;
    padding: 1.35rem;
}

.detail-seat-booking .seat-stage {
    max-width: 540px;
}

.detail-seat-booking .seat-button {
    font-size: .78rem;
    height: 38px;
    min-width: 38px;
}

.detail-floor-section {
    scroll-margin-top: 90px;
}

.detail-ticket-panel {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 1.15rem;
    position: sticky;
    top: 88px;
}

.detail-ticket-panel > .js-seat-summary {
    display: block;
    margin: .55rem 0 .7rem;
    text-align: left;
}

.detail-ticket-help {
    color: #64748b;
    font-size: .84rem;
    margin: 0 0 1rem;
}

.detail-ticket-panel .ticket-purchase-option {
    align-items: stretch;
    flex-direction: column;
}

.detail-ticket-panel .ticket-purchase-option form,
.detail-ticket-panel .ticket-purchase-option button {
    width: 100%;
}

.seat-picker {
    background: linear-gradient(180deg, #f8fafc 0%, #eef6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 18px;
    margin-bottom: 1rem;
    max-height: min(64vh, 620px);
    overflow-y: auto;
    padding: 1rem;
}

.seat-picker-warning {
    animation: seat-picker-pulse .45s ease-in-out 2;
    border-color: #f97316;
}

@keyframes seat-picker-pulse {
    50% {
        box-shadow: 0 0 0 4px rgba(249, 115, 22, .16);
        transform: translateY(-1px);
    }
}

.seat-picker-header {
    align-items: flex-start;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    margin-bottom: .85rem;
}

.seat-picker-header strong,
.seat-picker-header span {
    display: block;
}

.seat-picker-kicker {
    color: #2563eb;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.js-seat-summary {
    background: #fff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1e40af;
    font-size: .78rem;
    font-weight: 800;
    padding: .35rem .65rem;
    text-align: right;
}

.seat-stage {
    background: linear-gradient(135deg, #111827, #334155);
    border-radius: 999px 999px 12px 12px;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .18em;
    margin: 0 auto .8rem;
    padding: .5rem;
    text-align: center;
    width: 78%;
}

.seat-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: .85rem;
}

.seat-legend span {
    align-items: center;
    color: #64748b;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    gap: .35rem;
}

.seat-dot {
    border-radius: 50%;
    display: inline-block;
    height: 10px;
    width: 10px;
}

.seat-dot.available {
    background: #22c55e;
}

.seat-dot.selected {
    background: #2563eb;
}

.seat-dot.taken {
    background: #cbd5e1;
}

.seat-section {
    background: rgba(255, 255, 255, .72);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-top: .75rem;
    padding: .75rem;
}

.seat-section h6 {
    color: #0f172a;
    font-size: .85rem;
    font-weight: 900;
    margin-bottom: .55rem;
}

.seat-row {
    align-items: center;
    display: flex;
    gap: .5rem;
    margin-top: .45rem;
}

.seat-row-label {
    color: #64748b;
    flex: 0 0 28px;
    font-size: .78rem;
    font-weight: 900;
    text-align: center;
}

.seat-grid {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: .35rem;
}

.seat-button {
    align-items: center;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 9px 9px 13px 13px;
    color: #166534;
    display: inline-flex;
    font-size: .72rem;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    min-width: 30px;
    padding: 0 .35rem;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.seat-button:hover:not(:disabled) {
    box-shadow: 0 8px 18px rgba(34, 197, 94, .22);
    transform: translateY(-2px);
}

.seat-button.selected {
    background: #2563eb;
    border-color: #1d4ed8;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .28);
    color: #fff;
}

.seat-button.taken,
.seat-button:disabled {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
}

.seat-select-page {
    background: linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
    min-height: calc(100vh - 122px);
    padding: 2rem 1.25rem 4rem;
}

.seat-select-shell {
    margin: 0 auto;
    max-width: 1180px;
}

.seat-select-head {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: 170px 1fr 210px;
    margin-bottom: 1.25rem;
}

.seat-select-head h1 {
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    margin: 0;
}

.seat-select-head p {
    color: #64748b;
    margin: .3rem 0 0;
}

.seat-back-link {
    align-items: center;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-weight: 800;
    gap: .45rem;
    justify-content: center;
    padding: .7rem 1rem;
    text-decoration: none;
}

.seat-ticket-summary {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
    padding: 1rem;
    text-align: right;
}

.seat-ticket-summary span,
.seat-ticket-summary strong {
    display: block;
}

.seat-ticket-summary span {
    color: #64748b;
    font-size: .82rem;
    font-weight: 800;
}

.seat-ticket-summary strong {
    color: #0f766e;
    font-size: 1.25rem;
    font-weight: 900;
}

.seat-select-layout {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) 320px;
}

.seat-select-map {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .08);
    padding: 1.5rem;
}

.seat-stage.wide {
    font-size: .82rem;
    margin-bottom: 1.2rem;
    max-width: 620px;
    padding: .7rem;
}

.seat-section.wide {
    padding: 1rem;
}

.seat-floor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: .9rem;
}

.seat-floor-link {
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    border-radius: 14px;
    color: #5b21b6;
    display: flex;
    flex: 1 1 150px;
    flex-direction: column;
    gap: .15rem;
    padding: .65rem .85rem;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease;
}

.seat-floor-link:hover {
    border-color: #8b5cf6;
    color: #5b21b6;
    transform: translateY(-1px);
}

.seat-floor-link strong {
    font-size: .9rem;
}

.seat-floor-link span {
    color: #6b7280;
    font-size: .75rem;
    font-weight: 700;
}

.seat-floor-section {
    scroll-margin-top: 6rem;
}

.seat-floor-heading {
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    margin-bottom: .6rem;
    padding-bottom: .55rem;
}

.seat-floor-heading span {
    color: #8b5cf6;
    display: block;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.seat-floor-heading h2 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
    margin: .1rem 0 0;
}

.seat-floor-heading strong {
    background: #ecfdf5;
    border-radius: 999px;
    color: #15803d;
    font-size: .75rem;
    padding: .3rem .65rem;
}

.seat-row.wide {
    margin-top: .65rem;
}

.seat-grid.wide {
    gap: .5rem;
}

.seat-button.wide {
    border-radius: 12px 12px 17px 17px;
    font-size: .85rem;
    height: 42px;
    min-width: 42px;
}

.seat-select-panel {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .08);
    padding: 1.25rem;
    position: sticky;
    top: 1rem;
}

.seat-select-panel strong {
    color: #0f172a;
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    margin: .25rem 0 .55rem;
}

.seat-select-panel p {
    color: #64748b;
    font-size: .92rem;
}

.seat-confirm-button {
    background: linear-gradient(135deg, #0f766e, #176b9e);
    border: 0;
    border-radius: 14px;
    color: #fff;
    font-weight: 900;
    padding: .9rem 1rem;
    width: 100%;
}

@media (max-width: 767.98px) {
    .detail-seat-booking {
        margin: 1.25rem auto 5rem;
        padding: 0 .85rem;
    }

    .detail-seat-booking-head {
        text-align: left;
    }

    .detail-seat-booking-grid {
        grid-template-columns: 1fr;
    }

    .detail-seat-booking .seat-picker {
        max-height: min(62vh, 540px);
        overflow-y: auto;
        padding: .85rem;
    }

    .detail-seat-booking .seat-floor-link {
        flex-basis: calc(50% - .4rem);
    }

    .detail-seat-booking .seat-button {
        font-size: .72rem;
        height: 32px;
        min-width: 32px;
    }

    .detail-ticket-panel {
        position: static;
    }
}

.checkout-page {
    background: var(--landing-soft);
    min-height: calc(100vh - 122px);
    padding: 3rem 1.25rem 4rem;
}

.checkout-shell {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(420px, 1fr) 350px;
    margin: 0 auto;
    max-width: 920px;
}

.checkout-form-panel,
.checkout-summary {
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    padding: 1.55rem;
}

.checkout-form-panel h1 {
    color: var(--landing-ink);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 .55rem;
}

.checkout-note {
    color: var(--landing-muted);
    font-size: .88rem;
    line-height: 1.5;
    margin: 0 0 1.2rem;
}

.test-card-hint {
    align-items: center;
    background: #eef6fa;
    border: 1px solid #d9eaf1;
    border-radius: 8px;
    color: var(--landing-blue);
    display: flex;
    gap: .8rem;
    margin-bottom: 1.35rem;
    padding: .75rem .9rem;
}

.test-card-hint i {
    font-size: 1.1rem;
}

.test-card-hint strong,
.test-card-hint span {
    display: block;
}

.test-card-hint strong {
    font-size: .82rem;
}

.test-card-hint span {
    color: var(--landing-muted);
    font-size: .78rem;
    margin-top: .12rem;
}

.checkout-form {
    display: flex;
    flex-direction: column;
}

.checkout-form label {
    color: var(--landing-ink);
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: .35rem;
}

.checkout-form input {
    border: 1px solid #d7e1e8;
    border-radius: 8px;
    color: var(--landing-ink);
    font: inherit;
    margin-bottom: .3rem;
    min-height: 48px;
    padding: .7rem .85rem;
}

.checkout-form > span,
.checkout-fields span {
    color: #b63e34;
    display: block;
    font-size: .76rem;
    margin-bottom: .72rem;
}

.checkout-fields {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-fields div {
    display: flex;
    flex-direction: column;
}

.checkout-form button {
    background: var(--landing-blue);
    border: 0;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    margin-top: .5rem;
    min-height: 50px;
}

.checkout-summary {
    align-self: start;
}

.checkout-summary h2 {
    color: var(--landing-ink);
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    margin: 0 0 1.1rem;
}

.checkout-summary > p:not(.member-kicker) {
    color: var(--landing-muted);
    font-size: .83rem;
    margin: 0 0 .65rem;
}

.checkout-summary > p i {
    color: var(--landing-blue);
    margin-right: .4rem;
}

.checkout-ticket,
.checkout-total {
    align-items: center;
    border-top: 1px solid #edf2f5;
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
}

.checkout-ticket span {
    color: var(--landing-muted);
    font-size: .86rem;
}

.checkout-ticket strong {
    color: var(--landing-ink);
    font-size: .88rem;
}

.checkout-total strong {
    color: var(--landing-coral);
    font-size: 1.2rem;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }

    .navbar {
        min-height: 58px;
    }

    .account-subnav {
        display: none;
    }

    .has-account-subnav .landing-main {
        padding-top: 58px;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .main-container {
        margin-top: 3rem !important;
        padding-top: 1.4rem !important;
    }

    .has-account-subnav .main-container {
        margin-top: 3rem !important;
        padding-top: 1.4rem !important;
    }

    .public-discovery-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .footer {
        display: none;
    }

    .mobile-bottom-nav {
        align-items: center;
        background: #fff;
        border-top: 1px solid #e2e8f0;
        bottom: 0;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        height: calc(70px + env(safe-area-inset-bottom));
        left: 0;
        padding: 7px 8px env(safe-area-inset-bottom);
        position: fixed;
        right: 0;
        z-index: 1040;
    }

    .mobile-nav-item {
        align-items: center;
        color: #64748b;
        display: flex;
        flex-direction: column;
        font-size: 0.72rem;
        gap: 5px;
        justify-content: center;
        min-height: 54px;
        text-decoration: none;
        font-family: 'Roboto', sans-serif;
        position: relative;
    }

    .mobile-nav-item i {
        font-size: 1.25rem;
    }

    .mobile-nav-item.active {
        color: var(--primary-color);
        font-weight: 600;
    }

    .mobile-nav-item.active::before {
        background: currentColor;
        border-radius: 0 0 3px 3px;
        content: "";
        height: 3px;
        left: 27%;
        position: absolute;
        right: 27%;
        top: -7px;
    }

    .mobile-nav-scan {
        align-items: center;
        align-self: start;
        background: var(--primary-color);
        border: 4px solid #fff;
        border-radius: 50%;
        color: #fff;
        display: flex;
        font-size: 1.6rem;
        height: 60px;
        justify-content: center;
        justify-self: center;
        margin-top: -29px;
        text-decoration: none;
        width: 60px;
    }

    .site-navbar .nav-link.active::after {
        display: none;
    }

    .mobile-nav-scan.active,
    .mobile-nav-scan:hover {
        background: #4338ca;
        color: #fff;
    }

    .card:hover {
        transform: none;
    }

    .landing-main {
        padding-top: 58px;
    }

    .landing-body .landing-navbar {
        min-height: 58px;
    }

    .discover-hero {
        height: auto;
        min-height: 615px;
    }

    .discover-hero-image {
        object-position: 67% center;
    }

    .discover-hero-wash {
        background: linear-gradient(180deg, rgba(245,251,255,.94) 0%, rgba(245,251,255,.86) 58%, rgba(245,251,255,.96) 100%);
    }

    .discover-hero-inner {
        padding: 3.2rem 1.25rem 2.25rem;
    }

    .discover-event-track,
    .discover-category-grid,
    .discover-city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .discover-section,
    .discover-events,
    .discover-cities {
        padding: 2.6rem 1.25rem 3.25rem;
}

.landing-body .mobile-bottom-nav {
    border-color: var(--landing-border);
}

.landing-body .mobile-nav-item.active {
    color: var(--landing-blue);
}

.landing-body .mobile-nav-scan {
    background: var(--landing-blue);
}

.landing-body .mobile-nav-scan.active,
.landing-body .mobile-nav-scan:hover {
    background: #12567f;
}

.catalog-hero {
        padding: 2rem 0 1.6rem;
    }

    .catalog-layout {
        display: block;
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
        padding-top: 1.25rem;
    }

    .catalog-sidebar {
        display: block;
        margin-bottom: 1.25rem;
        position: static;
    }

    .catalog-mobile-filters {
        background: #fff;
        border: 1px solid var(--landing-border);
        border-radius: 8px;
        display: block;
        margin-bottom: 1rem;
    }

    .catalog-mobile-filters summary {
        align-items: center;
        color: var(--landing-ink);
        cursor: pointer;
        display: flex;
        font-weight: 600;
        gap: .55rem;
        list-style: none;
        padding: .9rem 1rem;
    }

    .catalog-mobile-filters summary::-webkit-details-marker {
        display: none;
    }

    .catalog-mobile-filters summary span {
        background: var(--landing-coral);
        border-radius: 100px;
        color: #fff;
        font-size: .72rem;
        margin-left: auto;
        padding: .15rem .5rem;
    }

    .catalog-mobile-filters .catalog-filter-form {
        border: 0;
        border-top: 1px solid #edf2f5;
        border-radius: 0;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-dashboard,
    .member-account,
    .member-tickets {
        padding: 2rem 0 calc(5.3rem + env(safe-area-inset-bottom));
    }

    .member-panels,
    .member-settings {
        grid-template-columns: 1fr;
    }

    .profile-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .checkout-shell {
        grid-template-columns: 1fr;
        max-width: 580px;
    }

    .checkout-summary {
        grid-row: 1;
    }
}

@media (max-width: 575.98px) {
    .discover-hero {
        min-height: 560px;
    }

    .discover-hero-inner {
        padding-bottom: 1.25rem;
        padding-top: 1.65rem;
    }

    .discover-eyebrow {
        margin-bottom: .85rem;
    }

    .discover-hero h1 {
        font-size: 2.75rem;
        margin-bottom: .55rem;
    }

    .discover-hero h2 {
        font-size: 1.45rem;
        margin-bottom: .5rem;
    }

    .discover-lead {
        font-size: .93rem;
        line-height: 1.48;
        margin-bottom: 1.05rem;
    }

    .discover-search {
        align-items: stretch;
        border-radius: 8px;
        display: grid;
        gap: .65rem;
        grid-template-columns: 24px 1fr;
        padding: .55rem .7rem;
    }

    .discover-search i {
        align-self: center;
        grid-row: 1;
    }

    .discover-search input {
        grid-row: 1;
        padding: .38rem 0;
        width: 100%;
    }

    .discover-search select {
        border-left: 0;
        border-top: 1px solid var(--landing-border);
        grid-column: 1 / 3;
        max-width: none;
        padding: .62rem .25rem .18rem;
        width: 100%;
    }

    .discover-search button {
        grid-column: 1 / 3;
        padding: .62rem 1.25rem;
    }

    .discover-stats {
        gap: 1.4rem;
        margin-top: 1.25rem;
    }

    .discover-stats strong {
        font-size: 1.45rem;
    }

    .discover-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: .9rem;
    }

    .discover-event-track,
    .discover-category-grid,
    .discover-city-grid {
        grid-template-columns: 1fr;
    }

    .catalog-inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .catalog-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: .9rem;
    }

    .catalog-sort {
        justify-content: space-between;
    }

    .catalog-sort select {
        flex: 1;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .catalog-card {
        min-height: 0;
    }

    .member-shell {
        padding: 0 1rem;
    }

    .member-welcome,
    .member-list-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.15rem;
        margin-bottom: 1.35rem;
    }

    .member-welcome h1,
    .member-list-header h1 {
        font-size: 1.85rem;
    }

    .member-primary-action {
        width: 100%;
    }

    .member-stat-grid {
        gap: .65rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .member-stat {
        align-items: flex-start;
        flex-direction: column;
        gap: .55rem;
        min-height: 113px;
        padding: .75rem;
    }

    .member-stat > i {
        height: 34px;
        width: 34px;
    }

    .member-stat strong {
        font-size: 1.3rem;
    }

    .member-stat span {
        font-size: .72rem;
    }

    .member-profile-header {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 1rem;
    }

    .member-profile-header h1 {
        font-size: 1.6rem;
    }

    .member-role {
        margin-left: 0;
        width: 100%;
    }

    .profile-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .member-ticket-grid {
        grid-template-columns: 1fr;
    }

    .auth-page {
        min-height: calc(100vh - 58px);
        padding: 1.1rem 1rem 2.5rem;
    }

    .auth-surface {
        padding: 1.45rem 1.1rem;
    }

    .auth-columns {
        grid-template-columns: 1fr;
    }

    .checkout-page {
        padding: 1.5rem 1rem calc(5.5rem + env(safe-area-inset-bottom));
    }

    .checkout-form-panel,
    .checkout-summary {
        padding: 1.15rem;
    }

    .checkout-form-panel h1 {
        font-size: 1.7rem;
    }

    .seat-select-page {
        padding: 1rem .85rem 5rem;
    }

    .seat-select-head,
    .seat-select-layout {
        grid-template-columns: 1fr;
    }

    .seat-ticket-summary {
        text-align: left;
    }

    .seat-select-map {
        border-radius: 20px;
        padding: 1rem;
        overflow-x: auto;
    }

    .seat-select-panel {
        position: static;
    }

    .seat-button.wide {
        height: 36px;
        min-width: 36px;
    }
}

/* Event create experience */
.event-create-page {
    margin: 0 auto 48px;
    max-width: 1180px;
}

.event-create-head {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.event-create-head span {
    color: #f97316;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.event-create-head h2 {
    color: #111827;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 950;
    margin: 4px 0 0;
}

.event-create-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    padding: clamp(18px, 3vw, 28px);
}

.event-create-step-title {
    border-bottom: 1px solid #e2e8f0;
    color: #111827;
    font-weight: 900;
    margin-bottom: 18px;
    padding-bottom: 12px;
}

.event-image-preview {
    aspect-ratio: 16 / 10;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.event-image-preview img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.event-image-preview span {
    background: rgba(17, 24, 39, .84);
    border-radius: 999px;
    bottom: 12px;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    left: 12px;
    padding: 6px 10px;
    position: absolute;
}

.event-location-box {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    padding: 16px;
}

.event-location-fields h6 {
    color: #111827;
    font-weight: 900;
    margin-bottom: 12px;
}

.event-map-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    margin-top: 12px;
}

#mapPreview {
    border: 0;
    border-radius: 8px;
    min-height: 280px;
    width: 100%;
}

.seat-plan-builder {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.seat-plan-builder label[for="SeatPlanText"],
#SeatPlanText {
    display: none;
}

.seat-plan-stage {
    background: #111827;
    border-radius: 8px 8px 24px 24px;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0 auto 18px;
    max-width: 420px;
    padding: 10px 16px;
    text-align: center;
}

.seat-plan-controls {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(160px, 1fr) 120px 150px auto auto;
}

.seat-plan-summary {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    color: #3730a3;
    font-size: .92rem;
    font-weight: 700;
    margin-top: 14px;
    padding: 10px 12px;
}

.seat-plan-preview {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.seat-preview-row {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: 160px minmax(0, 1fr);
    padding: 10px;
}

.seat-preview-row strong {
    color: #111827;
    font-size: .88rem;
}

.seat-preview-row strong small {
    color: #64748b;
    display: block;
    font-size: .76rem;
    font-weight: 600;
    margin-top: 2px;
}

.seat-preview-row span {
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(auto-fill, minmax(28px, 1fr));
}

.seat-preview-row i {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px 6px 12px 12px;
    color: #334155;
    display: flex;
    font-size: .72rem;
    font-style: normal;
    font-weight: 700;
    height: 28px;
    justify-content: center;
    min-width: 28px;
}

.seat-plan-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.ticket-builder-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.ticket-builder-list {
    display: grid;
    gap: 10px;
}

.ticket-builder-row {
    align-items: end;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(180px, 1fr) 140px 140px 48px;
    padding: 12px;
}

.ticket-builder-row label {
    color: #475569;
    font-size: .78rem;
    font-weight: 850;
    margin-bottom: 5px;
}

.ticket-builder-row .remove-ticket {
    height: 38px;
    padding: 0;
    width: 38px;
}

@media (max-width: 991.98px) {
    .event-location-box,
    .seat-plan-controls,
    .ticket-builder-row {
        grid-template-columns: 1fr;
    }

    .event-map-actions {
        grid-template-columns: 1fr;
    }

    .ticket-builder-actions {
        justify-content: flex-start;
    }
}

/* White Roboto theme */
:root {
    --primary-color: #111827;
    --secondary-color: #374151;
    --accent-color: #111827;
    --success-color: #166534;
    --warning-color: #92400e;
    --danger-color: #b91c1c;
    --bg-color: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --surface: #ffffff;
    --surface-soft: #f9fafb;
    --line: #e5e7eb;
    --line-strong: #d1d5db;
    --theme-shadow: 0 12px 30px rgba(17, 24, 39, .05);
}

html,
body,
button,
input,
select,
textarea,
.landing-body {
    font-family: 'Roboto', Arial, sans-serif;
}

body,
.landing-body {
    --landing-blue: #111827;
    --landing-coral: #111827;
    --landing-ink: #111827;
    --landing-muted: #6b7280;
    --landing-border: #e5e7eb;
    --landing-soft: #f9fafb;
    background: #fff;
    color: #111827;
}

h1, h2, h3, h4, h5, h6,
.site-navbar .landing-brand,
.landing-body .landing-brand,
.discover-hero h1,
.discover-hero h2,
.discover-stats strong,
.discover-section-header h2,
.discover-event-card h3,
.discover-city-card h3,
.discover-signup h2,
.catalog-title-row h1,
.catalog-card-body h3,
.member-welcome h1,
.member-list-header h1,
.member-profile-header h1,
.member-ticket-preview h3,
.member-avatar,
.member-ticket h2,
.auth-surface header h1,
.checkout-form-panel h1,
.checkout-summary h2 {
    font-family: 'Roboto', Arial, sans-serif;
    letter-spacing: -.025em;
}

.site-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(17, 24, 39, .02);
}

.site-navbar .container {
    position: relative;
}

.site-navbar .landing-brand,
.landing-body .landing-brand,
.site-navbar .landing-brand span,
.landing-body .landing-brand span {
    color: #111827;
}

.site-navbar .nav-link {
    color: #4b5563;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    background: #f3f4f6;
    color: #111827;
}

.site-navbar .nav-link.active::after {
    background: #111827;
}

.navbar-event-search {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex;
    height: 44px;
    left: 50%;
    max-width: 390px;
    padding: 0 .35rem 0 .9rem;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: border-color .2s ease, box-shadow .2s ease;
    width: min(390px, 32vw);
}

.navbar-event-search:focus-within {
    background: #ffffff;
    border-color: #111827;
    box-shadow: 0 0 0 .2rem rgba(17, 24, 39, .08);
}

.navbar-event-search i {
    color: #6b7280;
    font-size: .88rem;
}

.navbar-event-search input {
    background: transparent;
    border: 0;
    color: #111827;
    flex: 1;
    font-size: .9rem;
    min-width: 0;
    outline: 0;
    padding: 0 .7rem;
}

.navbar-event-search input::placeholder {
    color: #9ca3af;
}

.navbar-event-search button {
    background: #111827;
    border: 0;
    border-radius: 8px;
    color: #fff;
    font-size: .83rem;
    font-weight: 500;
    height: 34px;
    padding: 0 .85rem;
}

.navbar-event-search button:hover {
    background: #374151;
}

.navbar-city-selector {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex;
    height: 44px;
    left: calc(50% + 205px);
    padding: 0 .65rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.navbar-city-selector:focus-within {
    border-color: #111827;
    box-shadow: 0 0 0 .2rem rgba(17, 24, 39, .08);
}

.navbar-city-selector i {
    color: #6b7280;
    font-size: .88rem;
    margin-right: .35rem;
}

.navbar-city-selector select {
    background: transparent;
    border: 0;
    color: #4b5563;
    font-size: .88rem;
    max-width: 145px;
    outline: 0;
}

.landing-nav-cta,
.site-navbar .landing-nav-cta.active,
.catalog-create,
.member-primary-action,
.auth-form > button,
.checkout-form button,
.catalog-filter-submit,
.seat-confirm-button,
.ticket-purchase-option a,
.ticket-purchase-option button {
    background: #111827;
    border: 1px solid #111827;
    color: #fff;
    box-shadow: none;
}

.landing-nav-cta:hover,
.catalog-create:hover,
.member-primary-action:hover,
.auth-form > button:hover,
.checkout-form button:hover,
.catalog-filter-submit:hover,
.seat-confirm-button:hover,
.ticket-purchase-option a:hover,
.ticket-purchase-option button:hover {
    background: #374151;
    border-color: #374151;
    color: #fff;
}

.account-subnav {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
}

.account-subnav-link {
    color: #6b7280;
}

.account-subnav-link:hover,
.account-subnav-link.active {
    background: #f3f4f6;
    box-shadow: none;
    color: #111827;
}

.dropdown-menu {
    border: 1px solid var(--line) !important;
    border-radius: 12px;
    box-shadow: var(--theme-shadow) !important;
    padding: .45rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: .58rem .75rem;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: #f3f4f6;
    color: #111827;
}

.card,
.catalog-filter-form,
.catalog-card,
.member-stat,
.member-panel,
.member-profile-header,
.member-ticket,
.auth-surface,
.checkout-form-panel,
.checkout-summary,
.seat-select-map,
.seat-select-panel,
.seat-ticket-summary,
.ticket-qr-modal .modal-content {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: none;
}

.card:hover,
.catalog-card:hover,
.member-ticket:hover,
.discover-event-card:hover,
.discover-city-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--theme-shadow);
}

.discover-hero {
    background: #fff;
    border-bottom: 1px solid var(--line);
    min-height: 510px;
}

.discover-hero-image {
    display: none;
}

.discover-hero-wash {
    background: radial-gradient(circle at 78% 30%, #f3f4f6, #fff 48%);
}

.discover-hero h1 span,
.discover-kicker,
.discover-eyebrow,
.discover-date,
.discover-event-footer strong,
.discover-section-header > a,
.member-kicker,
.member-date,
.member-panel-heading a,
.member-empty i,
.member-empty a,
.member-qr-action,
.checkout-summary > p i,
.test-card-hint,
.seat-picker-kicker {
    color: #111827;
}

.discover-eyebrow span {
    background: #111827;
}

.discover-search {
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    box-shadow: none;
}

.discover-search button {
    background: #111827;
    border-radius: 8px;
}

.discover-search button:hover {
    background: #374151;
}

.discover-events,
.discover-cities,
.catalog-hero,
.member-dashboard,
.member-account,
.member-tickets,
.auth-page,
.checkout-page,
.seat-select-page {
    background: #f9fafb;
}

.discover-event-card,
.discover-city-card,
.discover-category {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: none;
}

.discover-event-top > span:first-child,
.member-role,
.catalog-category,
.catalog-card-header,
.member-stat > i,
.test-card-hint {
    background: #f3f4f6;
    border-color: var(--line);
    color: #111827;
}

.discover-event-footer a,
.member-outline-action {
    border-color: var(--line-strong);
    color: #111827;
}

.discover-event-footer a:hover,
.member-outline-action:hover {
    background: #111827;
    color: #fff;
}

.discover-signup {
    background: #fff;
    border-top: 1px solid var(--line);
    color: #111827;
}

.discover-signup p {
    color: #6b7280;
}

.discover-signup a {
    background: #111827;
    color: #fff;
}

.landing-site-footer,
.site-footer {
    background: #fff;
    border-top: 1px solid var(--line);
    color: #6b7280;
}

.catalog-card-owned {
    background: #fff;
    border-color: #111827;
}

.catalog-owned-badge {
    background: #111827;
}

.catalog-card-owned .catalog-card-header,
.member-stat.confirmed > i,
.member-stat.pending > i,
.member-notification.unread,
.member-qr,
.member-seat {
    background: #f3f4f6;
    border-color: var(--line);
    color: #111827;
}

.catalog-capacity span,
.member-ticket-preview {
    background: #111827;
    border-color: #111827;
}

.member-status.approved,
.member-status.waiting,
.member-status.cancelled {
    background: #f3f4f6;
    color: #374151;
}

.form-control,
.form-select,
.catalog-field select,
.catalog-date-range input,
.catalog-sort select,
.auth-form input:not([type="checkbox"]),
.checkout-form input {
    background: #fff;
    border-color: var(--line-strong);
}

.form-control:focus,
.form-select:focus,
.auth-form input:not([type="checkbox"]):focus,
.checkout-form input:focus {
    border-color: #111827;
    box-shadow: 0 0 0 .2rem rgba(17, 24, 39, .1);
}

.event-detail-hero {
    background: #f9fafb;
    border-bottom: 1px solid var(--line);
    color: #111827;
    height: 250px;
}

.event-detail-hero .bg-primary {
    background: #111827 !important;
}

.seat-picker {
    background: #f9fafb;
    border-color: var(--line);
}

.seat-stage {
    background: #111827;
}

.seat-dot.available,
.seat-button {
    background: #fff;
    border-color: var(--line-strong);
    color: #111827;
}

.seat-dot.selected,
.seat-button.selected {
    background: #111827;
    border-color: #111827;
    color: #fff;
    box-shadow: none;
}

.seat-dot.taken,
.seat-button.taken,
.seat-button:disabled {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #9ca3af;
}

.mobile-bottom-nav {
    background: #fff;
    border-top: 1px solid var(--line);
}

@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse {
        background: #fff;
        border-top: 1px solid var(--line);
        margin: .7rem -0.75rem 0;
        padding: .85rem .75rem 1rem;
    }

    .navbar-event-search {
        background: #ffffff;
        margin-bottom: .75rem;
        max-width: none;
        position: static;
        transform: none;
        width: 100%;
    }

    .navbar-city-selector {
        margin-bottom: .75rem;
        position: static;
        transform: none;
        width: 100%;
    }

    .navbar-city-selector select {
        flex: 1;
        max-width: none;
    }

    .mobile-nav-item.active {
        color: #111827;
    }

    .mobile-nav-scan,
    .landing-body .mobile-nav-scan,
    .mobile-nav-scan.active,
    .mobile-nav-scan:hover {
        background: #111827;
        color: #fff;
    }
}

.btn-primary,
.btn-success {
    --bs-btn-bg: #111827;
    --bs-btn-border-color: #111827;
    --bs-btn-hover-bg: #374151;
    --bs-btn-hover-border-color: #374151;
    --bs-btn-active-bg: #111827;
    --bs-btn-active-border-color: #111827;
    --bs-btn-disabled-bg: #9ca3af;
    --bs-btn-disabled-border-color: #9ca3af;
}

.btn-outline-primary {
    --bs-btn-color: #111827;
    --bs-btn-border-color: #d1d5db;
    --bs-btn-hover-bg: #111827;
    --bs-btn-hover-border-color: #111827;
    --bs-btn-active-bg: #111827;
    --bs-btn-active-border-color: #111827;
}

.bg-primary,
.bg-success,
.bg-warning {
    background-color: #111827 !important;
    color: #fff !important;
}

.text-primary,
.text-success,
.text-warning {
    color: #111827 !important;
}

.alert-info,
.alert-success,
.alert-warning {
    background: #f9fafb;
    border-color: var(--line);
    color: #374151;
}

.badge-pending,
.badge-confirmed,
.badge-cancelled {
    background-color: #f3f4f6;
    color: #374151;
}

.scanner-panel,
.scanner-viewport {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: none;
}

.scanner-idle {
    color: #6b7280;
}

.scanner-frame {
    border-color: #111827;
}

.qr-container {
    border: 1px solid var(--line);
    box-shadow: none;
}

/* Unified navigation */
.account-subnav,
.mobile-bottom-nav {
    display: none !important;
}

.site-navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
    margin: 0;
    min-height: 68px;
    width: 100%;
    padding: 0;
}

.site-navbar-shell {
    align-items: center;
    gap: clamp(.5rem, 1.4vw, 1.3rem);
    max-width: 100%;
    padding-left: clamp(1rem, 1.5vw, 1.5rem);
    padding-right: clamp(1rem, 1.5vw, 1.5rem);
}

.site-navbar .landing-brand {
    color: #111827 !important;
    font-size: 1.6rem;
    font-weight: 900 !important;
    letter-spacing: -.075em;
    line-height: 1;
    padding: .25rem 0;
    white-space: nowrap;
}

.site-navbar .landing-brand span {
    color: #f59e0b;
    margin-left: .04rem;
}

.site-navbar .navbar-collapse {
    align-items: center;
    gap: clamp(.7rem, 1vw, 1rem);
}

.navbar-discovery {
    align-items: center;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 999px !important;
    display: flex;
    flex: 1 1 0; /* allows shrinking below content size if necessary */
    gap: 0;
    justify-content: space-between;
    margin: 0 clamp(0.5rem, 1vw, 1.5rem) !important;
    max-width: 600px; /* Reduced from 650px to leave room for auth buttons */
    padding: 4px 6px !important;
    height: 50px; /* slightly smaller height */
    transition: all 0.2s ease;
    justify-content: center;
}

.navbar-discovery:focus-within {
    background: #fff !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1) !important;
}

.navbar-event-search {
    align-items: center;
    background: transparent !important;
    border: none !important;
    border-right: 1px solid #cbd5e1 !important;
    border-radius: 0 !important;
    display: flex !important;
    flex: 1 1 auto;
    height: 100%;
    margin: 0 !important;
    padding-left: .8rem;
    padding-right: .5rem;
}

.navbar-event-search input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #111827 !important;
    flex: 1;
    min-width: 50px;
    outline: none !important;
    padding: 0 .5rem !important;
    margin: 0 !important;
    font-size: 0.95rem;
}

.navbar-event-search input::placeholder {
    color: #94a3b8 !important;
}

.navbar-event-search i {
    color: #64748b !important;
    font-size: 1.1rem;
}

.navbar-event-search button {
    background: #f59e0b !important;
    border-radius: 999px !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    height: 38px !important;
    margin-left: .2rem !important;
    padding: 0 1.25rem !important;
    transition: all 0.2s ease;
}

.navbar-event-search button:hover {
    background: #ea580c !important;
    transform: translateY(-1px);
}

.navbar-city-selector {
    align-items: center;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    flex: 0 0 auto;
    height: 100%;
    margin: 0 !important;
    padding: 0 .8rem;
}

.navbar-city-selector select {
    border: none !important;
    color: #475569 !important;
    background: transparent !important;
    font-weight: 500 !important;
    outline: none !important;
    padding: 0 .5rem !important;
    box-shadow: none !important;
    cursor: pointer;
}

.navbar-city-selector select option {
    color: #111827 !important;
}

.navbar-city-selector i {
    color: #64748b !important;
    font-size: 1.1rem;
}

.site-navbar-actions {
    gap: .15rem;
    margin-left: auto !important;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.site-navbar-actions .nav-link {
    align-items: center;
    color: #475569 !important;
    display: inline-flex;
    font-size: .88rem; /* smaller font */
    font-weight: 600;
    height: 38px; /* smaller height */
    padding: .4rem .6rem !important; /* tighter padding */
    transition: color 0.2s, background 0.2s;
    border-radius: 999px;
}

.site-navbar-actions .nav-link:hover {
    color: #0f172a !important;
    background: rgba(15, 23, 42, 0.04);
}

.site-navbar-actions .nav-link.active {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706 !important;
}

.site-navbar-actions .nav-link.active::after {
    display: none;
}

.navbar-notification {
    margin-left: .35rem;
    margin-right: .48rem;
}

.nav-icon-link {
    align-items: center;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 50%;
    color: #1e293b !important;
    display: inline-flex;
    font-size: 1.08rem !important;
    height: 42px !important;
    justify-content: center;
    margin: 0;
    transition: background 0.2s, transform 0.2s;
    width: 42px;
}

.nav-icon-link:hover {
    background: rgba(15, 23, 42, 0.08);
    transform: scale(1.05);
}

.notification-dot {
    align-items: center;
    background: #ef4444;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-size: .58rem;
    font-weight: 700;
    height: 18px;
    justify-content: center;
    position: absolute;
    right: 3px;
    top: 4px;
    width: 18px;
}

.navbar-profile-trigger {
    align-items: center;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #1e293b;
    display: inline-flex;
    border-radius: 999px;
    gap: .4rem; /* tighter */
    padding: .2rem .5rem .2rem .2rem !important; /* tighter */
    transition: background 0.2s, border-color 0.2s;
    font-weight: 600;
    font-size: .88rem;
    max-width: 160px; /* prevent long names from breaking layout */
}

.navbar-profile-trigger span:not(.navbar-avatar) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar-profile-trigger:hover {
    background: #fff !important;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.navbar-profile-trigger.active::after {
    display: none;
}

.navbar-avatar {
    align-items: center;
    background: #111827;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: .82rem;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.navbar-profile .profile-dropdown {
    border: 1px solid #edf0f3;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .1);
    left: auto;
    margin-top: .65rem !important;
    min-width: 245px;
    padding: .55rem;
    right: 0;
}

.profile-dropdown-header {
    align-items: center;
    display: flex;
    gap: .7rem;
    padding: .55rem .62rem .65rem;
}

.profile-dropdown-header .navbar-avatar {
    height: 40px;
    width: 40px;
}

.profile-dropdown-header strong {
    color: #111827;
    display: block;
    font-size: .92rem;
    font-weight: 600;
}

.profile-dropdown-header small {
    color: #6b7280;
    display: block;
    font-size: .76rem;
    margin-top: .12rem;
}

.profile-dropdown .dropdown-divider {
    border-color: #edf0f3;
    margin: .38rem .2rem;
}

.profile-dropdown .dropdown-item {
    align-items: center;
    border-radius: 10px;
    color: #374151;
    display: flex;
    font-size: .89rem;
    font-weight: 500;
    gap: .7rem;
    padding: .6rem .62rem;
}

.profile-dropdown .dropdown-item.active {
    background: #f5f6f8;
    color: #111827;
}

.profile-dropdown .dropdown-item:hover {
    background: #f8fafc;
    color: #111827;
}

.profile-menu-icon {
    align-items: center;
    color: #6b7280;
    display: inline-flex;
    justify-content: center;
    width: 18px;
}

.profile-dropdown .dropdown-item.active .profile-menu-icon {
    color: #111827;
}

.profile-dropdown-logout {
    margin-top: .15rem;
}

.profile-dropdown-logout .dropdown-item,
.profile-dropdown-logout .profile-menu-icon {
    color: #b42318;
}

.profile-dropdown-logout .dropdown-item:hover {
    background: #fff5f5;
    color: #b42318;
}

.landing-main {
    padding-top: 74px;
}

@media (min-width: 1200px) and (max-width: 1350px) {
    .navbar-discovery {
        margin-left: .3rem;
        max-width: 465px;
        min-width: 340px;
    }

    .site-navbar-actions .nav-link {
        font-size: .85rem;
        padding-left: .45rem !important;
        padding-right: .45rem !important;
    }
}

@media (max-width: 1199.98px) {
    body {
        padding-bottom: 0;
    }

    .site-navbar {
        border-radius: 0;
        margin: 0;
        width: 100%;
        min-height: 64px;
        background: rgba(255, 255, 255, 0.95) !important;
        border: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .site-navbar .landing-brand {
        font-size: 1.55rem;
    }

    .site-navbar .navbar-collapse {
        align-items: stretch;
        background: #fff;
        border-top: 1px solid #e2e8f0;
        gap: .8rem;
        margin: .8rem calc(-1 * clamp(1rem, 2.2vw, 2rem)) 0;
        padding: 1rem clamp(1rem, 2.2vw, 2rem) 1.1rem;
    }

    .navbar-discovery {
        align-items: stretch;
        background: transparent;
        border: none;
        flex-direction: column;
        gap: .6rem;
        margin: .5rem 0;
        max-width: none;
        min-width: 0;
        padding: 0;
    }

    .navbar-event-search {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        border-right: none;
    }

    .navbar-city-selector {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
    }

    .navbar-event-search,
    .navbar-city-selector {
        flex: none;
        margin: 0;
        max-width: none;
        width: 100%;
    }

    .navbar-event-search button {
        border-radius: 8px;
    }

    .site-navbar-actions {
        border-top: 1px solid #e2e8f0;
        gap: .15rem;
        margin-left: 0 !important;
        margin-top: .25rem;
        padding-top: .6rem;
    }

    .site-navbar-actions .nav-link {
        padding: .7rem .75rem !important;
    }

    .site-navbar-actions .nav-link.active {
        background: rgba(245, 158, 11, 0.1);
    }

    .site-navbar-actions .nav-link.active::after {
        display: none;
    }

    .nav-icon-link {
        background: transparent;
        justify-content: flex-start;
        margin: 0;
        width: 100%;
    }

    .navbar-profile-trigger {
        width: 100%;
    }

    .navbar-profile .profile-dropdown {
        box-shadow: none;
        margin-top: .25rem !important;
        position: static !important;
        transform: none !important;
        width: 100%;
    }

    .landing-main {
        padding-top: 64px;
    }
}

/* Image-led event cards */
.catalog-card {
    border-radius: 18px;
    min-height: 0;
}

.catalog-card-media {
    aspect-ratio: 16 / 9;
    background: #eef2f5;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.catalog-card-media::after,
.discover-event-media::after {
    background: linear-gradient(180deg, rgba(15, 23, 42, .24), transparent 40%, rgba(15, 23, 42, .16));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.catalog-card-media img,
.discover-event-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    width: 100%;
}

.catalog-card:hover .catalog-card-media img,
.discover-event-card:hover .discover-event-media img {
    transform: scale(1.035);
}

.catalog-card .catalog-card-header {
    background: transparent;
    border: 0;
    inset: .8rem .85rem auto;
    padding: 0;
    position: absolute;
    z-index: 1;
}

.catalog-card .catalog-category,
.catalog-card .catalog-place {
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, .94);
    border-radius: 100px;
    color: #111827;
    display: inline-flex;
    font-size: .7rem;
    font-weight: 700;
    gap: .35rem;
    min-height: 30px;
    padding: .35rem .72rem;
}

.catalog-card .catalog-place {
    font-size: .76rem;
    font-weight: 500;
}

.catalog-owned-badge {
    backdrop-filter: blur(8px);
    background: rgba(17, 24, 39, .88);
    border-radius: 100px;
    bottom: .8rem;
    font-size: .72rem;
    left: .85rem;
    padding: .4rem .7rem;
    position: absolute;
    z-index: 1;
}

.catalog-card-owned {
    background: #fff;
    border-color: #d1d5db;
    box-shadow: none;
}

.catalog-card-body {
    padding: 1.12rem 1.15rem 1rem;
}

.catalog-date {
    color: #6b7280;
    font-size: .78rem;
    letter-spacing: .015em;
    margin-bottom: .48rem;
}

.catalog-card-body h3 {
    font-size: 1.22rem;
    line-height: 1.3;
    margin-bottom: .38rem;
}

.catalog-organizer {
    color: #4b5563;
    font-size: .84rem;
    font-weight: 500;
    margin-bottom: .68rem;
}

.catalog-description {
    min-height: 2.5em;
}

.catalog-details {
    border-top: 1px solid #f0f1f3;
    padding-top: .85rem;
}

.catalog-capacity {
    background: #f0f1f3;
}

.catalog-card-footer {
    margin-top: auto;
    padding: .88rem 1.15rem 1.05rem;
}

.catalog-card-footer a {
    border-color: #111827;
    color: #111827;
}

.catalog-card-footer a:hover,
.catalog-card-owned .catalog-card-footer a {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.catalog-card-footer strong,
.catalog-card-owned .catalog-card-footer strong {
    color: #111827;
}

.discover-event-card {
    border-radius: 18px;
    min-height: 0;
    overflow: hidden;
    padding: 0;
}

.discover-event-media {
    aspect-ratio: 16 / 9;
    background: #eef2f5;
    overflow: hidden;
    position: relative;
}

.discover-event-top {
    inset: .85rem .85rem auto;
    margin: 0;
    position: absolute;
    z-index: 1;
}

.discover-event-top > span:first-child,
.discover-city {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, .94);
    border-radius: 100px;
    color: #111827;
    font-size: .7rem;
    font-weight: 700;
    padding: .38rem .7rem;
}

.discover-city {
    font-size: .75rem;
    font-weight: 500;
}

.discover-event-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.08rem 1.12rem 1.12rem;
}

.discover-event-card h3 {
    font-size: 1.18rem;
    margin-bottom: .32rem;
}

.discover-organizer {
    color: #4b5563;
    font-size: .83rem;
    font-weight: 500;
    margin-bottom: .62rem;
}

.discover-description {
    color: #6b7280;
    display: -webkit-box;
    font-size: .84rem;
    line-height: 1.45;
    margin-bottom: .72rem;
    min-height: 2.45em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.discover-venue {
    color: #6b7280;
    font-size: .82rem;
    margin-bottom: .85rem;
}

.discover-event-footer {
    margin-top: auto;
    padding-top: .82rem;
}

.discover-event-footer strong {
    color: #111827;
}

.discover-event-footer a {
    border-color: #111827;
    color: #111827;
}

.discover-event-footer a:hover {
    background: #111827;
    color: #fff;
}

/* Admin dashboard */
.admin-dashboard {
    background: #f9fafb;
    min-height: calc(100vh - 74px);
    padding: 2.3rem 0 3.25rem;
}

.admin-shell {
    margin: 0 auto;
    max-width: 1360px;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.admin-header {
    align-items: center;
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    margin-bottom: 1.7rem;
}

.admin-header h1 {
    color: #111827;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 .42rem;
}

.admin-header p:not(.member-kicker) {
    color: #6b7280;
    margin: 0;
}

.admin-stat-grid {
    display: grid;
    gap: .9rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1.25rem;
}

.admin-stat,
.admin-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.admin-stat {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.15rem 1.2rem;
}

.admin-stat span {
    color: #6b7280;
    font-size: .8rem;
}

.admin-stat strong {
    color: #111827;
    font-size: 1.8rem;
    font-weight: 700;
}

.admin-stat.wide strong {
    font-size: 1.45rem;
}

.admin-panels {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(640px, 2fr) minmax(300px, 1fr);
}

.admin-panel {
    overflow: hidden;
}

.admin-panel-heading {
    border-bottom: 1px solid #eef0f3;
    padding: 1.05rem 1.15rem;
}

.admin-panel-heading h2 {
    color: #111827;
    font-size: 1.03rem;
    font-weight: 600;
    margin: 0 0 .2rem;
}

.admin-panel-heading p {
    color: #6b7280;
    font-size: .8rem;
    margin: 0;
}

.admin-table-wrap {
    max-height: 590px;
    overflow: auto;
}

.admin-table-wrap.compact {
    max-height: 680px;
}

.admin-table {
    border-collapse: collapse;
    font-size: .84rem;
    width: 100%;
}

.admin-table th {
    background: #f9fafb;
    color: #6b7280;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .05em;
    position: sticky;
    text-transform: uppercase;
    top: 0;
    z-index: 1;
}

.admin-table td,
.admin-table th {
    border-bottom: 1px solid #f0f1f3;
    padding: .78rem .75rem;
    text-align: left;
}

.admin-table td:first-child {
    color: #111827;
    font-weight: 500;
}

.admin-table td strong {
    color: #111827;
    display: block;
    font-size: .84rem;
    font-weight: 500;
}

.admin-table td small {
    color: #6b7280;
    display: block;
    font-size: .72rem;
    margin-top: .18rem;
}

.admin-inspect {
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    color: #111827;
    display: inline-block;
    font-size: .77rem;
    font-weight: 500;
    padding: .4rem .68rem;
    text-decoration: none;
    white-space: nowrap;
}

.admin-inspect:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.admin-table tr.disabled {
    opacity: .55;
}

.admin-role {
    background: #f3f4f6;
    border-radius: 100px;
    color: #374151;
    display: inline-block;
    font-size: .73rem;
    font-weight: 500;
    padding: .3rem .58rem;
}

.admin-role.admin {
    background: #111827;
    color: #fff;
}

.admin-role.organizer {
    background: #eef2ff;
    color: #3730a3;
}

.admin-event-list {
    padding: .45rem;
}

.admin-event {
    align-items: center;
    border-radius: 11px;
    color: inherit;
    display: flex;
    gap: .7rem;
    justify-content: space-between;
    padding: .72rem .75rem;
    text-decoration: none;
}

.admin-event:hover {
    background: #f8fafc;
}

.admin-event span {
    color: #6b7280;
    display: block;
    font-size: .72rem;
    margin-bottom: .2rem;
}

.admin-event strong {
    color: #111827;
    display: block;
    font-size: .86rem;
    font-weight: 500;
}

.admin-event small {
    color: #6b7280;
    font-size: .74rem;
}

.admin-event time {
    color: #4b5563;
    font-size: .76rem;
    white-space: nowrap;
}

.admin-back {
    align-items: center;
    color: #6b7280;
    display: inline-flex;
    font-size: .86rem;
    gap: .45rem;
    margin-bottom: 1.25rem;
    text-decoration: none;
}

.admin-back:hover {
    color: #111827;
}

.admin-event-header {
    align-items: center;
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.admin-event-header h1 {
    color: #111827;
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
    font-weight: 700;
    margin: 0 0 .4rem;
}

.admin-event-header p:not(.member-kicker) {
    color: #6b7280;
    margin: 0;
}

.admin-empty {
    color: #6b7280;
    padding: 2.5rem 1.2rem;
    text-align: center;
}

.admin-registration-table code {
    color: #111827;
    font-size: .75rem;
}

.admin-registration-status {
    border-radius: 100px;
    display: inline-block;
    font-size: .73rem;
    font-weight: 500;
    padding: .33rem .6rem;
}

.admin-registration-status.approved {
    background: #ecfdf3;
    color: #166534;
}

.admin-registration-status.waiting {
    background: #fffbeb;
    color: #92400e;
}

.admin-registration-status.cancelled {
    background: #fef2f2;
    color: #991b1b;
}

@media (max-width: 991.98px) {
    .admin-header,
    .admin-event-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .admin-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin console shell */
.admin-dashboard {
    padding: 0;
}

.admin-layout {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1540px;
    min-height: calc(100vh - 74px);
}

.admin-sidebar {
    background: #fff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 74px);
    padding: 1.35rem .9rem;
    position: sticky;
    top: 74px;
}

.admin-sidebar-brand {
    align-items: center;
    display: flex;
    gap: .72rem;
    margin-bottom: 1.55rem;
    padding: .1rem .45rem;
}

.admin-sidebar-brand strong {
    color: #111827;
    display: block;
    font-size: .94rem;
}

.admin-sidebar-brand small {
    color: #6b7280;
    display: block;
    font-size: .72rem;
}

.admin-sidebar-mark {
    align-items: center;
    background: #111827;
    border-radius: 12px;
    color: #fff;
    display: inline-flex;
    height: 39px;
    justify-content: center;
    width: 39px;
}

.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: .22rem;
}

.admin-sidebar-nav a {
    align-items: center;
    border-radius: 10px;
    color: #4b5563;
    display: flex;
    font-size: .87rem;
    font-weight: 500;
    gap: .7rem;
    padding: .72rem .72rem;
    text-decoration: none;
}

.admin-sidebar-nav i {
    align-items: center;
    color: #6b7280;
    display: inline-flex;
    justify-content: center;
    width: 18px;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active {
    background: #f3f4f6;
    color: #111827;
}

.admin-sidebar-nav a.active i {
    color: #111827;
}

.admin-sidebar-nav a.child {
    font-size: .82rem;
    margin-left: 1.3rem;
    padding-bottom: .58rem;
    padding-top: .58rem;
}

.admin-sidebar-footer {
    border-top: 1px solid #eef0f3;
    margin-top: auto;
    padding: 1rem .5rem .2rem;
}

.admin-sidebar-footer a {
    color: #6b7280;
    font-size: .82rem;
    text-decoration: none;
}

.admin-content {
    min-width: 0;
    padding: clamp(1.35rem, 3vw, 2.3rem) clamp(1rem, 2.6vw, 2rem) 3rem;
}

.admin-stat-grid.compact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 920px;
}

.admin-overview-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(460px, 1.45fr) minmax(300px, 1fr);
}

.admin-panel-heading.action {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.admin-panel-heading.action > a {
    color: #111827;
    font-size: .79rem;
    font-weight: 500;
    text-decoration: none;
}

.admin-table-wrap.tall {
    max-height: calc(100vh - 335px);
    min-height: 380px;
}

.admin-audit-preview {
    padding: .5rem;
}

.admin-audit-row {
    align-items: center;
    border-radius: 10px;
    display: flex;
    gap: .7rem;
    padding: .7rem;
}

.admin-audit-row:hover {
    background: #f8fafc;
}

.admin-audit-row strong {
    color: #111827;
    display: block;
    font-size: .82rem;
    font-weight: 500;
}

.admin-audit-row small {
    color: #6b7280;
    display: block;
    font-size: .73rem;
}

.admin-login-state {
    border-radius: 50%;
    display: block;
    height: 9px;
    width: 9px;
}

.admin-login-state.success {
    background: #16a34a;
}

.admin-login-state.failed {
    background: #dc2626;
}

.admin-security-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(285px, .75fr) minmax(550px, 1.6fr);
}

.admin-block-form {
    border-bottom: 1px solid #eef0f3;
    display: flex;
    flex-direction: column;
    gap: .42rem;
    padding: 1rem 1.1rem 1.15rem;
}

.admin-block-form label {
    color: #374151;
    font-size: .76rem;
    font-weight: 500;
    margin-top: .2rem;
}

.admin-block-form input {
    border: 1px solid #d1d5db;
    border-radius: 9px;
    color: #111827;
    font-size: .87rem;
    height: 42px;
    padding: 0 .72rem;
}

.admin-block-form button {
    background: #111827;
    border: 0;
    border-radius: 9px;
    color: #fff;
    font-size: .84rem;
    font-weight: 500;
    height: 43px;
    margin-top: .7rem;
}

.admin-block-list {
    padding: .55rem;
}

.admin-block-row {
    align-items: center;
    border-radius: 10px;
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    padding: .68rem .6rem;
}

.admin-block-row strong {
    color: #111827;
    display: block;
    font-size: .82rem;
}

.admin-block-row small {
    color: #6b7280;
    display: block;
    font-size: .71rem;
}

.admin-block-row button {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    color: #b42318;
    font-size: .74rem;
    padding: .35rem .55rem;
}

.admin-login-pill {
    border-radius: 100px;
    display: inline-block;
    font-size: .72rem;
    font-weight: 500;
    padding: .31rem .56rem;
}

.admin-login-pill.success {
    background: #ecfdf3;
    color: #166534;
}

.admin-login-pill.failed {
    background: #fef2f2;
    color: #991b1b;
}

@media (max-width: 1199.98px) {
    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        border-bottom: 1px solid #e5e7eb;
        border-right: 0;
        min-height: 0;
        padding: .9rem 1rem;
        position: static;
    }

    .admin-sidebar-brand,
    .admin-sidebar-footer {
        display: none;
    }

    .admin-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .admin-sidebar-nav a,
    .admin-sidebar-nav a.child {
        flex: 0 0 auto;
        margin-left: 0;
    }

    .admin-overview-grid,
    .admin-security-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   Modern Theme Additions & Overrides
   ========================================================================== */

/* Layout & Backgrounds */
.site-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}
.landing-body .landing-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}
.site-navbar .landing-brand {
    color: var(--primary-color);
}
.site-navbar .nav-link {
    color: var(--text-muted);
}
.site-navbar .nav-link:hover, .site-navbar .nav-link.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}
.site-navbar .nav-link.active::after {
    background: var(--primary-color);
}

.discover-search {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}
.discover-search input, .discover-search select {
    color: var(--text-main);
}
.discover-search button {
    background: var(--accent-color);
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.discover-search button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Event Cards */
.discover-event-card, .catalog-card, .member-panel, .discover-city-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.discover-event-card:hover, .catalog-card:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0, 0.08), 0 0 15px rgba(99, 102, 241, 0.15);
}
.catalog-card-owned {
    background: linear-gradient(180deg, rgba(22, 163, 74, 0.05) 0%, var(--bg-surface) 48%);
    border-color: #16a34a;
}
.catalog-card-header, .catalog-card-footer {
    background: rgba(0,0,0, 0.02);
    border-top: 1px solid var(--border-color);
}
.discover-event-footer {
    border-top: 1px solid var(--border-color);
}

/* Category grid & pills */
.discover-category-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 1rem;
}
.discover-category-grid::-webkit-scrollbar {
    height: 8px;
}
.discover-category-grid::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
}
.discover-category-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}
.discover-category {
    flex: 0 0 auto;
    width: 180px;
    scroll-snap-align: start;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Progress bar in cards */
.catalog-capacity {
    background: rgba(0,0,0,0.05);
}
.catalog-capacity span {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Typography & Links */
.discover-hero h1, .discover-hero h2, .discover-section-header h2, .discover-event-card h3, .catalog-card-body h3 {
    color: var(--text-main);
    font-weight: 800;
}
.discover-lead, .discover-venue, .discover-organizer, .catalog-organizer, .catalog-description {
    color: var(--text-muted);
}
.discover-event-footer strong, .catalog-card-footer strong {
    color: var(--accent-color);
}
.discover-event-footer a, .catalog-card-footer a {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}
.discover-event-footer a:hover, .catalog-card-footer a:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

/* Mobile Bottom Tab Bar */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    z-index: 1040;
    padding: 0.5rem 1rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
}
.mobile-bottom-nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-tab-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    gap: 0.25rem;
    transition: all 0.2s;
}
.mobile-tab-link i {
    font-size: 1.25rem;
}
.mobile-tab-link.active, .mobile-tab-link:hover {
    color: var(--primary-color);
}
.mobile-tab-link.active i {
    transform: translateY(-2px);
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.mobile-bottom-nav.organizer-mobile-tabs ul > li:nth-child(-n + 2) {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }
    .navbar-toggler {
        display: block !important;
    }
    body {
        padding-bottom: 70px;
    }
}

/* Mobile Filter Bottom Sheet */
.mobile-filter-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 1.5rem;
    z-index: 1050;
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
    max-height: 85vh;
    overflow-y: auto;
}
.mobile-filter-sheet.active {
    bottom: 0;
}
.mobile-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1045;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.mobile-filter-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Range Slider */
.range-slider-container {
    position: relative;
    padding: 20px 0;
}
.range-slider-container input[type=range] {
    position: absolute;
    width: 100%;
    -webkit-appearance: none;
    pointer-events: none;
    background: transparent;
    z-index: 2;
    height: 5px;
}
.range-slider-container input[type=range]::-webkit-slider-thumb {
    pointer-events: all;
    width: 16px;
    height: 16px;
    -webkit-appearance: none;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.slider-track {
    position: absolute;
    width: 100%;
    height: 5px;
    background: var(--border-color);
    border-radius: 3px;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
}
.slider-fill {
    position: absolute;
    height: 100%;
    background: var(--primary-color);
    z-index: 1;
    border-radius: 3px;
}
.price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Skeleton Loading */
.skeleton {
    animation: pulse 1.5s infinite ease-in-out;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    border-radius: 4px;
}
@keyframes pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Toasts */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    color: var(--text-main);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.show {
    transform: translateX(0);
}
.toast.success { border-color: var(--success-color); }
.toast.error { border-color: var(--danger-color); }

/* Buttons & Inputs */
.btn-primary, .btn-success, .btn-info, .btn-danger, .landing-nav-cta {
    border: none;
    color: white;
    transition: all 0.2s ease;
}
.btn-primary { background: var(--primary-color); }
.btn-success { background: var(--success-color); }
.btn-danger { background: var(--danger-color); }

.btn-primary:hover, .btn-success:hover, .btn-info:hover, .btn-danger:hover, .landing-nav-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-primary:hover { background: var(--secondary-color); }

.btn-primary:active, .landing-nav-cta:active {
    transform: scale(0.98);
}
input, select, textarea, .form-control {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}
input:focus, select:focus, textarea:focus, .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.2) !important;
    border-color: var(--primary-color) !important;
}
.dropdown-menu {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.dropdown-item {
    color: var(--text-main);
}
.dropdown-item:hover {
    background: var(--bg-elevated);
    color: var(--primary-color);
}

/* Eventify event discovery theme */
.eventify-body {
    background: #fff;
    color: #111827;
    font-family: "Roboto", Arial, sans-serif;
    margin: 0;
}

.eventify-shell,
.eventify-shell > main {
    margin: 0;
    width: 100%;
}

.eventify-shell {
    padding-top: 68px;
}

.eventify-shell > main {
    padding: 0 !important;
}

.eventify-shell > main.skeleton {
    animation: none;
    background: #fff;
}

.ef-page {
    --ef-primary: #7c3aed;
    --ef-primary-dark: #6d28d9;
    --ef-primary-soft: #ede9fe;
    --ef-heading: #111827;
    --ef-text: #6b7280;
    --ef-dark: #374151;
    --ef-border: #e5e7eb;
    --ef-surface: #f9fafb;
    --ef-success: #16a34a;
    background: #fff;
    color: var(--ef-heading);
    min-height: 100vh;
}

.ef-page *,
.ef-page *::before,
.ef-page *::after {
    box-sizing: border-box;
}

.ef-page a {
    color: inherit;
    text-decoration: none;
}

.ef-navbar {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--ef-border);
    display: flex;
    gap: 1.1rem;
    height: 68px;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 110;
}

.ef-logo,
.ef-footer-logo {
    align-items: center;
    color: var(--ef-heading);
    display: inline-flex;
    font-size: 1.38rem;
    font-weight: 900;
    gap: .42rem;
    letter-spacing: -.045em;
    white-space: nowrap;
}

.ef-logo i,
.ef-footer-logo i,
.ef-logo span,
.ef-footer-logo span {
    color: var(--ef-primary);
}

.ef-nav-search {
    flex: 1 1 26rem;
    max-width: 27.5rem;
    position: relative;
}

.ef-nav-search i {
    color: var(--ef-text);
    font-size: .9rem;
    left: .9rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.ef-nav-search input {
    background: var(--ef-surface);
    border: 1.5px solid var(--ef-border);
    border-radius: 50rem;
    color: var(--ef-heading);
    font-size: .875rem;
    outline: none;
    padding: .6rem 1rem .6rem 2.45rem;
    transition: border-color .2s ease, background .2s ease;
    width: 100%;
}

.ef-nav-search input:focus {
    background: #fff;
    border-color: var(--ef-primary) !important;
    box-shadow: none !important;
}

.ef-nav-actions {
    align-items: center;
    display: flex;
    gap: .24rem;
    margin-left: auto;
}

.ef-city-picker {
    align-items: center;
    color: var(--ef-dark);
    display: flex;
    gap: .25rem;
    margin-right: .2rem;
}

.ef-city-picker select {
    background: transparent;
    border: 0;
    color: var(--ef-dark);
    font-size: .875rem;
    font-weight: 500;
    outline: none;
    padding: .5rem .2rem;
}

.ef-nav-link {
    border-radius: .5rem;
    color: var(--ef-dark);
    font-size: .875rem;
    font-weight: 500;
    padding: .55rem .75rem;
    transition: color .2s ease, background .2s ease;
}

.ef-nav-link:hover,
.ef-nav-link.active {
    background: var(--ef-surface);
    color: var(--ef-primary);
}

.ef-nav-primary {
    align-items: center;
    background: var(--ef-primary);
    border-radius: 50rem;
    color: #fff !important;
    display: inline-flex;
    font-size: .875rem;
    font-weight: 600;
    gap: .4rem;
    margin-left: .4rem;
    padding: .62rem 1.1rem;
    transition: background .2s ease, transform .2s ease;
}

.ef-nav-primary:hover {
    background: var(--ef-primary-dark);
    transform: translateY(-1px);
}

.ef-hero {
    background:
        radial-gradient(circle at 20% 45%, rgba(124, 58, 237, .27), transparent 46%),
        radial-gradient(circle at 83% 22%, rgba(249, 115, 22, .16), transparent 38%),
        linear-gradient(135deg, #0f172a 0%, #1e1b4b 58%, #312e81 100%);
    color: #fff;
    overflow: hidden;
    padding: 4.35rem 2.5rem 3.95rem;
    position: relative;
}

.ef-hero::after {
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 60px 60px;
    content: "";
    inset: 0;
    opacity: .22;
    position: absolute;
}

.ef-hero-inner {
    align-items: center;
    display: flex;
    gap: 4rem;
    margin: 0 auto;
    max-width: 1600px;
    position: relative;
    z-index: 1;
}

.ef-hero-content {
    flex: 1;
}

.ef-hero-badge {
    align-items: center;
    background: rgba(124, 58, 237, .28);
    border: 1px solid rgba(167, 139, 250, .42);
    border-radius: 50rem;
    color: #c4b5fd !important;
    display: inline-flex;
    font-size: .73rem !important;
    font-weight: 600;
    gap: .45rem;
    letter-spacing: .05em;
    margin: 0 0 1.25rem !important;
    padding: .34rem .8rem;
    text-transform: uppercase;
}

.ef-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 3.7vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.18;
    margin: 0 0 .9rem;
}

.ef-hero h1 em {
    color: #a78bfa;
    font-style: normal;
}

.ef-hero-content > p:not(.ef-hero-badge) {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.85rem;
    max-width: 31rem;
}

.ef-hero-search {
    background: #fff;
    border-radius: 50rem;
    box-shadow: 0 6px 26px rgba(0, 0, 0, .3);
    display: flex;
    max-width: 33rem;
    overflow: hidden;
    position: relative;
}

.ef-hero-search i {
    color: var(--ef-text);
    left: 1.15rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.ef-hero-search input {
    border: 0;
    color: var(--ef-heading);
    flex: 1;
    font-size: .9rem;
    outline: none;
    padding: .94rem .75rem .94rem 2.65rem;
}

.ef-hero-search input:focus {
    border: 0 !important;
    box-shadow: none !important;
}

.ef-hero-search button {
    background: var(--ef-primary);
    border: 0;
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    padding: 0 1.55rem;
}

.ef-hero-search button:hover {
    background: var(--ef-primary-dark);
}

.ef-quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.45rem;
}

.ef-quick-filters a {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50rem;
    color: #e2e8f0;
    display: flex;
    font-size: .8rem;
    font-weight: 500;
    gap: .4rem;
    padding: .48rem .9rem;
}

.ef-quick-filters a:hover {
    background: rgba(255, 255, 255, .17);
}

.ef-location-callout {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1rem;
    display: flex;
    gap: .9rem;
    margin: 0 0 1.2rem;
    max-width: 41rem;
    padding: .9rem;
}

.ef-location-icon {
    align-items: center;
    background: rgba(255, 255, 255, .16);
    border-radius: .85rem;
    color: #fff;
    display: inline-flex;
    flex: 0 0 2.7rem;
    height: 2.7rem;
    justify-content: center;
}

.ef-location-callout strong {
    color: #fff;
    display: block;
    font-size: .92rem;
    margin-bottom: .16rem;
}

.ef-location-callout p {
    color: #cbd5e1 !important;
    font-size: .8rem !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    max-width: none !important;
}

.ef-location-callout button {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 50rem;
    color: var(--ef-primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: .78rem;
    font-weight: 800;
    gap: .4rem;
    padding: .68rem .9rem;
    white-space: nowrap;
}

.ef-location-callout button:hover {
    transform: translateY(-1px);
}

.ef-hero-art {
    flex: 0 0 280px;
    height: 280px;
    position: relative;
}

.ef-ring {
    border: 1px solid rgba(167, 139, 250, .28);
    border-radius: 50%;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ef-ring-large { height: 270px; width: 270px; }
.ef-ring-medium { height: 210px; width: 210px; }
.ef-ring-small {
    background: radial-gradient(circle, rgba(124, 58, 237, .32), rgba(124, 58, 237, .08));
    height: 108px;
    width: 108px;
}

.ef-note {
    color: #fff;
    font-size: 2.2rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ef-spark {
    background: #f97316;
    border-radius: 50%;
    height: .55rem;
    position: absolute;
    width: .55rem;
}

.ef-spark.one { left: 2.5rem; top: 3.25rem; }
.ef-spark.two { background: #a78bfa; right: 2.2rem; top: 2.7rem; }
.ef-spark.three { background: #fbbf24; right: 1.3rem; top: 9rem; }
.ef-spark.four { background: #f97316; bottom: 3.3rem; right: 2.7rem; }

.ef-category-bar {
    background: #fff;
    border-bottom: 1px solid var(--ef-border);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 68px;
    z-index: 90;
}

.ef-category-scroll {
    display: flex;
    gap: .55rem;
    margin: 0 auto;
    max-width: 1440px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ef-category-scroll::-webkit-scrollbar {
    display: none;
}

.ef-chip {
    align-items: center;
    background: #f3f4f6;
    border: 1.5px solid transparent;
    border-radius: 50rem;
    color: var(--ef-dark);
    display: flex;
    flex-shrink: 0;
    font-size: .83rem;
    font-weight: 500;
    gap: .45rem;
    padding: .48rem 1rem;
    transition: background .2s ease, color .2s ease;
}

.ef-chip:hover {
    background: var(--ef-primary-soft);
    color: var(--ef-primary);
}

.ef-chip.active {
    background: var(--ef-primary);
    color: #fff;
}

.ef-main-layout {
    align-items: start;
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 280px minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1200px;
    padding: 2rem 1.25rem 4rem;
}

.ef-filter-panel {
    background: #fff;
    border: 1px solid var(--ef-border);
    border-radius: .75rem;
    max-height: calc(100vh - 156px);
    overflow-y: auto;
    padding: 1.25rem;
    position: sticky;
    top: 137px;
}

.ef-filter-panel::-webkit-scrollbar {
    width: 6px;
}

.ef-filter-panel::-webkit-scrollbar-track {
    background: transparent;
}

.ef-filter-panel::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 50rem;
}

.ef-filter-panel::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.ef-filter-panel {
    scrollbar-color: #d1d5db transparent;
    scrollbar-width: thin;
}

.ef-filter-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.ef-filter-header h2 {
    color: var(--ef-heading);
    font-size: .98rem;
    font-weight: 700;
    margin: 0;
}

.ef-filter-header a {
    color: var(--ef-primary);
    font-size: .8rem;
    font-weight: 500;
}

.ef-filter-section {
    border: 0;
    border-top: 1px solid var(--ef-border);
    display: block;
    margin: 0;
    padding: .9rem 0;
}

.ef-filter-label {
    color: #9ca3af;
    display: block;
    font-size: .71rem;
    font-weight: 700;
    letter-spacing: .07em;
    margin: 0 0 .62rem;
    text-transform: uppercase;
}

.ef-filter-label i {
    margin-right: .2rem;
}

.ef-filter-input,
.ef-filter-select {
    background: var(--ef-surface);
    border: 1.5px solid var(--ef-border);
    border-radius: .5rem;
    color: var(--ef-heading);
    font-size: .8rem;
    outline: none;
    padding: .52rem .7rem;
    width: 100%;
}

.ef-filter-input:focus,
.ef-filter-select:focus {
    background: #fff;
    border-color: var(--ef-primary) !important;
    box-shadow: none !important;
}

.ef-radio,
.ef-check {
    align-items: center;
    color: var(--ef-dark);
    cursor: pointer;
    display: flex;
    font-size: .8rem;
    gap: .48rem;
    margin: .43rem 0;
}

.ef-radio input,
.ef-check input {
    accent-color: var(--ef-primary);
}

.ef-date-row {
    display: grid;
    gap: .45rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ef-price-labels {
    color: var(--ef-text);
    display: flex;
    font-size: .75rem;
    justify-content: space-between;
    margin-bottom: .35rem;
}

.ef-price-slider {
    height: 1.55rem;
    padding: .68rem 0 0;
}

.ef-price-slider .slider-track,
.ef-price-slider .slider-fill {
    height: 4px;
    top: 1rem;
}

.ef-price-slider .slider-track {
    background: #e5e7eb;
}

.ef-price-slider .slider-fill {
    background: var(--ef-primary);
}

.ef-price-slider input[type=range]::-webkit-slider-thumb {
    background: var(--ef-primary);
}

.ef-check {
    border-top: 1px solid var(--ef-border);
    margin: 0 0 1rem;
    padding-top: .95rem;
}

.ef-filter-submit {
    background: var(--ef-primary);
    border: 0;
    border-radius: 50rem;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    padding: .7rem 1rem;
    width: 100%;
}

.ef-filter-submit:hover {
    background: var(--ef-primary-dark);
}

.ef-results {
    min-width: 0;
}

.ef-results-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.ef-results-toolbar p {
    color: var(--ef-text);
    font-size: .9rem;
    margin: 0;
}

.ef-results-toolbar strong {
    color: var(--ef-heading);
}

.ef-view-controls {
    align-items: center;
    display: flex;
    gap: .5rem;
}

.ef-view-button {
    align-items: center;
    background: #fff;
    border: 1.5px solid var(--ef-border);
    border-radius: .5rem;
    color: var(--ef-text);
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    width: 2.3rem;
}

.ef-view-button:hover,
.ef-view-button.active {
    background: var(--ef-primary-soft);
    border-color: var(--ef-primary);
    color: var(--ef-primary);
}

.ef-sort-form select {
    background: #fff;
    border: 1.5px solid var(--ef-border);
    border-radius: .5rem;
    color: var(--ef-dark);
    font-size: .8rem;
    height: 2.25rem;
    outline: none;
    padding: 0 .7rem;
}

.ef-events-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.ef-event-card {
    background: #fff;
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04), 0 4px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ef-event-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.04);
    transform: translateY(-5px);
}

.ef-card-image {
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
    overflow: hidden;
    position: relative;
}

.ef-card-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    width: 100%;
}

.ef-event-card:hover .ef-card-image img {
    transform: scale(1.04);
}

.ef-card-badge,
.ef-card-free,
.ef-card-local {
    backdrop-filter: blur(4px);
    border-radius: 50rem;
    color: #fff;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .05em;
    padding: .28rem .62rem;
    position: absolute;
    text-transform: uppercase;
    top: .65rem;
}

.ef-card-badge {
    left: .65rem;
}

.ef-card-badge.concert { background: rgba(124, 58, 237, .88); }
.ef-card-badge.theatre { background: rgba(190, 24, 93, .88); }
.ef-card-badge.festival { background: rgba(234, 88, 12, .88); }
.ef-card-badge.conference { background: rgba(29, 78, 216, .88); }
.ef-card-badge.workshop { background: rgba(5, 150, 105, .9); }
.ef-card-badge.sport { background: rgba(8, 145, 178, .9); }

.ef-card-free {
    background: rgba(22, 163, 74, .92);
    right: .65rem;
}

.ef-card-local {
    background: rgba(14, 165, 233, .92);
    bottom: .65rem;
    left: .65rem;
    top: auto;
}

.ef-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.15rem;
}

.ef-card-hook {
    color: #f97316;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    margin: 0 0 .35rem;
    text-transform: uppercase;
}

.ef-card-date {
    color: var(--ef-primary);
    font-size: .75rem;
    font-weight: 500;
    margin: 0 0 .4rem;
}

.ef-card-content h2 {
    color: var(--ef-heading);
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.36;
    margin: 0 0 .4rem;
}

.ef-card-venue {
    color: var(--ef-text);
    font-size: .78rem;
    margin: 0 0 1rem;
}

.ef-card-venue i,
.ef-card-date i {
    margin-right: .28rem;
}

.ef-card-seat-option {
    align-items: center;
    background: var(--ef-primary-soft);
    border-radius: 50rem;
    color: var(--ef-primary);
    display: inline-flex;
    font-size: .72rem;
    font-weight: 700;
    gap: .32rem;
    margin: -.35rem 0 .75rem;
    padding: .22rem .6rem;
    width: fit-content;
}

.ef-card-meta {
    align-items: center;
    display: flex;
    gap: .85rem;
    margin: auto 0 .9rem;
}

.ef-card-meta strong,
.ef-card-meta span {
    align-items: center;
    color: var(--ef-heading);
    display: flex;
    font-size: .78rem;
    font-weight: 600;
    gap: .25rem;
}

.ef-card-meta strong.free {
    color: var(--ef-success);
}

.ef-card-meta span {
    color: var(--ef-text);
    font-weight: 400;
}

.ef-card-actions {
    display: flex;
    gap: .5rem;
}

.ef-card-actions a {
    border-radius: .5rem;
    flex: 1;
    font-size: .78rem;
    font-weight: 600;
    padding: .7rem .5rem;
    text-align: center;
}

.ef-card-actions .outline {
    border: 1.5px solid var(--ef-border);
    color: var(--ef-dark);
}

.ef-card-actions .outline:hover {
    background: var(--ef-surface);
}

.ef-card-actions .filled {
    background: linear-gradient(135deg, #f97316, #7c3aed);
    border: 1.5px solid transparent;
    box-shadow: 0 10px 24px rgba(124, 58, 237, .22);
    color: #fff;
}

.ef-card-actions .filled:hover {
    box-shadow: 0 14px 30px rgba(124, 58, 237, .28);
    transform: translateY(-1px);
}

.ef-event-card.owned {
    border-color: #bbf7d0;
}

.ef-event-card.pending {
    border-color: #fde68a;
}

.ef-ticket-status {
    align-items: center;
    border: 1px solid;
    border-radius: .5rem;
    display: flex;
    font-size: .8rem;
    font-weight: 700;
    gap: .42rem;
    justify-content: center;
    padding: .7rem .5rem;
}

.ef-ticket-status.owned {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #15803d;
}

.ef-ticket-status.pending {
    background: #fffbeb;
    border-color: #fde68a;
    color: #b45309;
}

.ef-events-grid.list-view {
    grid-template-columns: 1fr;
}

.ef-events-grid.list-view .ef-event-card {
    flex-direction: row;
}

.ef-events-grid.list-view .ef-card-image {
    aspect-ratio: auto;
    flex: 0 0 220px;
}

.ef-events-grid.list-view .ef-card-content {
    min-height: 180px;
}

.ef-empty {
    align-items: center;
    border: 1px dashed var(--ef-border);
    border-radius: 1rem;
    color: var(--ef-text);
    display: flex;
    flex-direction: column;
    padding: 5rem 1.5rem;
    text-align: center;
}

.ef-empty i {
    color: var(--ef-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.ef-empty h2 {
    color: var(--ef-heading);
    font-size: 1.1rem;
}

.ef-empty a {
    color: var(--ef-primary);
    font-weight: 600;
}

.ef-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 2.8rem 2.5rem 2rem;
}

.ef-footer-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1600px;
}

.ef-footer-logo {
    color: #fff !important;
}

.ef-footer-links {
    display: flex;
    gap: 1.3rem;
}

.ef-footer-links a,
.ef-footer p {
    color: #94a3b8;
    font-size: .82rem;
    margin: 0;
}

.ef-footer-links a:hover {
    color: #fff;
}

.ef-mobile-filter-button,
.ef-filter-overlay,
.ef-filter-sheet {
    display: none;
}

.ef-city-gate {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 1.25rem;
    pointer-events: none;
    position: fixed;
    transition: opacity .2s ease;
    z-index: 220;
}

.ef-city-gate.open {
    opacity: 1;
    pointer-events: auto;
}

.ef-city-gate-backdrop {
    background: rgba(15, 23, 42, .62);
    inset: 0;
    position: absolute;
}

.ef-city-gate-panel {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .28);
    max-height: min(90vh, 44rem);
    max-width: 34rem;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    text-align: center;
    width: min(100%, 34rem);
    z-index: 1;
}

.ef-city-gate-close {
    align-items: center;
    background: var(--ef-surface);
    border: 1px solid var(--ef-border);
    border-radius: 50%;
    color: var(--ef-dark);
    display: inline-flex;
    height: 2.35rem;
    justify-content: center;
    position: absolute;
    right: .9rem;
    top: .9rem;
    width: 2.35rem;
}

.ef-city-gate-icon {
    align-items: center;
    background: linear-gradient(135deg, #f97316, #7c3aed);
    border-radius: 1rem;
    color: #fff;
    display: inline-flex;
    font-size: 1.35rem;
    height: 3.4rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 3.4rem;
}

.ef-city-gate-panel h2 {
    color: var(--ef-heading);
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 .55rem;
}

.ef-city-gate-panel p {
    color: var(--ef-text);
    font-size: .92rem;
    line-height: 1.55;
    margin: 0 auto 1.25rem;
    max-width: 27rem;
}

.ef-detected-city {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: .8rem;
    margin: 0 0 1rem;
    padding: .8rem;
}

.ef-detected-city span {
    color: #9a3412;
    display: block;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .04em;
    margin-bottom: .45rem;
    text-transform: uppercase;
}

.ef-detected-city button {
    background: linear-gradient(135deg, #f97316, #7c3aed);
    border: 0;
    border-radius: .65rem;
    color: #fff;
    font-size: .92rem;
    font-weight: 850;
    padding: .78rem 1rem;
    width: 100%;
}

.ef-city-gps-button {
    align-items: center;
    background: linear-gradient(135deg, #0ea5e9, #7c3aed);
    border: 0;
    border-radius: .75rem;
    color: #fff;
    display: inline-flex;
    font-size: .95rem;
    font-weight: 850;
    gap: .5rem;
    justify-content: center;
    margin: 0 0 1rem;
    padding: .9rem 1rem;
    width: 100%;
}

.ef-city-gps-button:disabled {
    cursor: wait;
    opacity: .8;
}

.ef-city-gate-grid {
    display: grid;
    gap: .65rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
    max-height: 20rem;
    overflow-y: auto;
    padding-right: .15rem;
}

.ef-city-gate-grid button {
    background: var(--ef-surface);
    border: 1px solid var(--ef-border);
    border-radius: .7rem;
    color: var(--ef-heading);
    font-size: .88rem;
    font-weight: 750;
    padding: .75rem .5rem;
}

.ef-city-gate-grid button:hover {
    background: var(--ef-primary-soft);
    border-color: var(--ef-primary);
    color: var(--ef-primary);
}

.ef-city-gate-all {
    color: var(--ef-primary) !important;
    display: inline-flex;
    font-size: .86rem;
    font-weight: 800;
    margin-top: .2rem;
}

@media (max-width: 1024px) {
    .ef-main-layout {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .ef-hero-art {
        flex-basis: 220px;
        height: 220px;
    }

    .ef-ring-large { height: 215px; width: 215px; }
    .ef-ring-medium { height: 165px; width: 165px; }
}

@media (max-width: 768px) {
    .ef-navbar {
        gap: .75rem;
        height: 60px;
        padding: 0 1rem;
    }

    .ef-logo {
        font-size: 1.18rem;
    }

    .eventify-shell {
        padding-top: 64px;
    }

    .ef-category-bar {
        padding: .72rem 1rem;
        top: 60px;
    }

    .ef-hero {
        padding: 3rem 1.2rem;
    }

    .ef-hero-inner {
        display: block;
    }

    .ef-hero-art {
        display: none;
    }

    .ef-hero h1 {
        font-size: 1.78rem;
    }

    .ef-hero-search {
        border-radius: .75rem;
    }

    .ef-location-callout {
        align-items: stretch;
        flex-direction: column;
    }

    .ef-location-callout button {
        justify-content: center;
        width: 100%;
    }

    .ef-main-layout {
        display: block;
        padding: 1.4rem 1rem 3rem;
    }

    .ef-filter-panel {
        display: none;
        max-height: none;
        overflow-y: visible;
    }

    .ef-mobile-filter-button {
        align-items: center;
        background: var(--ef-primary);
        border: 0;
        border-radius: 50rem;
        color: #fff;
        display: flex;
        font-weight: 600;
        gap: .5rem;
        justify-content: center;
        margin-bottom: 1.1rem;
        padding: .78rem;
        width: 100%;
    }

    .ef-events-grid {
        grid-template-columns: 1fr;
    }

    .ef-events-grid.list-view .ef-event-card {
        flex-direction: column;
    }

    .ef-events-grid.list-view .ef-card-image {
        aspect-ratio: 16 / 9;
    }

    .ef-filter-overlay {
        background: rgba(0, 0, 0, .42);
        display: block;
        inset: 0;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        transition: opacity .25s ease;
        z-index: 200;
    }

    .ef-filter-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    .ef-filter-sheet {
        background: #fff;
        border-radius: 1.3rem 1.3rem 0 0;
        bottom: 0;
        display: block;
        left: 0;
        max-height: 86vh;
        overflow-y: auto;
        padding: 1rem 1.25rem 2rem;
        position: fixed;
        right: 0;
        transform: translateY(100%);
        transition: transform .3s ease;
        z-index: 201;
    }

    .ef-filter-sheet.open {
        transform: translateY(0);
    }

    .ef-sheet-handle {
        background: var(--ef-border);
        border-radius: 1rem;
        height: .25rem;
        margin: 0 auto 1rem;
        width: 2.5rem;
    }

    .ef-sheet-close {
        background: transparent;
        border: 0;
        color: var(--ef-text);
        font-size: 1.1rem;
        position: absolute;
        right: 1rem;
        top: 1rem;
    }

    .ef-filter-sheet .ef-filter-form {
        padding-top: .25rem;
    }

    .ef-footer {
        padding: 2.2rem 1rem;
    }

    .ef-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .ef-city-gate-panel {
        padding: 1.65rem 1.1rem 1.25rem;
    }

    .ef-city-gate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .ef-hero-search {
        display: block;
    }

    .ef-hero-search button {
        padding: .75rem;
        width: 100%;
    }

    .ef-card-actions {
        flex-direction: column;
    }
}

/* Home redesign guided by the platform UX document */
.home-redesign {
    background: #f7f8fb;
    color: #111827;
    overflow: hidden;
}

.home-hero {
    align-items: center;
    display: flex;
    min-height: calc(100svh - 64px);
    overflow: hidden;
    position: relative;
}

.home-hero-image,
.home-hero-overlay {
    inset: 0;
    position: absolute;
}

.home-hero-image {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.home-hero-overlay {
    background: linear-gradient(90deg, rgba(8, 13, 23, .9) 0%, rgba(8, 13, 23, .74) 42%, rgba(8, 13, 23, .32) 100%);
}

.home-hero-inner,
.home-band {
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    width: 100%;
}

.home-hero-inner {
    padding: 4.5rem 1.25rem 3rem;
}

.home-eyebrow,
.home-section-head p,
.home-nearby-panel p,
.home-proof-copy p {
    color: #f59e0b;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: .7rem;
    text-transform: uppercase;
}

.home-eyebrow {
    align-items: center;
    display: inline-flex;
    gap: .6rem;
}

.home-eyebrow span {
    background: #f59e0b;
    border-radius: 999px;
    height: .5rem;
    width: .5rem;
}

.home-hero h1 {
    color: #fff;
    font-size: clamp(2.45rem, 7vw, 5.65rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: .96;
    margin: 0 0 1rem;
    max-width: 760px;
}

.home-h1-accent {
    color: #f59e0b;
}

.home-lead {
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.65;
    margin-bottom: 1.6rem;
    max-width: 660px;
}

.home-search {
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
    display: grid;
    gap: .55rem;
    grid-template-columns: minmax(250px, 1fr) 180px 170px 96px;
    max-width: 980px;
    padding: .55rem;
}

.home-search-field {
    align-items: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    gap: .65rem;
    min-height: 52px;
    padding: 0 .9rem;
}

.home-search-field i {
    color: #6b7280;
}

.home-search input,
.home-search select {
    background: transparent;
    border: 0;
    color: #111827;
    min-width: 0;
    outline: 0;
    width: 100%;
}

.home-search button {
    align-items: center;
    background: #f59e0b;
    border: 0;
    border-radius: 6px;
    color: #111827;
    display: inline-flex;
    font-weight: 800;
    gap: .5rem;
    justify-content: center;
    min-height: 52px;
    padding: 0 1rem;
}

.home-search button:hover {
    background: #fbbf24;
}

.home-popular,
.home-trust-strip {
    display: flex;
    flex-wrap: wrap;
}

.home-popular {
    align-items: center;
    gap: .65rem;
    margin-top: 1.15rem;
}

.home-popular span {
    color: rgba(255, 255, 255, .72);
    font-weight: 700;
}

.home-popular a {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    padding: .45rem .85rem;
    text-decoration: none;
}

.home-popular a:hover {
    background: #fff;
    color: #111827;
}

/* ── Hızlı Filtre Chip'leri ── */
.home-quick-filters {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.25rem;
}

.home-chip {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    color: #fff;
    font-size: .84rem;
    font-weight: 600;
    padding: .42rem .85rem;
    text-decoration: none;
    transition: background .18s ease, transform .15s ease;
}

.home-chip:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #111827;
    transform: translateY(-1px);
}

/* ── Şansa Bırak Butonu ── */
.home-hero-extras {
    margin-top: 1.1rem;
}

.home-lucky-btn {
    align-items: center;
    background: rgba(245, 158, 11, .15);
    border: 1.5px solid rgba(245, 158, 11, .55);
    border-radius: 8px;
    color: #fbbf24;
    display: inline-flex;
    flex-direction: column;
    font-size: .88rem;
    font-weight: 700;
    gap: .2rem;
    padding: .65rem 1.2rem;
    text-decoration: none;
    transition: all .2s ease;
}

.home-lucky-btn i {
    font-size: 1rem;
    margin-right: .45rem;
}

.home-lucky-btn span {
    color: rgba(255, 255, 255, .55);
    display: block;
    font-size: .73rem;
    font-weight: 400;
    margin-top: .05rem;
}

.home-lucky-btn:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #111827;
}

.home-lucky-btn:hover span {
    color: rgba(17, 24, 39, .7);
}

.home-lucky-btn {
    cursor: pointer;
}

.home-lucky-btn span {
    color: #fbbf24;
    font-size: .88rem;
    font-weight: 800;
    margin: 0;
}

.home-lucky-btn:hover span {
    color: #111827;
}

.lucky-modal {
    align-items: center;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    opacity: 0;
    padding: 18px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity .2s ease;
    z-index: 1080;
}

.lucky-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lucky-modal-backdrop {
    background: rgba(4, 9, 20, .72);
    backdrop-filter: blur(10px);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.lucky-game {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
    max-height: min(92vh, 820px);
    max-width: 920px;
    overflow: auto;
    padding: clamp(20px, 3vw, 34px);
    position: relative;
    width: min(100%, 920px);
}

.lucky-close {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #111827;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 40px;
}

.lucky-copy span {
    color: #c2410c;
    display: block;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lucky-copy h2 {
    color: #111827;
    font-size: clamp(1.6rem, 3vw, 2.55rem);
    font-weight: 900;
    letter-spacing: 0;
    margin: 6px 48px 8px 0;
}

.lucky-copy p {
    color: #64748b;
    font-weight: 650;
    margin: 0;
}

.lucky-stage {
    align-items: center;
    display: grid;
    gap: clamp(22px, 4vw, 46px);
    grid-template-columns: minmax(250px, 360px) minmax(240px, 1fr);
    margin-top: 28px;
}

.lucky-wheel-wrap {
    aspect-ratio: 1;
    margin: auto;
    position: relative;
    width: min(100%, 340px);
}

.lucky-pointer {
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 28px solid #111827;
    left: 50%;
    position: absolute;
    top: -4px;
    transform: translateX(-50%);
    z-index: 2;
}

.lucky-wheel {
    align-items: center;
    background: conic-gradient(#f59e0b 0 60deg, #14b8a6 60deg 120deg, #ef4444 120deg 180deg, #6366f1 180deg 240deg, #111827 240deg 300deg, #22c55e 300deg 360deg);
    border: 10px solid #fff;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(15, 23, 42, .18), 0 18px 42px rgba(15, 23, 42, .18);
    display: grid;
    height: 100%;
    justify-items: center;
    position: relative;
    transition: transform 3.1s cubic-bezier(.18, .82, .16, 1);
    width: 100%;
}

.lucky-wheel::after {
    background: #fff;
    border: 6px solid #111827;
    border-radius: 50%;
    content: "";
    height: 76px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
}

.lucky-wheel span {
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    position: absolute;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .32);
}

.lucky-wheel span:nth-child(1) { transform: rotate(30deg) translateY(-118px) rotate(-30deg); }
.lucky-wheel span:nth-child(2) { transform: rotate(90deg) translateY(-118px) rotate(-90deg); }
.lucky-wheel span:nth-child(3) { transform: rotate(150deg) translateY(-118px) rotate(-150deg); }
.lucky-wheel span:nth-child(4) { transform: rotate(210deg) translateY(-118px) rotate(-210deg); }
.lucky-wheel span:nth-child(5) { transform: rotate(270deg) translateY(-118px) rotate(-270deg); }
.lucky-wheel span:nth-child(6) { transform: rotate(330deg) translateY(-118px) rotate(-330deg); }

.lucky-controls {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 18px;
}

.lucky-controls label {
    color: #111827;
    font-weight: 900;
}

.lucky-controls select {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #111827;
    height: 46px;
    padding: 0 12px;
}

.lucky-spin {
    align-items: center;
    background: #f59e0b;
    border: 0;
    border-radius: 8px;
    color: #111827;
    display: inline-flex;
    font-weight: 900;
    gap: 9px;
    height: 48px;
    justify-content: center;
}

.lucky-spin:disabled {
    cursor: wait;
    opacity: .72;
}

.lucky-controls small {
    color: #0f766e;
    font-weight: 800;
}

.lucky-result {
    align-items: stretch;
    background: #111827;
    border-radius: 8px;
    color: #fff;
    display: grid;
    gap: 18px;
    grid-template-columns: 190px 1fr;
    margin-top: 24px;
    overflow: hidden;
    padding: 12px;
}

.lucky-result[hidden] {
    display: none;
}

.lucky-result img {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.lucky-result span {
    color: #fbbf24;
    display: block;
    font-weight: 900;
    margin-bottom: 6px;
}

.lucky-result h3 {
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0 0 6px;
}

.lucky-result p {
    color: rgba(255, 255, 255, .75);
    margin: 0 0 10px;
}

.lucky-result strong {
    display: block;
    margin-bottom: 14px;
}

.lucky-result a {
    background: #fff;
    border-radius: 8px;
    color: #111827;
    display: inline-flex;
    font-weight: 900;
    padding: 10px 14px;
    text-decoration: none;
}

@media (max-width: 760px) {
    .lucky-stage,
    .lucky-result {
        grid-template-columns: 1fr;
    }

    .lucky-wheel-wrap {
        width: min(100%, 280px);
    }

    .lucky-wheel span:nth-child(n) {
        transform-origin: center 140px;
    }
}

.home-trust-strip {
    gap: 2rem;
    margin-top: 2.2rem;
}

.home-trust-strip div {
    min-width: 120px;
}

.home-trust-strip strong {
    color: #fff;
    display: block;
    font-size: 1.65rem;
    font-weight: 900;
}

.home-trust-strip span {
    color: rgba(255, 255, 255, .7);
    display: block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-band {
    padding: 4rem 1.25rem;
}

.home-featured,
.home-urgent,
.home-guides {
    max-width: none;
    padding-left: max(1.25rem, calc((100vw - 1200px) / 2 + 1.25rem));
    padding-right: max(1.25rem, calc((100vw - 1200px) / 2 + 1.25rem));
}

.home-featured {
    background: #fff;
}

.home-section-head {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 0 auto 1.7rem;
    max-width: 1200px;
}

.home-section-head h2,
.home-nearby-panel h2,
.home-proof-copy h2 {
    color: #111827;
    font-size: clamp(1.6rem, 3vw, 2.45rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

.home-section-head > a {
    color: #7c3aed;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.home-event-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1200px;
}

.home-event-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

.home-event-card:hover {
    box-shadow: 0 18px 45px rgba(17, 24, 39, .11);
    transform: translateY(-3px);
}

.home-event-image {
    aspect-ratio: 16 / 10;
    background: #e5e7eb;
    display: block;
    overflow: hidden;
    position: relative;
}

.home-event-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
    width: 100%;
}

.home-event-card:hover .home-event-image img {
    transform: scale(1.04);
}

.home-card-badge,
.home-card-free,
.home-fomo-badge {
    border-radius: 999px;
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    max-width: calc(100% - 1.4rem);
    overflow: hidden;
    padding: .34rem .65rem;
    position: absolute;
    text-overflow: ellipsis;
    text-transform: uppercase;
    top: .7rem;
    white-space: nowrap;
}

.home-card-badge {
    background: rgba(17, 24, 39, .78);
    left: .7rem;
}

.home-card-free {
    background: rgba(22, 163, 74, .9);
    right: .7rem;
}

/* FOMO Etiketleri */
.home-fomo-badge {
    left: .7rem;
    top: 2.5rem;
    backdrop-filter: blur(4px);
}

.home-fomo-hot {
    background: rgba(220, 38, 38, .92);
    animation: home-fomo-pulse 2s ease-in-out infinite;
}

.home-fomo-tonight {
    background: rgba(124, 58, 237, .92);
}

.home-fomo-new {
    background: rgba(14, 116, 220, .92);
}

@keyframes home-fomo-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .82; }
}

.home-event-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.1rem;
}

.home-event-date,
.home-event-place {
    color: #6b7280;
    font-size: .82rem;
    margin-bottom: .5rem;
}

.home-event-date {
    color: #7c3aed;
    font-weight: 800;
}

.home-event-body h3 {
    color: #111827;
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.32;
    margin: 0 0 .5rem;
}

.home-event-copy {
    color: #6b7280;
    display: -webkit-box;
    font-size: .86rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-event-actions {
    align-items: center;
    border-top: 1px solid #eef0f4;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: .95rem;
}

.home-event-actions strong {
    color: #16a34a;
    font-size: .95rem;
}

.home-event-actions a,
.home-urgent-item a,
.home-nearby-panel button {
    background: #111827;
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-size: .85rem;
    font-weight: 800;
    padding: .62rem .9rem;
    text-decoration: none;
}

.home-event-actions a:hover,
.home-urgent-item a:hover,
.home-nearby-panel button:hover {
    background: #7c3aed;
    color: #fff;
}

.home-nearby {
    background: #111827;
    max-width: none;
}

.home-nearby-panel {
    align-items: center;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
    margin: 0 auto;
    max-width: 1200px;
}

.home-nearby-panel h2,
.home-nearby-panel span {
    color: #fff;
}

.home-nearby-panel span {
    color: rgba(255, 255, 255, .68);
    display: block;
    margin-top: .7rem;
}

.home-nearby-panel form {
    background: #fff;
    border-radius: 8px;
    display: grid;
    gap: .75rem;
    padding: 1rem;
}

.home-nearby-panel select {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    min-height: 48px;
    padding: 0 .85rem;
}

.home-category-grid,
.home-proof-grid,
.home-guide-grid {
    display: grid;
    gap: 1rem;
}

.home-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-category-card {
    border-radius: 8px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-height: 140px;
    padding: 1.3rem;
    position: relative;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
    overflow: hidden;
}

.home-category-card::before {
    content: '';
    inset: 0;
    opacity: 0;
    position: absolute;
    background: rgba(255, 255, 255, .12);
    transition: opacity .2s ease;
}

.home-category-card:hover::before { opacity: 1; }

.home-category-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
    color: #fff;
    transform: translateY(-3px);
}

.home-cat-0 { background: linear-gradient(135deg, #7c3aed, #4f46e5); }
.home-cat-1 { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.home-cat-2 { background: linear-gradient(135deg, #0284c7, #0369a1); }
.home-cat-3 { background: linear-gradient(135deg, #16a34a, #166534); }
.home-cat-4 { background: linear-gradient(135deg, #d97706, #b45309); }
.home-cat-5 { background: linear-gradient(135deg, #0891b2, #0e7490); }

.home-category-card i {
    color: rgba(255, 255, 255, .92);
    font-size: 1.6rem;
}

.home-category-card strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin-top: .2rem;
}

.home-category-card span {
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
}

.home-urgent {
    background: #fff7ed;
}

.home-urgent-list {
    display: grid;
    gap: .9rem;
    margin: 0 auto;
    max-width: 1200px;
}

.home-urgent-item {
    align-items: center;
    background: #fff;
    border: 1px solid #fed7aa;
    border-left: 4px solid #ea580c;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    transition: box-shadow .2s ease;
}

.home-urgent-item:hover {
    box-shadow: 0 8px 24px rgba(234, 88, 12, .12);
}

.home-urgent-item.home-urgent-expired {
    opacity: .5;
    pointer-events: none;
}

.home-urgent-meta {
    flex: 1;
    min-width: 0;
}

.home-urgent-label {
    color: #ea580c;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-urgent-item h3 {
    font-size: 1.04rem;
    font-weight: 900;
    margin: .2rem 0;
}

.home-urgent-place {
    color: #6b7280;
    font-size: .84rem;
    margin: 0;
}

.home-urgent-right {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    flex-shrink: 0;
}

/* Geri Sayım Sayacı */
.home-countdown {
    align-items: baseline;
    color: #ea580c;
    display: flex;
    font-family: 'Roboto Mono', monospace, sans-serif;
    font-size: .76rem;
    font-weight: 700;
    gap: .1rem;
    letter-spacing: .02em;
}

.home-countdown-value {
    background: #fff7ed;
    border-radius: 4px;
    display: inline-block;
    font-size: 1.05rem;
    min-width: 2ch;
    padding: .15rem .25rem;
    text-align: center;
}

.home-countdown small {
    color: #9ca3af;
    font-size: .65rem;
    font-weight: 600;
    margin: 0 .1rem;
}

.home-countdown-sep {
    color: #f59e0b;
    font-size: .95rem;
    font-weight: 900;
}

.home-proof {
    align-items: start;
    display: grid;
    gap: 2rem;
    grid-template-columns: .9fr 1.1fr;
}

.home-proof-copy span {
    color: #6b7280;
    display: block;
    line-height: 1.65;
    margin-top: 1rem;
}

.home-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-proof-grid div {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    transition: box-shadow .2s ease, transform .2s ease;
}

.home-proof-grid div:hover {
    box-shadow: 0 8px 24px rgba(17,24,39,.08);
    transform: translateY(-2px);
}

.home-proof-grid i {
    color: #16a34a;
    font-size: 1.6rem;
    margin-bottom: .8rem;
}

.home-proof-grid strong,
.home-proof-grid span {
    display: block;
}

.home-proof-grid strong {
    color: #111827;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: .4rem;
}

.home-proof-grid span {
    color: #6b7280;
    font-size: .86rem;
    line-height: 1.55;
}

/* ── Sosyal Kanıt / Yorum Bölümü ── */
.home-reviews {
    background: #f7f8fb;
}

.home-reviews-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1200px;
}

.home-review-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: 1.4rem;
    transition: box-shadow .2s ease, transform .2s ease;
}

.home-review-card:hover {
    box-shadow: 0 10px 28px rgba(17,24,39,.08);
    transform: translateY(-2px);
}

.home-review-stars {
    color: #fbbf24;
    font-size: 1rem;
    letter-spacing: .08em;
}

.home-review-text {
    color: #374151;
    flex: 1;
    font-size: .94rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.home-review-author {
    align-items: center;
    display: flex;
    gap: .75rem;
    margin-top: auto;
}

.home-review-avatar {
    align-items: center;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-shrink: 0;
    font-size: .95rem;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.home-avatar-b { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.home-avatar-c { background: linear-gradient(135deg, #0284c7, #0369a1); }

.home-review-author strong {
    color: #111827;
    display: block;
    font-size: .92rem;
}

.home-review-author span {
    color: #9ca3af;
    font-size: .78rem;
}

.home-guides {
    background: #111827;
}

.home-guides .home-section-head h2 {
    color: #fff;
}

.home-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1200px;
}

.home-guide-grid a {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    color: #fff;
    min-height: 140px;
    padding: 1.2rem;
    text-decoration: none;
}

.home-guide-grid span {
    color: #f59e0b;
    display: block;
    font-size: .78rem;
    font-weight: 900;
    margin-bottom: .65rem;
    text-transform: uppercase;
}

.home-guide-grid strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.2;
}

.home-empty {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    color: #6b7280;
    margin: 0 auto;
    max-width: 1200px;
    padding: 3rem;
    text-align: center;
}

@media (max-width: 980px) {
    .home-search {
        grid-template-columns: 1fr 1fr;
    }

    .home-search-field.wide,
    .home-search button {
        grid-column: 1 / -1;
    }

    .home-event-grid,
    .home-category-grid,
    .home-proof,
    .home-proof-grid,
    .home-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-nearby-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .home-hero {
        min-height: auto;
    }

    .home-hero-inner {
        padding-top: 3rem;
    }

    .home-search,
    .home-event-grid,
    .home-category-grid,
    .home-proof,
    .home-proof-grid,
    .home-guide-grid,
    .home-reviews-grid {
        grid-template-columns: 1fr;
    }

    .home-search-field,
    .home-search button {
        min-height: 48px;
    }

    .home-section-head,
    .home-urgent-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-trust-strip {
        gap: 1rem;
    }

    .home-trust-strip div {
        min-width: calc(50% - .5rem);
    }

    .home-quick-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        padding-bottom: .25rem;
    }

    .home-quick-filters::-webkit-scrollbar { display: none; }

    .home-chip { flex-shrink: 0; }

    .home-urgent-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-urgent-right {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
}

/* =========================================================
   PREMIUM DASHBOARD & ADMIN & TICKET STYLES
   ========================================================= */

/* Chart Containers */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}

/* Stat Cards */
.stat-card-premium {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.stat-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border-color: #cbd5e1;
}

.stat-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.stat-icon-wrapper {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-details h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
}

.stat-details p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Premium Admin Sidebar */
.admin-sidebar-premium {
    background: #0f172a;
    color: #f1f5f9;
    min-height: calc(100vh - 64px);
    padding: 1.5rem 1rem;
    border-radius: 0 1rem 1rem 0;
}

.admin-sidebar-premium .nav-link {
    color: #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.admin-sidebar-premium .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.admin-sidebar-premium .nav-link.active {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.3);
}

/* Physical Ticket Design */
.ticket-visual {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.ticket-visual-left {
    padding: 2rem;
    flex: 1;
    border-right: 2px dashed #e2e8f0;
    position: relative;
}

.ticket-visual-right {
    padding: 2rem;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.ticket-cutout-top, .ticket-cutout-bottom {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--bg-color);
    border-radius: 50%;
    right: -16px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.ticket-cutout-top { top: -15px; }
.ticket-cutout-bottom { bottom: -15px; box-shadow: inset 0 -2px 4px rgba(0,0,0,0.06); }

.ticket-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.ticket-event-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.5rem;
}

.ticket-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.ticket-detail-item strong {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.ticket-detail-item span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.ticket-qr {
    width: 150px;
    height: 150px;
    background: #fff;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.ticket-code {
    margin-top: 1rem;
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: var(--text-main);
    overflow-wrap: anywhere;
}

.ticket-header,
.ticket-event-title,
.ticket-detail-item span {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .ticket-visual {
        border-radius: 10px;
        display: grid;
        max-width: 100%;
        overflow: hidden;
        width: 100%;
    }

    .ticket-visual-left,
    .ticket-visual-right {
        border-left: 0 !important;
        border-right: 0;
        padding: 1rem;
        width: 100%;
    }

    .ticket-visual-right {
        border-top: 2px dashed #cbd5e1 !important;
        min-height: auto;
    }

    .ticket-cutout-top,
    .ticket-cutout-bottom {
        display: none;
    }

    .ticket-header {
        align-items: flex-start;
        display: grid;
        gap: .55rem;
        justify-content: stretch;
        margin-bottom: 1rem;
    }

    .ticket-header .badge,
    .ticket-header .text-muted {
        width: fit-content;
    }

    .ticket-event-title {
        font-size: 1.18rem;
        line-height: 1.25;
    }

    .ticket-details-grid {
        gap: .85rem;
        grid-template-columns: 1fr;
    }

    .ticket-qr {
        height: 132px;
        width: 132px;
    }

    .ticket-code {
        font-size: .88rem;
        letter-spacing: .08em;
        max-width: 100%;
        text-align: center;
    }

    .ticket-visual-left .mt-4.pt-4 {
        display: grid !important;
        gap: .55rem !important;
    }

    .ticket-visual-left .btn,
    .ticket-visual-left form,
    .ticket-visual-left form button {
        width: 100%;
    }

    .member-tickets header {
        align-items: stretch !important;
        display: grid !important;
        gap: 1rem;
        margin-bottom: 1.5rem !important;
    }

    .member-tickets header h1 {
        font-size: 1.65rem !important;
        line-height: 1.15;
    }

    .member-tickets header p {
        max-width: 100% !important;
    }

    .member-tickets header .btn {
        width: 100%;
    }

    .checkin-result-card {
        display: grid;
    }

    .checkin-result-card dl {
        grid-template-columns: 1fr;
    }
}

/* Premium Checkout */
.checkout-premium-shell {
    background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.checkout-premium-form {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    padding: 2rem;
}

.checkout-premium-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.checkout-premium-form .form-control:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.checkout-credit-card-preview {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
}

.checkout-credit-card-preview::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.card-preview-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Navbar layout repair */
.site-navbar {
    min-height: 72px;
}

.site-navbar-shell {
    display: flex;
    min-height: 72px;
    min-width: 0;
    width: 100%;
}

.site-navbar .landing-brand {
    flex: 0 0 auto;
    letter-spacing: 0;
    margin-right: clamp(.5rem, 1vw, 1rem);
}

.site-navbar .navbar-toggler {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 auto;
    height: 46px;
    justify-content: center;
    padding: .45rem .6rem;
    width: 50px;
}

.site-navbar .navbar-toggler-icon {
    background-image: none;
    height: 18px;
    position: relative;
    width: 22px;
}

.site-navbar .navbar-toggler-icon,
.site-navbar .navbar-toggler-icon::before,
.site-navbar .navbar-toggler-icon::after {
    border-top: 2px solid #111827;
    content: "";
    display: block;
}

.site-navbar .navbar-toggler-icon::before,
.site-navbar .navbar-toggler-icon::after {
    left: 0;
    position: absolute;
    width: 22px;
}

.site-navbar .navbar-toggler-icon::before {
    top: 6px;
}

.site-navbar .navbar-toggler-icon::after {
    top: 14px;
}

.navbar-discovery,
.navbar-event-search,
.navbar-event-search input,
.navbar-city-selector,
.navbar-city-selector select,
.site-navbar-actions,
.navbar-profile-trigger {
    min-width: 0;
}

.navbar-discovery {
    box-sizing: border-box;
}

.navbar-event-search input {
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-event-search,
.navbar-city-selector {
    left: auto !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
    width: auto !important;
}

.navbar-city-selector select {
    max-width: 150px;
    text-overflow: ellipsis;
}

.site-navbar-actions {
    align-items: center;
    display: flex;
}

.site-navbar-actions .nav-item {
    flex: 0 0 auto;
}

.site-navbar-actions .nav-link,
.site-navbar-actions .landing-nav-cta,
.navbar-profile-trigger {
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

.site-navbar-actions .landing-nav-cta {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    height: 42px;
}

.navbar-profile-trigger span:not(.navbar-avatar) {
    max-width: 96px;
}

@media (min-width: 1200px) {
    .site-navbar .navbar-collapse {
        display: flex !important;
        flex: 1 1 auto;
        flex-basis: auto;
        min-width: 0;
    }

    .navbar-discovery {
        flex: 1 1 420px;
        margin-left: 0 !important;
        margin-right: clamp(.5rem, 1.2vw, 1rem) !important;
        max-width: 560px;
        min-width: 300px;
    }

    .site-navbar-actions {
        flex: 0 1 auto;
        justify-content: flex-end;
        overflow: visible;
    }
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
    .site-navbar-shell {
        padding-left: .9rem;
        padding-right: .9rem;
    }

    .site-navbar .landing-brand {
        font-size: 1.35rem;
        margin-right: .45rem;
    }

    .navbar-discovery {
        flex-basis: 340px;
        max-width: 430px;
        min-width: 260px;
    }

    .navbar-event-search {
        padding-left: .65rem;
        padding-right: .35rem;
    }

    .navbar-event-search button {
        height: 36px !important;
        padding: 0 .95rem !important;
    }

    .navbar-city-selector {
        padding-left: .55rem;
        padding-right: .55rem;
    }

    .navbar-city-selector select {
        max-width: 118px;
    }

    .site-navbar-actions {
        gap: .05rem;
    }

    .site-navbar-actions .nav-link {
        font-size: .82rem;
        height: 36px;
        padding-left: .48rem !important;
        padding-right: .48rem !important;
    }

    .nav-icon-link {
        height: 36px !important;
        width: 36px;
    }

    .navbar-profile-trigger {
        max-width: 124px;
    }

    .navbar-profile-trigger span:not(.navbar-avatar) {
        max-width: 64px;
    }

    .navbar-avatar {
        height: 30px;
        width: 30px;
    }
}

@media (max-width: 1199.98px) {
    .site-navbar {
        min-height: 64px;
    }

    .site-navbar-shell {
        min-height: 64px;
    }

    .site-navbar .navbar-collapse:not(.show) {
        display: none !important;
    }

    .site-navbar .navbar-collapse.show,
    .site-navbar .navbar-collapse.collapsing {
        display: flex !important;
        flex-direction: column;
    }

    .site-navbar .navbar-collapse {
        width: 100%;
    }

    .navbar-discovery {
        align-items: stretch !important;
        border-radius: 14px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: .65rem !important;
        height: auto;
        margin-bottom: .75rem !important;
        overflow: visible;
        padding: 0 !important;
        width: 100%;
    }

    .navbar-event-search,
    .navbar-city-selector {
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        flex: 0 0 auto !important;
        height: 46px !important;
        min-height: 46px;
        padding-left: .85rem;
        padding-right: .85rem;
        width: 100% !important;
    }

    .navbar-event-search {
        border-right: 1px solid #e2e8f0 !important;
    }

    .navbar-city-selector select {
        max-width: none;
        width: 100%;
    }

    .site-navbar-actions {
        align-items: stretch !important;
        flex-direction: column;
        flex-wrap: nowrap;
        width: 100%;
    }

    .site-navbar-actions .nav-item,
    .site-navbar-actions .nav-link,
    .site-navbar-actions .landing-nav-cta,
    .navbar-profile-trigger {
        margin-left: 0 !important;
        width: 100%;
    }

    .site-navbar-actions .nav-link,
    .site-navbar-actions .landing-nav-cta,
    .navbar-profile-trigger {
        justify-content: flex-start;
    }

    .nav-icon-link {
        border-radius: 8px;
        height: 42px !important;
        width: 100%;
    }

    .navbar-profile-trigger {
        max-width: none;
    }

    .navbar-profile-trigger span:not(.navbar-avatar) {
        max-width: none;
    }
}

/* Desktop navbar refinement */
.navbar-city-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: #334155;
    display: inline-flex;
    font-size: .9rem;
    font-weight: 650;
    gap: .5rem;
    height: 100%;
    justify-content: center;
    max-width: 170px;
    padding: 0 .7rem;
    white-space: nowrap;
}

.navbar-city-selector.dropdown {
    position: relative !important;
}

.navbar-city-selector .navbar-city-menu.show {
    left: auto !important;
    right: 0 !important;
    top: 0 !important;
    transform: translateY(44px) !important;
}

.navbar-city-toggle::after {
    margin-left: .18rem;
}

.navbar-city-label {
    display: block;
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-city-menu,
.navbar-main-dropdown {
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
    margin-top: .65rem !important;
    padding: .45rem;
}

.navbar-city-menu {
    max-height: min(360px, calc(100vh - 96px));
    min-width: 220px;
    overflow-y: auto;
}

.navbar-city-menu .dropdown-item,
.navbar-main-dropdown .dropdown-item {
    align-items: center;
    border-radius: 6px;
    color: #334155;
    display: flex;
    font-size: .9rem;
    font-weight: 600;
    gap: .6rem;
    padding: .62rem .7rem;
}

.navbar-city-menu .dropdown-item.active,
.navbar-city-menu .dropdown-item:active,
.navbar-main-dropdown .dropdown-item.active,
.navbar-main-dropdown .dropdown-item:active {
    background: rgba(245, 158, 11, .14);
    color: #b45309;
}

.navbar-city-menu .dropdown-item:hover,
.navbar-main-dropdown .dropdown-item:hover {
    background: #f8fafc;
    color: #0f172a;
}

.navbar-main-dropdown {
    min-width: 210px;
}

.navbar-main-dropdown i {
    color: #64748b;
    width: 18px;
}

.city-picker-modal {
    align-items: center;
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    padding: 18px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 3000;
}

.city-picker-modal.is-open {
    display: flex !important;
}

.city-picker-modal.modal {
    z-index: 3000;
}

.city-picker-modal .modal-dialog {
    max-width: 560px;
}

.city-picker-modal__backdrop {
    background: rgba(15, 23, 42, .5);
    backdrop-filter: blur(4px);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.city-picker-modal__panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .26);
    max-height: min(680px, calc(100vh - 36px));
    max-width: 560px;
    overflow: hidden;
    position: relative;
    width: min(100%, 560px);
}

.city-picker-modal__header {
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    padding: 18px 20px;
}

.city-picker-modal__header p {
    color: #f59e0b;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin: 0 0 3px;
    text-transform: uppercase;
}

.city-picker-modal__header h2 {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.city-picker-modal__close {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.city-picker-modal__search {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    margin: 16px 20px;
    padding: 0 14px;
}

.city-picker-modal__search i {
    color: #94a3b8;
}

.city-picker-modal__search input {
    background: transparent;
    border: 0;
    color: #0f172a;
    flex: 1;
    font-weight: 600;
    height: 46px;
    outline: 0;
}

.city-picker-modal__list {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: min(430px, calc(100vh - 230px));
    overflow-y: auto;
    padding: 0 20px 20px;
}

.city-picker-modal__option {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    min-height: 44px;
    padding: 10px 12px;
    text-align: left;
}

.city-picker-modal__option i {
    color: #f59e0b;
    opacity: 0;
}

.city-picker-modal__option.active {
    background: rgba(245, 158, 11, .12);
    border-color: rgba(245, 158, 11, .45);
    color: #b45309;
}

.city-picker-modal__option.active i {
    opacity: 1;
}

.city-picker-modal__option:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.city-picker-modal__empty {
    color: #64748b;
    font-weight: 650;
    margin: 0;
    padding: 0 20px 20px;
}

.navbar-category-menu .nav-link {
    gap: .45rem;
}

.navbar-category-dropdown {
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
    margin-top: .65rem !important;
    max-height: min(430px, calc(100vh - 96px));
    min-width: 245px;
    overflow-y: auto;
    padding: .45rem;
}

.navbar-category-dropdown .dropdown-item {
    align-items: center;
    border-radius: 6px;
    color: #334155;
    display: flex;
    font-size: .9rem;
    font-weight: 650;
    gap: .62rem;
    padding: .62rem .7rem;
}

.navbar-category-dropdown .dropdown-item i {
    color: #64748b;
    width: 18px;
}

.navbar-category-dropdown .dropdown-item:hover,
.navbar-category-dropdown .dropdown-item:active {
    background: #f8fafc;
    color: #0f172a;
}

@media (min-width: 1200px) {
    .site-navbar .navbar-toggler,
    .navbar-main-menu {
        display: none !important;
    }

    .site-navbar {
        overflow: visible;
    }

    .site-navbar-shell {
        position: relative;
    }

    .site-navbar .navbar-collapse {
        position: static;
    }

    .navbar-discovery {
        left: calc(50% - 310px) !important;
        margin: 0 !important;
        max-width: min(620px, calc(100vw - 560px));
        min-width: 440px;
        position: absolute !important;
        top: 11px !important;
        transform: none !important;
        width: min(620px, 48vw) !important;
    }

    .navbar-event-search {
        flex: 1 1 auto;
    }

    .navbar-city-selector {
        flex: 0 0 auto;
        padding: 0 !important;
    }

    .site-navbar-actions {
        margin-left: auto !important;
        position: relative;
        z-index: 2;
    }

    .navbar-category-menu {
        position: static;
    }

    .navbar-category-dropdown,
    .navbar-category-dropdown.show {
        background: #fff;
        border: 0;
        border-bottom: 1px solid #e2e8f0;
        border-radius: 0;
        border-top: 1px solid #edf2f7;
        box-shadow: 0 24px 55px rgba(15, 23, 42, .16);
        gap: 12px;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        left: 0 !important;
        margin: 0 !important;
        max-height: calc(100vh - 72px);
        min-width: 0;
        overflow-y: auto;
        padding: 24px clamp(24px, 5vw, 72px) 30px;
        position: fixed !important;
        right: 0 !important;
        top: 72px !important;
        transform: none !important;
        width: 100vw !important;
        z-index: 1028;
    }

    .navbar-category-dropdown.show {
        display: grid !important;
    }

    .navbar-category-dropdown li {
        min-width: 0;
    }

    .navbar-category-dropdown li:has(.dropdown-divider) {
        display: none;
    }

    .navbar-category-dropdown .dropdown-item {
        align-items: center;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: #111827;
        display: flex;
        font-size: .95rem;
        font-weight: 800;
        gap: .75rem;
        min-height: 68px;
        padding: 14px 16px;
        white-space: normal;
    }

    .navbar-category-dropdown .dropdown-item:hover,
    .navbar-category-dropdown .dropdown-item:focus {
        background: #fff7ed;
        border-color: #fed7aa;
        color: #9a3412;
    }

    .navbar-category-dropdown .dropdown-item i {
        align-items: center;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: #0f172a;
        display: inline-flex;
        flex: 0 0 38px;
        height: 38px;
        justify-content: center;
        width: 38px;
    }

    .site-navbar .landing-brand {
        position: relative;
        z-index: 2;
    }
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
    .navbar-discovery {
        left: calc(50% - 260px) !important;
        max-width: min(520px, calc(100vw - 520px));
        min-width: 390px;
        width: min(520px, 44vw) !important;
    }

    .navbar-city-toggle {
        max-width: 145px;
        padding-left: .55rem;
        padding-right: .55rem;
    }

    .navbar-city-label {
        max-width: 92px;
    }
}

@media (max-width: 1199.98px) {
    .navbar-city-toggle {
        justify-content: flex-start;
        max-width: none;
        width: 100%;
    }

    .navbar-city-label {
        max-width: none;
    }

    .navbar-city-menu,
    .navbar-main-dropdown {
        border-radius: 8px;
        box-shadow: none;
        margin-top: .4rem !important;
        width: 100%;
    }
}

/* Mobile explore navigation */
.mobile-navbar-actions,
.mobile-search-drawer,
.yhm_mobile-menu {
    display: none;
}

.yhm_mobile-menu__backdrop {
    display: none;
}

@media (max-width: 1199.98px) {
    .site-navbar {
        min-height: 62px;
    }

    .site-navbar-shell {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) auto;
        min-height: 62px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-navbar .landing-brand {
        font-size: 1.42rem;
        justify-self: center;
        margin: 0;
    }

    .site-navbar .navbar-toggler:not(.mobile-menu-toggle),
    .site-navbar .navbar-collapse {
        display: none !important;
    }

    .site-navbar .mobile-menu-toggle {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        box-shadow: none;
        display: inline-flex;
        grid-column: 1;
        height: 42px;
        justify-content: center;
        justify-self: start;
        width: 42px;
    }

    .mobile-navbar-actions {
        align-items: center;
        display: inline-flex;
        gap: 8px;
        grid-column: 3;
        justify-self: end;
    }

    .mobile-navbar-icon {
        align-items: center;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: #111827;
        display: inline-flex;
        font-size: 1rem;
        height: 42px;
        justify-content: center;
        text-decoration: none;
        width: 42px;
    }

    .mobile-navbar-icon.active,
    .mobile-navbar-icon:hover {
        background: #fff7ed;
        border-color: #fed7aa;
        color: #c2410c;
    }

    .mobile-search-drawer {
        background: rgba(255, 255, 255, .98);
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 18px 38px rgba(15, 23, 42, .1);
        display: block;
        left: 0;
        opacity: 0;
        padding: 12px;
        pointer-events: none;
        position: fixed;
        right: 0;
        top: 62px;
        transform: translateY(-10px);
        transition: opacity .18s ease, transform .18s ease;
        z-index: 1031;
    }

    .mobile-search-drawer.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-search-form {
        align-items: center;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        display: flex;
        gap: 10px;
        height: 48px;
        padding: 0 8px 0 14px;
    }

    .mobile-search-form i {
        color: #64748b;
    }

    .mobile-search-form input {
        background: transparent;
        border: 0;
        color: #111827;
        flex: 1;
        min-width: 0;
        outline: 0;
    }

    .mobile-search-form button {
        background: #f59e0b;
        border: 0;
        border-radius: 6px;
        color: #fff;
        font-weight: 800;
        height: 36px;
        padding: 0 14px;
    }

    .yhm_mobile-menu {
        bottom: 0;
        display: block;
        left: 0;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        right: 0;
        top: 0;
        transition: opacity .18s ease;
        z-index: 1060;
    }

    .yhm_mobile-menu.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .yhm_mobile-menu__backdrop {
        background: rgba(15, 23, 42, .45);
        bottom: 0;
        display: block;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

    .yhm_mobile-menu__panel {
        background: #fff;
        bottom: 0;
        box-shadow: 18px 0 44px rgba(15, 23, 42, .16);
        left: 0;
        max-width: 430px;
        overflow: auto;
        position: absolute;
        top: 0;
        transform: translateX(-105%);
        transition: transform .22s ease;
        width: min(92vw, 430px);
    }

    .yhm_mobile-menu.is-open .yhm_mobile-menu__main,
    .yhm_mobile-menu__submenu.is-open {
        transform: translateX(0);
    }

    .yhm_mobile-menu__submenu {
        z-index: 2;
    }

    .yhm_mobile-menu__header {
        align-items: center;
        border-bottom: 1px solid #edf2f7;
        display: flex;
        justify-content: space-between;
        padding: 18px 18px 14px;
    }

    .yhm_mobile-menu__header h2 {
        color: #111827;
        font-size: 1.35rem;
        font-weight: 850;
        margin: 0;
    }

    .yhm_mobile-menu__close,
    .yhm_mobile-menu__back {
        align-items: center;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: #111827;
        display: inline-flex;
        font-weight: 800;
        gap: 8px;
        height: 38px;
        justify-content: center;
        padding: 0 12px;
    }

    .yhm_mobile-menu__close {
        padding: 0;
        width: 38px;
    }

    .yhm_mobile-menu__back {
        color: #0f766e;
    }

    .yhm_mobile-menu__title_V2,
    .yhm_mobile-menu__title {
        color: #111827;
        font-size: 1.05rem;
        font-weight: 850;
        margin: 18px 18px 6px;
    }

    .yhm_mobile-menu__description_V2,
    .yhm_mobile-menu__description {
        color: #64748b;
        font-size: .92rem;
        line-height: 1.45;
        margin: 0 18px 16px;
    }

    .yhm_mobile_profile {
        margin: 0 18px 16px;
    }

    .yhm_mobile-menu__link,
    .yhm_mobile-menu__list a {
        align-items: center;
        background: #fff;
        border: 0;
        color: #111827;
        display: flex;
        font-weight: 750;
        justify-content: space-between;
        min-height: 52px;
        text-align: left;
        text-decoration: none;
        width: 100%;
    }

    .yhm_mobile-menu__link {
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 0 14px;
    }

    .yhm_mobile-menu__link:hover,
    .yhm_mobile-menu__list a:hover {
        color: #c2410c;
    }

    .yhm_mobile_menu_button_open {
        align-items: center;
        display: flex;
        gap: 12px;
        min-width: 0;
    }

    .yhm_mobile-menu__avatar,
    .yhm_category_icon,
    .yhm_quick_icon {
        align-items: center;
        background: #f1f5f9;
        border-radius: 8px;
        color: #111827;
        display: inline-flex;
        flex: 0 0 auto;
        height: 34px;
        justify-content: center;
        width: 34px;
    }

    .yhm_mobile-menu__avatar {
        background: #111827;
        color: #fff;
        font-weight: 850;
    }

    .yhm_kategori_flex {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        list-style: none;
        margin: 0 18px 18px;
        padding: 0;
    }

    .yhm_kategori_flex a {
        align-items: center;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: #111827;
        display: flex;
        flex-direction: column;
        font-size: .78rem;
        font-weight: 800;
        gap: 8px;
        min-height: 86px;
        justify-content: center;
        padding: 10px 6px;
        text-align: center;
        text-decoration: none;
    }

    .yhm_kategori_flex span:last-child {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .yhm_mobile-menu__list {
        list-style: none;
        margin: 0;
        padding: 0 18px 8px;
    }

    .yhm_mobile-menu__list > li {
        border-bottom: 1px solid #edf2f7;
    }

    .yhm_mobile-menu__list > li:last-child {
        border-bottom: 0;
    }

    .yhm_mobile-menu__list a {
        gap: 12px;
        justify-content: flex-start;
        padding: 0;
    }

    .yhm_mobile-menu__list .yhm_mobile-menu__link {
        border: 0;
        border-radius: 0;
        padding: 0;
    }

    .yhm_mobile-organizer-shortcuts {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        margin: 0 18px 18px;
        padding: 0 0 8px;
    }

    .yhm_mobile-organizer-shortcuts .yhm_mobile-menu__title_V2 {
        margin: 14px 14px 8px;
    }

    .yhm_mobile-organizer-list {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 10px;
    }

    .yhm_mobile-organizer-list > li {
        border-bottom: 0;
        min-width: 0;
    }

    .yhm_mobile-organizer-list a {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: #111827;
        display: grid;
        font-size: .8rem;
        font-weight: 850;
        gap: 6px;
        justify-items: center;
        min-height: 70px;
        padding: 10px 6px;
        text-align: center;
    }

    .yhm_mobile-organizer-list a i {
        align-items: center;
        background: #eef6fa;
        border-radius: 8px;
        color: #176b9e;
        display: inline-flex;
        height: 30px;
        justify-content: center;
        width: 30px;
    }

    .yhm_mobile-organizer-list a.active,
    .yhm_mobile-organizer-list a:hover {
        border-color: #176b9e;
        color: #176b9e;
    }

    .divMobileUserNavFooter {
        margin: 8px 0 10px;
        width: 100%;
    }

    .divMobileUserNavFooter button {
        background: #fff5f5;
        border: 0;
        border-radius: 8px;
        color: #b42318;
        font-weight: 850;
        min-height: 46px;
        width: 100%;
    }

    .yhm_mobile-menu__footer {
        background: #f8fafc;
        border-top: 1px solid #e2e8f0;
        margin-top: 18px;
        padding: 2px 0 20px;
    }

    .yhm_mobile-menu__footer h2 {
        color: #64748b;
        font-size: .78rem;
        font-weight: 850;
        letter-spacing: 0;
        margin: 18px 18px 4px;
        text-transform: uppercase;
    }

    .yhm_mobile-menu__footer ul {
        list-style: none;
        margin: 0 18px 16px;
        padding: 0;
    }

    .mobile_kesfet {
        color: #0f766e;
        font-weight: 850;
        text-decoration: none;
    }

    .biletinialOneriyor__data {
        display: grid;
        gap: 10px;
    }

    .biletinialOneriyor__data li {
        align-items: center;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        display: flex;
        gap: 12px;
        padding: 10px;
    }

    .biletinialOneriyor__data a {
        color: #111827;
        font-weight: 850;
        text-decoration: none;
    }

    .biletinialOneriyor__data span {
        color: #64748b;
        display: block;
        font-size: .8rem;
        margin-top: 2px;
    }
}

@media (min-width: 1200px) {
    .mobile-menu-toggle,
    .mobile-navbar-actions,
    .mobile-search-drawer,
    .yhm_mobile-menu {
        display: none !important;
    }
}

/* Desktop navbar final layout */
@media (min-width: 1200px) {
    .site-navbar .navbar-toggler,
    .site-navbar-actions > .navbar-category-menu,
    .site-navbar-actions > .navbar-notification,
    .site-navbar-actions > .nav-item:has(> .nav-link[href="/etkinlikler"]),
    .site-navbar-actions > .nav-item:has(> .nav-link[href="/hesabim"]),
    .site-navbar-actions > .nav-item:has(> .nav-link[href="/organizator/panel"]),
    .site-navbar-actions > .nav-item:has(> .nav-link[href="/admin/panel"]) {
        display: none !important;
    }

    .site-navbar .navbar-collapse {
        align-items: center;
        display: flex !important;
        flex: 1 1 auto;
        gap: 12px;
        min-width: 0;
        position: static;
    }

    .navbar-category-menu-primary {
        display: block;
        flex: 0 0 auto;
        margin-left: .25rem;
        position: static;
    }

    .navbar-category-menu-primary .nav-link {
        align-items: center;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 999px;
        color: #111827 !important;
        display: inline-flex;
        font-weight: 800;
        gap: .5rem;
        height: 44px;
        padding: 0 16px !important;
    }

    .navbar-discovery {
        flex: 1 1 520px;
        left: auto !important;
        margin: 0 !important;
        max-width: 660px;
        min-width: 360px;
        position: static !important;
        top: auto !important;
        transform: none !important;
        width: auto !important;
    }

    .site-navbar-actions {
        flex: 0 0 auto;
        margin-left: auto !important;
        position: relative;
        z-index: 2;
    }

    .navbar-category-dropdown,
    .navbar-category-dropdown.show {
        background: #fff;
        border: 0;
        border-bottom: 1px solid #e2e8f0;
        border-radius: 0;
        border-top: 1px solid #edf2f7;
        box-shadow: 0 24px 55px rgba(15, 23, 42, .16);
        gap: 12px;
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
        left: 0 !important;
        margin: 0 !important;
        max-height: calc(100vh - 72px);
        min-width: 0;
        overflow-y: auto;
        padding: 24px clamp(24px, 5vw, 72px) 30px;
        position: fixed !important;
        right: 0 !important;
        top: 72px !important;
        transform: none !important;
        width: 100vw !important;
        z-index: 1028;
    }

    .navbar-category-dropdown.show {
        display: grid !important;
    }

    .navbar-category-dropdown li:has(.dropdown-divider) {
        display: none;
    }

    .navbar-category-dropdown .dropdown-item {
        align-items: center;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: #111827;
        display: flex;
        font-size: .95rem;
        font-weight: 800;
        gap: .75rem;
        min-height: 68px;
        padding: 14px 16px;
        white-space: normal;
    }

    .navbar-category-dropdown .dropdown-item:hover,
    .navbar-category-dropdown .dropdown-item:focus {
        background: #fff7ed;
        border-color: #fed7aa;
        color: #9a3412;
    }

    .navbar-category-dropdown .dropdown-item i {
        align-items: center;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: #0f172a;
        display: inline-flex;
        flex: 0 0 38px;
        height: 38px;
        justify-content: center;
        width: 38px;
    }
}

/* Desktop navbar spacing and separated city selector */
@media (min-width: 1200px) {
    .site-navbar-shell {
        max-width: 1360px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 28px;
        padding-right: 28px;
        width: calc(100% - 48px);
    }

    .site-navbar .navbar-collapse {
        gap: 14px;
    }

    .navbar-category-menu-primary {
        margin-left: .35rem;
        margin-right: .15rem;
    }

    .navbar-discovery {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        flex: 1 1 520px;
        height: 48px;
        margin-left: auto !important;
        margin-right: 0 !important;
        max-width: 560px;
        min-width: 360px;
        padding: 0 !important;
    }

    .navbar-event-search {
        background: #f8fafc !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 999px !important;
        height: 48px !important;
        padding-left: 16px;
        padding-right: 6px;
        width: 100% !important;
    }

    .navbar-event-search input {
        font-size: .94rem;
    }

    .navbar-event-search button {
        height: 36px !important;
        padding: 0 18px !important;
    }

    .navbar-city-wrapper {
        flex: 0 0 auto;
    }

    .navbar-city-selector {
        background: #fff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 999px !important;
        height: 44px !important;
        padding: 0 !important;
    }

    .navbar-city-toggle {
        height: 42px;
        max-width: 172px;
        padding: 0 14px;
    }

    .navbar-city-selector .navbar-city-menu.show {
        transform: translateY(48px) !important;
    }

    .city-picker-modal__panel {
        max-height: calc(100vh - 20px);
    }

    .city-picker-modal__list {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 224px);
    }
}

@media (min-width: 1200px) and (max-width: 1320px) {
    .site-navbar-shell {
        width: calc(100% - 28px);
        padding-left: 18px;
        padding-right: 18px;
    }

    .navbar-discovery {
        max-width: 470px;
        min-width: 300px;
    }

    .navbar-category-menu-primary .nav-link,
    .navbar-city-toggle {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Event detail conversion layout */
.event-detail-layout {
    --detail-ink: #111827;
    --detail-muted: #64748b;
    --detail-line: #e2e8f0;
    --detail-blue: #0f6fff;
    --detail-orange: #f97316;
    align-items: flex-start;
}

.event-detail-card {
    border-radius: 8px;
}

.event-detail-hero {
    background: #111827;
    color: #fff;
    display: grid;
    min-height: 420px;
    overflow: hidden;
    position: relative;
}

.event-detail-hero img {
    grid-area: 1 / 1;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    width: 100%;
}

.event-detail-hero::after {
    background: linear-gradient(180deg, rgba(17, 24, 39, .08) 0%, rgba(17, 24, 39, .7) 78%);
    content: "";
    grid-area: 1 / 1;
    position: relative;
}

.event-detail-hero-content {
    align-self: end;
    grid-area: 1 / 1;
    max-width: 760px;
    padding: clamp(24px, 5vw, 44px);
    position: relative;
    z-index: 1;
}

.event-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.event-detail-badges span {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    color: #111827;
    font-size: .78rem;
    font-weight: 850;
    padding: 7px 11px;
}

.event-detail-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 900;
    line-height: 1.02;
    margin: 0 0 10px;
}

.event-detail-hero p {
    color: rgba(255, 255, 255, .88);
    font-size: 1rem;
    margin: 0;
}

.event-detail-quickbar {
    background: #fff;
    border-bottom: 1px solid var(--detail-line);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.event-detail-quickbar > div {
    border-right: 1px solid var(--detail-line);
    min-width: 0;
    padding: 18px;
}

.event-detail-quickbar > div:last-child {
    border-right: 0;
}

.event-detail-quickbar i {
    color: var(--detail-blue);
    display: block;
    font-size: 1.1rem;
    margin-bottom: 9px;
}

.event-detail-quickbar strong,
.event-detail-quickbar span {
    display: block;
    min-width: 0;
}

.event-detail-quickbar strong {
    color: var(--detail-ink);
    font-size: .96rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.event-detail-quickbar span {
    color: var(--detail-muted);
    font-size: .82rem;
    margin-top: 3px;
}

.event-ticket-card {
    border-radius: 8px;
    position: sticky;
    top: 92px;
}

.event-ticket-card-head {
    background: #f8fafc;
    border: 1px solid var(--detail-line);
    border-radius: 8px;
    margin-bottom: 14px;
    padding: 16px;
}

.event-ticket-card-head span,
.event-ticket-card-head strong,
.event-ticket-card-head p {
    display: block;
}

.event-ticket-card-head span {
    color: var(--detail-orange);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.event-ticket-card-head strong {
    color: var(--detail-ink);
    font-size: 1.25rem;
    font-weight: 950;
    margin-top: 4px;
}

.event-ticket-card-head p {
    color: var(--detail-muted);
    font-size: .88rem;
    margin: 7px 0 0;
}

.event-ticket-pressure {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 12px;
}

.event-ticket-pressure > div {
    background: #fff;
    border: 1px solid var(--detail-line);
    border-radius: 8px;
    padding: 10px;
}

.event-ticket-pressure strong,
.event-ticket-pressure span {
    display: block;
}

.event-ticket-pressure strong {
    color: var(--detail-ink);
    font-size: .98rem;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.event-ticket-pressure span {
    color: var(--detail-muted);
    font-size: .72rem;
    font-weight: 750;
    margin-top: 2px;
}

.event-capacity-meter {
    background: #e5e7eb;
    border-radius: 999px;
    height: 8px;
    margin-bottom: 18px;
    overflow: hidden;
}

.event-capacity-meter span {
    background: linear-gradient(90deg, #0f6fff, #f97316);
    border-radius: inherit;
    display: block;
    height: 100%;
    min-width: 6px;
}

.ticket-purchase-option {
    background: #fff;
}

.ticket-purchase-option.is-popular {
    background: #fff7ed;
    border-color: #fed7aa;
}

.ticket-purchase-option em {
    background: #111827;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .67rem;
    font-style: normal;
    font-weight: 850;
    margin-left: 6px;
    padding: 3px 7px;
    vertical-align: middle;
}

.ticket-purchase-option small {
    color: #64748b;
    display: block;
    font-size: .74rem;
    font-weight: 650;
    margin-top: 3px;
}

.ticket-purchase-option button:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

.event-mobile-ticket-bar {
    display: none;
}

@media (max-width: 991.98px) {
    .event-detail-hero,
    .event-detail-hero img {
        min-height: 340px;
    }

    .event-detail-quickbar {
        border-bottom: 1px solid var(--detail-line);
        gap: 1px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-detail-quickbar > div {
        background: #fff;
        border-bottom: 1px solid var(--detail-line);
        border-right: 1px solid var(--detail-line);
        display: block;
        min-height: 74px;
        padding: 10px 12px;
    }

    .event-detail-quickbar > div:nth-child(2n) {
        border-right: 0;
    }

    .event-detail-quickbar > div:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .event-detail-quickbar i {
        display: inline-flex;
        font-size: .88rem;
        margin: 0 0 5px;
    }

    .event-detail-quickbar strong {
        color: #0f172a;
        display: -webkit-box;
        font-size: .86rem;
        line-height: 1.2;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .event-detail-quickbar span {
        color: #64748b;
        display: block;
        font-size: .72rem;
        line-height: 1.2;
        margin-top: 3px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .event-ticket-card {
        position: static;
    }

    .event-detail-layout {
        padding-bottom: calc(82px + env(safe-area-inset-bottom));
    }

    .event-ticket-card .card-body {
        padding: 18px !important;
    }

    .event-ticket-card-head {
        margin-bottom: 10px;
        padding: 12px;
    }

    .event-ticket-card-head strong {
        font-size: 1.05rem;
    }

    .event-ticket-card-head p {
        font-size: .8rem;
        margin-top: 4px;
    }

    .event-ticket-pressure {
        gap: 6px;
        margin-bottom: 10px;
    }

    .event-ticket-pressure > div {
        padding: 8px;
    }

    .event-ticket-pressure strong {
        font-size: .88rem;
    }

    .event-ticket-pressure span {
        font-size: .66rem;
    }

    .event-capacity-meter {
        margin-bottom: 12px;
    }

    .ticket-purchase-option {
        gap: .6rem;
        padding: .65rem;
    }

    .ticket-purchase-option button,
    .ticket-purchase-option a {
        min-height: 38px;
    }

    .event-mobile-ticket-bar {
        align-items: center;
        background: #fff;
        border: 1px solid rgba(15, 23, 42, .12);
        border-radius: 8px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        box-shadow: 0 10px 30px rgba(15, 23, 42, .16);
        display: flex;
        gap: 10px;
        justify-content: space-between;
        left: 12px;
        padding: 8px 10px 8px 12px;
        position: fixed;
        right: 12px;
        z-index: 2050;
    }

    .event-mobile-ticket-bar div {
        flex: 1 1 auto;
        min-width: 0;
    }

    .event-mobile-ticket-bar span,
    .event-mobile-ticket-bar strong {
        display: block;
        line-height: 1.1;
    }

    .event-mobile-ticket-bar span {
        color: #64748b;
        font-size: .7rem;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .event-mobile-ticket-bar strong {
        color: #111827;
        font-size: .88rem;
        font-weight: 950;
        margin-top: 2px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .event-mobile-ticket-bar a,
    .event-mobile-ticket-bar button {
        align-items: center;
        background: #111827;
        border: 0;
        border-radius: 8px;
        color: #fff;
        display: inline-flex;
        flex: 0 0 auto;
        font-size: .86rem;
        font-weight: 850;
        gap: 7px;
        justify-content: center;
        min-height: 38px;
        min-width: 106px;
        padding: 0 13px;
        text-decoration: none;
    }

    .event-mobile-ticket-bar button:disabled {
        background: #cbd5e1;
        color: #475569;
    }
}

@media (max-width: 768px) {
    .event-detail-layout {
        padding-bottom: calc(124px + env(safe-area-inset-bottom));
    }

    .event-mobile-ticket-bar {
        bottom: calc(72px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 575.98px) {
    .event-detail-hero,
    .event-detail-hero img {
        min-height: 300px;
    }

    .event-detail-hero-content {
        padding: 22px;
    }

    .event-detail-quickbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-detail-quickbar > div {
        min-height: 68px;
        padding: 9px 10px;
    }

    .event-detail-quickbar > div:nth-child(odd) {
        border-right: 1px solid var(--detail-line);
    }

    .event-detail-quickbar strong {
        font-size: .8rem;
    }

    .event-detail-quickbar span {
        font-size: .68rem;
    }

    .event-ticket-pressure {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .event-mobile-ticket-bar {
        left: 8px;
        right: 8px;
    }

    .event-mobile-ticket-bar a,
    .event-mobile-ticket-bar button {
        min-width: 96px;
        padding: 0 11px;
    }
}
