* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    /* remove blue tap flash on mobile */
}

body,
html {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    overflow-x: hidden;
    /* prevent horizontal scroll on mobile */
}

/* Headings use Alternate font */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 700;
}

/* ------------------- Launch Screen ------------------- */
#launch-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0066CC;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    visibility: visible;
}

#launch-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.logo {
    width: 65%;
    max-width: 400px;
    z-index: 10;
}

.pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    max-width: 600px;
    z-index: 1;
    pointer-events: none;
}

/* Desktop specific adjustments for launch */
@media screen and (min-width: 768px) {
    .logo {
        width: 35%;
        max-width: 450px;
    }

    .pattern {
        width: 50%;
        max-width: 700px;
    }
}

/* ------------------- Home Screen ------------------- */
#home-screen {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    /* nothing bleeds past the edge on mobile */
    max-width: 100vw;
}

#home-screen.hidden {
    display: none;
}

/* ═══════════════════════════
   HEADER
   Mobile  → centred logo only
   Desktop → seamless navbar: logo left | controls right
═══════════════════════════ */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem 1rem;
}

.header-logo {
    height: 60px;
}

/* Desktop header controls — hidden on mobile */
.header-controls {
    display: none;
}

/* ═══════════════════════════
   MAIN CONTENT
═══════════════════════════ */
.main-content {
    flex-grow: 1;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    /* padding doesn't push past viewport */
    overflow-x: hidden;
}

/* ═══════════════════════════
   MOBILE SEARCH SECTION
   (stacked column — hidden on desktop)
═══════════════════════════ */
.mobile-search-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

/* ─── Search input wrapper (chip + input side by side) ─── */
.search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 0 0.75rem;
    gap: 0.5rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-width: 0;
}

.search-input-wrap:focus-within {
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

/* The actual input inside the wrapper — no border of its own */
.search-input-wrap .search-input {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 0.75rem 0;
    background: #fff;
    box-shadow: none !important;
    outline: none;
    min-width: 0;
}

/* ─── Active filter chip ─── */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.55rem 0.22rem 0.65rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    background: #0066CC;
    color: #fff;
    transition: background 0.2s;
}

.filter-chip.hidden {
    display: none;
}

/* Per-category chip colours */
.filter-chip[data-filter="daily"] {
    background: #0066CC;
}

.filter-chip[data-filter="weekly"] {
    background: #099250;
}

.filter-chip[data-filter="monthly"] {
    background: #7B35E3;
}

.filter-chip[data-filter="vip"] {
    background: #DC9D00;
}

.filter-chip__clear {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.7rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* Filter button — blue bg + white icon when dropdown open OR filter active */
.mobile-filter-btn.is-open,
.mobile-filter-btn.has-filter {
    background: #0066CC;
    border-color: #0066CC;
    color: #fff;
    /* currentColor on SVG path becomes white */
}

/* Override hover so it doesn't fight the active state */
.mobile-filter-btn.is-open:hover,
.mobile-filter-btn.has-filter:hover {
    background: #0055b3;
    border-color: #0055b3;
    color: #fff;
}

/* ─── Filter dropdown panel ─── */
.filter-dropdown {
    background: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    padding: 1rem 1rem 0.75rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
    display: none;
    /* hidden by default */
    flex-direction: column;
    gap: 0.65rem;
    animation: dropdownSlide 0.22s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

.filter-dropdown.open {
    display: flex;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-dropdown__label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.filter-dropdown__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

/* Each option pill */
.flt-opt {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.62rem 1.15rem;
    border-radius: 100px;
    border: 1.5px solid #E0E0E0;
    background: #fafafa;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.14s;
    -webkit-tap-highlight-color: transparent;
}

.flt-opt:active {
    transform: scale(0.93);
}

/* Active state per category */
.flt-opt--all.active {
    background: #0066CC;
    border-color: #0066CC;
    color: #fff;
}

.flt-opt--daily.active {
    background: #0066CC;
    border-color: #0066CC;
    color: #fff;
}

.flt-opt--weekly.active {
    background: #099250;
    border-color: #099250;
    color: #fff;
}

.flt-opt--monthly.active {
    background: #7B35E3;
    border-color: #7B35E3;
    color: #fff;
}

.flt-opt--vip.active {
    background: #DC9D00;
    border-color: #DC9D00;
    color: #fff;
}

/* Hover tints for inactive */
.flt-opt--all:not(.active):hover,
.flt-opt--daily:not(.active):hover {
    border-color: #0066CC;
    color: #0066CC;
}

.flt-opt--weekly:not(.active):hover {
    border-color: #099250;
    color: #099250;
}

.flt-opt--monthly:not(.active):hover {
    border-color: #7B35E3;
    color: #7B35E3;
}

.flt-opt--vip:not(.active):hover {
    border-color: #DC9D00;
    color: #DC9D00;
}

/* ── ticket-section fade animation ── */
.ticket-section {
    animation: sectionFadeIn 0.28s ease both;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ticket-section.hidden-section {
    display: none;
}

/* Desktop free trial block — hidden on mobile */
.desktop-free-trial {
    display: none;
}

/* ═══════════════════════════
   SEARCH BAR ROW
═══════════════════════════ */
.search-bar-row {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.search-input {
    flex-grow: 1;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus,
.search-input:active {
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.search-input::placeholder {
    color: #A0A0A0;
}

/* ═══════════════════════════
   CONNECT CODE FIELD
═══════════════════════════ */
.mobile-connect-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.mobile-connect-btn {
    background: #099250;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.8rem;
    font-size: 1.05rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(9, 146, 80, 0.2);
    transition: background 0.2s, transform 0.1s;
    text-align: center;
}

.mobile-connect-btn:active {
    transform: scale(0.98);
    background: #077942;
}

.connect-code-border {
    border: 2px dashed #C0C0C0;
    border-radius: 14px;
    padding: 4px;
    /* gap between dashes and inner pill */
    width: 100%;
    background: transparent;
    box-sizing: border-box;
    display: flex;
    /* make inner div stretch full width */
}

.connect-code-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #EEF4FF;
    border-radius: 10px;
    /* slightly less than outer 14px → sits flush */
    padding: 0.75rem 1rem;
    width: 100%;
    /* fill the dashed border box */
    box-sizing: border-box;
}

.connect-icon {
    flex-shrink: 0;
    opacity: 0.65;
}

.connect-code-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    outline: none;
    min-width: 0;
}

.connect-code-input::placeholder {
    color: #A0A0A0;
    font-weight: 500;
}

/* ═══════════════════════════
   FADED SEPARATOR (mobile)
═══════════════════════════ */
.faded-separator {
    width: 100%;
    height: 1.5px;
    background: linear-gradient(to right,
            transparent 0%,
            #e4e3e3 20%,
            #e4e3e3 80%,
            transparent 100%);
    margin: 0.25rem 0;
}

/* ═══════════════════════════
   FREE TRIAL BUTTON
═══════════════════════════ */
.free-trial-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.free-trial-border {
    border: 2px dashed #0066CC;
    border-radius: 16px;
    padding: 5px;
    width: 100%;
    margin: 0 auto;
}

.free-trial-btn {
    background-color: #0066CC;
    color: #fff;
    border: none;
    border-radius: 12px;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.25s;
    position: relative;
    overflow: hidden;
}

/* Glistening shimmer */
.free-trial-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 0%,
            rgba(255, 255, 255, 0.7) 50%,
            transparent 100%);
    transform: translateX(-120px) skewX(-15deg);
    animation: shimmer-slide 5s ease-in-out infinite;
    pointer-events: none;
    border-radius: inherit;
}

@keyframes shimmer-slide {
    0% {
        transform: translateX(-120px) skewX(-15deg);
    }

    20% {
        transform: translateX(calc(100vw + 120px)) skewX(-15deg);
    }

    100% {
        transform: translateX(calc(100vw + 120px)) skewX(-15deg);
    }
}

.free-trial-btn:hover,
.free-trial-btn:active {
    background-color: #0055b3;
}

.free-trial-text {
    font-size: 0.75rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}

/* ═══════════════════════════
   FILTER BUTTON
═══════════════════════════ */
.filter-btn {
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    /* SVG uses currentColor → inherits this */
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.filter-btn:hover,
.filter-btn:active {
    background: #f8f9fa;
    border-color: #0066CC;
}

/* Clear code button — only visible inside the desktop header */
.clear-code-btn {
    display: none;
}

/* ═══════════════════════════
   DESKTOP FILTER PANEL
═══════════════════════════ */
.desktop-filter-panel {
    display: none;
}

/* ═══════════════════════════
   TICKETS LAYOUT
═══════════════════════════ */
.layout-split {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.left-col {
    display: none;
}

.right-col {
    width: 100%;
    max-width: 100%;
    /* never wider than parent */
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.tickets-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ── Loading skeleton (shown while API fetch is in progress) ── */
.ticket-skeleton {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 343 / 190;
    border-radius: 18px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.4s infinite;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ── Error state ── */
.tickets-error {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tickets-error__title {
    font-weight: 700;
    font-size: 1rem;
    color: #444;
    margin-top: 0.5rem;
}

.tickets-error__sub {
    font-size: 0.85rem;
}

.tickets-error__retry {
    margin-top: 1.25rem;
    padding: 0.7rem 1.8rem;
    background: #0066CC;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.tickets-error__retry:hover {
    background: #0055b3;
}

/* ── Connect-code helper text ── */
.connect-code-helper {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
    line-height: 1.4;
    padding: 0 0.25rem;
}

.connect-code-helper svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.ticket {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    overflow: hidden;
    /* clip any SVG bleed */
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    border-radius: 18px;
}

/* Ensure the SVG inside a ticket never exceeds the card width */
.ticket svg {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (hover: hover) {

    /* ── Daily / Basic — Blue (default) ── */
    #daily-tickets .ticket:hover {
        transform: translateY(-10px) scale(1.04);
        filter: drop-shadow(0 20px 36px rgba(0, 102, 204, 0.50));
    }

    /* ── Weekly — Green #099250 ── */
    #weekly-tickets .ticket:hover {
        transform: translateY(-10px) scale(1.04);
        filter: drop-shadow(0 20px 36px rgba(9, 146, 80, 0.52));
    }

    /* ── Monthly — Purple #7B35E3 ── */
    #monthly-tickets .ticket:hover {
        transform: translateY(-10px) scale(1.04);
        filter: drop-shadow(0 20px 36px rgba(123, 53, 227, 0.50));
    }

    /* ── VIP — Gold #DC9D00 ── */
    #vip-tickets .ticket:hover {
        transform: translateY(-10px) scale(1.04);
        filter: drop-shadow(0 20px 36px rgba(220, 157, 0, 0.55));
    }
}

/* ═══════════════════════════════════════════════════════
   DESKTOP LAYOUT  (≥ 768 px)
   • Header becomes a seamless navbar
   • Logo sits left, search + connect code right
   • Free Trial lives below navbar, centred
═══════════════════════════════════════════════════════ */
@media screen and (min-width: 768px) {

    /* ── Navbar: 3-column grid ──
       [logo]  |  [search — centred]  |  [connect + free-trial + filter]
    */
    .header {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        padding: 0.85rem 2rem;
        border-bottom: 1px solid #F0F0F0;
        position: sticky;
        top: 0;
        z-index: 100;
        background: #fff;
        gap: 1rem;
    }

    .header-logo {
        height: 50px;
        flex-shrink: 0;
    }

    /* header-controls spans cols 2+3 combined in the grid */
    .header-controls {
        display: contents;
        /* children participate in the grid directly */
    }

    /* Centre column: search */
    .header-search {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .header-search .search-bar-row {
        width: 100%;
        max-width: 460px;
    }

    .header-search .search-input {
        padding: 0.82rem 1.1rem;
        font-size: 1rem;
        border-radius: 12px;
    }

    /* Right column: connect + free-trial + filter */
    .header-right {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        justify-content: flex-end;
    }

    /* Connect code inside header */
    .header-right .connect-code-border {
        flex: 0 1 200px;
        min-width: 140px;
    }

    .header-right .connect-code-input-wrap {
        padding: 0.72rem 0.9rem;
    }

    /* Clear code button — show on desktop */
    .clear-code-btn {
        display: inline-flex;
        align-items: center;
        align-self: stretch;
        /* match height of adjacent connect code border */
    }

    /* ── nav Free Trial wrapper ── */
    .nav-free-trial {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-free-trial .free-trial-border {
        width: auto;
        margin: 0;
    }

    .nav-free-trial .free-trial-btn {
        padding: 0.72rem 1.6rem;
        font-size: 0.95rem;
        border-radius: 11px;
        white-space: nowrap;
    }

    /* Tooltip — hidden by default, fades in on hover */
    .nav-free-trial-tip {
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%) translateY(-4px);
        background: #fff;
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        padding: 5px 10px;
        font-size: 0.72rem;
        color: #555;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 0.3rem;
        font-weight: 500;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 200;
    }

    .nav-free-trial:hover .nav-free-trial-tip {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    /* ── Hide mobile-only elements on desktop ── */
    .mobile-search-section,
    .mobile-filter-btn {
        display: none;
    }

    .desktop-filter-panel {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        background: #f8f9fa;
        padding: 1.5rem;
        border-radius: 16px;
        border: 1px solid #E0E0E0;
    }

    /* Sticky wrapper that makes filter + ad carousel scroll with the page */
    .left-sticky {
        position: sticky;
        top: 82px;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .filter-title {
        font-family: 'Montserrat Alternates', sans-serif;
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-label {
        font-weight: 600;
        font-size: 0.95rem;
        color: #333;
    }

    /* ── Desktop sort/filter pills ── */
    .desktop-sort-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .sort-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        padding: 0.52rem 1rem;
        border-radius: 100px;
        border: 1.5px solid #E0E0E0;
        background: #fafafa;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.8rem;
        font-weight: 600;
        color: #444;
        cursor: pointer;
        transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.14s;
        white-space: nowrap;
    }

    .sort-pill:active {
        transform: scale(0.93);
    }

    /* Sort — Recent/Popular/Old active: blue */
    .sort-pill--recent.active,
    .sort-pill--popular.active,
    .sort-pill--old.active {
        background: #0066CC;
        border-color: #0066CC;
        color: #fff;
    }

    .sort-pill--recent:not(.active):hover,
    .sort-pill--popular:not(.active):hover,
    .sort-pill--old:not(.active):hover {
        border-color: #0066CC;
        color: #0066CC;
    }

    /* Category pills — colour per type */
    .sort-pill--all.active {
        background: #0066CC;
        border-color: #0066CC;
        color: #fff;
    }

    .sort-pill--daily.active {
        background: #0066CC;
        border-color: #0066CC;
        color: #fff;
    }

    .sort-pill--weekly.active {
        background: #099250;
        border-color: #099250;
        color: #fff;
    }

    .sort-pill--monthly.active {
        background: #7B35E3;
        border-color: #7B35E3;
        color: #fff;
    }

    .sort-pill--vip.active {
        background: #DC9D00;
        border-color: #DC9D00;
        color: #fff;
    }

    .sort-pill--all:not(.active):hover,
    .sort-pill--daily:not(.active):hover {
        border-color: #0066CC;
        color: #0066CC;
    }

    .sort-pill--weekly:not(.active):hover {
        border-color: #099250;
        color: #099250;
    }

    .sort-pill--monthly:not(.active):hover {
        border-color: #7B35E3;
        color: #7B35E3;
    }

    .sort-pill--vip:not(.active):hover {
        border-color: #DC9D00;
        color: #DC9D00;
    }

    /* ── Glistening blue "Clear" button beside connect code ── */
    .clear-code-btn {
        background: #0066CC;
        color: #fff;
        border: none;
        border-radius: 10px;
        padding: 0.72rem 1.2rem;
        font-size: 0.85rem;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        position: relative;
        overflow: hidden;
        flex-shrink: 0;
        transition: background 0.2s;
    }

    .clear-code-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 50px;
        height: 100%;
        background: linear-gradient(105deg,
                transparent 0%,
                rgba(255, 255, 255, 0.65) 50%,
                transparent 100%);
        transform: translateX(-80px) skewX(-15deg);
        animation: shimmer-slide 4s ease-in-out infinite;
        pointer-events: none;
    }

    .clear-code-btn:hover {
        background: #0055b3;
    }

    /* ── Layout split ── */
    .layout-split {
        flex-direction: row;
        gap: 2rem;
        padding-top: 0;
        align-items: flex-start;
    }

    .main-content {
        padding: 1.5rem 1.5rem 1.5rem;
    }

    .left-col {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 28%;
        padding-top: 0;
    }

    .right-col {
        width: 72%;
        padding-top: 0;
    }

    .tickets-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .section-title {
        text-align: center;
        grid-column: 1 / -1;
        margin-bottom: 1.5rem;
    }

    /* First section title lines up with the Filter heading */
    .right-col .ticket-section:first-child .section-title {
        padding-top: 1.25rem;
    }

    /* Give each section extra top breathing room so hovered cards never clip the title */
    .ticket-section {
        padding-top: 0.5rem;
    }

    /* Desktop always shows all sections — override JS mobile filter */
    .ticket-section.hidden-section {
        display: block;
    }


    /* ── Ad Carousel ── */
    .ad-carousel-wrap {
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
    }

    .ad-carousel-label {
        font-size: 0.68rem;
        font-weight: 700;
        color: #bbb;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        padding-left: 2px;
    }

    .ad-carousel {
        width: 100%;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
    }

    .ad-track {
        display: flex;
        transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }

    .ad-slide {
        flex: 0 0 100%;
        width: 100%;
    }

    .ad-image {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 20px;
        object-fit: cover;
    }

    /* Dot indicator row */
    .ad-dots {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 6px;
        z-index: 5;
    }

    .ad-dot {
        width: 28px;
        height: 7px;
        border-radius: 4px;
        border: none;
        background: rgba(255, 255, 255, 0.45);
        cursor: pointer;
        padding: 0;
        transition: background 0.25s, width 0.25s;
    }

    .ad-dot.active {
        background: rgba(255, 255, 255, 0.92);
        width: 42px;
    }
}

/* ── Ad carousel hidden on mobile ── */
.ad-carousel-wrap {
    display: none;
}

@media screen and (min-width: 768px) {
    .ad-carousel-wrap {
        display: flex;
    }
}