    /* prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

    .blur-bg {
        filter: blur(8px);
        opacity: 0.6;
        transform: scale(0.98);
        transition: all 0.35s ease;
    }


    /* Default state */
    #mainContent {
        transition: all 0.35s ease;
    }

    /* ===== DEFAULT (DESKTOP) ===== */
    .top-toast {
        position: fixed;
        top: -80px;
        left: 50%;
        transform: translateX(-50%);

        padding: 10px 18px;
        border-radius: 12px;

        font-size: 13px;
        font-weight: 500;
        text-align: center;

        max-width: 90%;
        z-index: 9999999;

        opacity: 0;
        transition: all 0.4s cubic-bezier(.22, 1, .36, 1);

        color: #fff;
    }

    /* 🔴 error */
    .top-toast.error {
        background: linear-gradient(135deg, #f44c4c, #ff3b3b);
    }

    /* 🟢 success */
    .top-toast.success {
        background: linear-gradient(135deg, #22c55e, #16a34a);
    }

    .top-toast.show {
        top: 20px;
        opacity: 1;
    }



    @media (max-width: 600px) {

        .top-toast {
            width: calc(100% - 24px);
            /* full width with margin */
            left: 50%;
            transform: translateX(-50%);

            font-size: 12px;
            padding: 10px 12px;

            border-radius: 10px;

            white-space: normal;
            /* 🔥 wrap text */
            line-height: 1.4;

            top: -100px;
        }

        .top-toast.show {
            top: 12px;
        }
    }


    /* banner wrapper */
    .error-msg {
        display: none;
        color: red !important;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .ad-banner-wrap {
        padding: 0 12px;
    }

    /* ===== HERO BANNER ===== */

    .ad-banner {
        width: 100%;
        position: relative;
        overflow: hidden;
        border-radius: 16px;
        height: clamp(220px, 40vw, 420px);
    }


    .ad-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;

        animation: bannerZoom 18s ease-in-out infinite alternate;
    }

    @keyframes bannerZoom {
        0% {
            transform: scale(1);
        }

        100% {
            transform: scale(1.02);
        }
    }

    /* overlay */

    .ad-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.75),
                rgba(0, 0, 0, 0.45),
                rgba(0, 0, 0, 0.481));
        z-index: 1;
    }

    /* ===== banner highlighted text ===== */
    .ad-content {
        position: absolute;
        z-index: 2;

        left: 0px;
        bottom: 30px;
        transform: none;

        padding: 15px 28px;
        border-radius: 0px 16px 16px 0px;

        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);

        border: 1px solid rgba(255, 255, 255, 0.2);

        text-align: left;
        max-width: 800px;
    }

    @media (max-width: 600px) {
        .ad-content {
            left: 0px;
            bottom: 20px;

            max-width: 90%;
            /* 🔥 full width nahi lega */
            padding: 8px 14px;
        }

        .ad-content h2 {
            font-size: 17px;
            line-height: 1.3;
        }
    }

    /* title highlight */
    .ad-content h2 {
        font-size: clamp(24px, 5vw, 48px);
        font-weight: 700;
        color: #fff;

        line-height: 1.1;
        letter-spacing: 1px;

        text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }

    /* description highlight */

    .ad-content p {
        font-size: 16px;
        color: #e5e7eb;
        background: rgba(0, 0, 0, 0.855);
        display: inline-block;
        padding: 5px 4px;
        border-radius: 6px;
    }

    /* ===== EVENTS WRAPPER ===== */
    .events-wrapper {
        padding: 12px 14px;
    }

    /* ===== CATEGORY SCROLL ===== */
    .category-scroll {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .category-scroll::-webkit-scrollbar {
        display: none;
    }

    .category-chip {
        padding: 6px 14px;
        border-radius: 25px;
        border: 1px solid #e5e7eb;
        background: #fff;
        font-size: 14px;
        color: #4b5563;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }

    .category-chip.active {
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        color: #fff;
        border: none;
    }

    .events-title {
        color: rgba(0, 0, 0, 0.823);
        /* margin-left: 6px; */
        font-size: 36px;
        font-weight: 500;
        display: flex;
        align-items: left !important;
        gap: 8px;
        flex-wrap: wrap;
    }

    .confetti-icon {
        width: 26px;
        height: 26px;
    }

    /* Tablet */
    @media (max-width: 992px) {
        .events-title {
            font-size: 28px;
        }

        .confetti-icon {
            width: 22px;
            height: 22px;
        }
    }

    /* Mobile */
    @media (max-width: 576px) {
        .events-title {
            font-size: 25px;
            justify-content: left;
            text-align: left;
        }

        .confetti-icon {
            width: 18px;
            height: 18px;
        }
    }

    /* GRID */
    .poster-row {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
        width: 100%;
        padding: 10px 0;
    }

    /* CARD */
    .event-card {
        background: #f0f0f0;
        border-radius: 30px;
        padding: 8px;
        position: relative;
        overflow: hidden;
        box-shadow:
            0 12px 28px rgba(0, 0, 0, .08),
            inset 0 1px 0 rgba(255, 255, 255, .9);
        transition: .28s ease;
        border: 1px solid rgba(0, 0, 0, 0.042);
    }

    .event-card:hover {
        transform: translateY(-6px);
        box-shadow:
            0 18px 34px rgba(0, 0, 0, .12),
            inset 0 1px 0 rgba(255, 255, 255, .9);
    }

    /* PRICE TAG */
    .price-tag {
        position: absolute;
        top: 12px;
        right: 15px;
        z-index: 5;
        background: #fff;
        color: #111;
        font-size: 13px;
        font-weight: 700;
        padding: 5px 12px;
        border-radius: 18px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    }

    /* IMAGE BOX */
    .event-img-box {
        height: 235px;
        border-radius: 24px;
        background: #bccca3;
        overflow: hidden;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .event-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .45s ease;
    }

    .event-card:hover .event-img-box img {
        transform: scale(1.05);
    }

    /* CATEGORY BADGE */
    .badge {
        position: absolute;
        top: 9px;
        left: 9px;
        z-index: 3;
        background: #fff;
        color: #111827;
        font-size: 11px;
        font-weight: 800;
        padding: 7px 12px;
        border-radius: 30px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    }

    /* DATE BAR */
    .bottom-bar {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(88, 117, 49, .88);
        color: #fff;
        font-size: 11px;
        text-align: center;
        padding: 8px;
        font-weight: 700;
    }

    /* CONTENT */
    .event-content {
        padding: 14px 12px 10px;
    }

    /* TITLE ROW */
    .title-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
    }

    .title-side {
        flex: 1;
        min-width: 0;
    }

    /* TITLE */
    .event-title {
        font-size: 22px;
        font-weight: 800;
        color: #111827;
        line-height: 1.2;
        margin-bottom: 4px;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        /* -webkit-line-clamp: 2; */
        overflow: hidden;
    }

    /* LOCATION */
    .event-location {
        font-size: 13px;
        color: #666;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* =========================
PREMIUM BOOK BUTTON
========================= */
    .book-btn {
        border: none;
        cursor: pointer;
        white-space: nowrap;
        border-radius: 16px;
        padding: 11px 18px;
        min-width: 96px;

        font-size: 14px;
        font-weight: 600;
        letter-spacing: .2px;
        color: #fff;

        background: linear-gradient(135deg, #7c3aed, #4f46e5);
        box-shadow:
            0 10px 18px rgba(79, 70, 229, .22),
            inset 0 1px 0 rgba(255, 255, 255, .22);

        transition: .25s ease;
    }

    .book-btn:hover {
        transform: translateY(-2px) scale(1.02);
        background: linear-gradient(135deg, #6d28d9, #4338ca);
        box-shadow: 0 14px 22px rgba(79, 70, 229, .28);
    }

    .book-btn:active {
        transform: scale(.97);
    }

    /* =========================
BADGES / TAGS
========================= */
    .event-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .event-tags span {
        font-size: 11px;
        font-weight: 600;
        padding: 7px 12px;
        border-radius: 30px;
        border: 1px solid transparent;
        letter-spacing: .2px;
    }

    /* Language */
    .event-tags span:nth-child(1) {
        background: #eef2ff;
        color: #4338ca;
        border-color: #c7d2fe;
    }

    /* Age */
    .event-tags span:nth-child(2) {
        background: #fff7ed;
        color: #ea580c;
        border-color: #fed7aa;
    }

    /* Duration */
    .event-tags span:nth-child(3) {
        background: #ecfdf5;
        color: #059669;
        border-color: #a7f3d0;
    }

    /* Extra */
    .event-tags span:nth-child(4),
    .event-tags span:nth-child(5) {
        background: #f1f5f9;
        color: #334155;
        border-color: #e2e8f0;
    }

    /* =========================
TABLET
========================= */
    @media(max-width:992px) {

        .poster-row {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .event-img-box {
            height: 225px;
        }

    }

    /* =========================
MOBILE
========================= */
    @media(max-width:600px) {

        .poster-row {
            grid-template-columns: 1fr;
            gap: 14px;
        }

        .event-card {
            border-radius: 24px;
        }

        .event-img-box {
            height: 220px;
        }

        .event-content {
            padding: 13px;
        }

        .event-title {
            font-size: 20px;
        }

        .event-location {
            font-size: 12px;
        }

        .book-btn {
            min-width: 92px;
            padding: 11px 16px;
            font-size: 14px;
        }

        .event-tags span {
            font-size: 10px;
            padding: 6px 10px;
        }

    }

    /* SMALL PHONE */
    @media(max-width:390px) {

        .event-title {
            font-size: 18px;
        }

        .price-tag {
            font-size: 12px;
            padding: 7px 10px;
        }

        .book-btn {
            min-width: 84px;
            font-size: 12px;
            padding: 10px 14px;
        }

    }



    /* ===== OVERLAY ===== */
    /* ===== OVERLAY ===== */
    .booking-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        opacity: 0;
        visibility: hidden;

        transition: opacity 0.35s ease, visibility 0.35s ease;
        z-index: 9999;
        transition: opacity 0.4s ease;
    }

    .booking-overlay.show {
        opacity: 1;
        visibility: visible;
    }


    /* ===== MODAL ===== */
    /* ===== MODAL (MAC STYLE) ===== */
    .booking-modal {
        position: fixed;
        left: 50%;
        bottom: 0;

        transform: translate(-50%, 120%) scale(0.9);
        opacity: 0;

        width: 95%;
        max-width: 420px;
        max-height: 90vh;
        overflow-y: auto;

        background: #fff;
        border-radius: 20px 20px 0 0;

        box-shadow: 0 -10px 40px rgba(0, 0, 0, .3);

        /* 🔥 CLOSE animation (smooth drop) */
        transition:
            transform 0.7s cubic-bezier(0.32, 0, 0.67, 0),
            opacity 0.5s ease;

        will-change: transform, opacity;
    }

    /* 🔥 OPEN animation (spring feel) */
    .booking-modal.show {
        transform: translate(-50%, 0) scale(1);
        opacity: 1;

        transition:
            transform 0.75s cubic-bezier(0.22, 1.2, 0.36, 1),
            opacity 0.45s ease;
    }

    .booking-modal::-webkit-scrollbar {
        display: none;
    }


    /* ===== POSTER ===== */
    .booking-poster {
        position: relative;
        height: 200px;
        overflow: hidden;
    }

    .booking-poster img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* overlay */
    .poster-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        padding: 14px;
        color: white;
    }

    .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(255, 255, 255, 0.829);
        padding: 5px 10px;
        border-radius: 18px;
        cursor: pointer;
        color: black;
    }


    /* ===== MAIN ===== */
    .event-main {
        padding: 12px;
    }

    .event-tags {
        display: flex;
        gap: 6px;
    }

    .event-tags span {
        background: #eef2ff;
        color: #4338ca;
        font-size: 11px;
        padding: 4px 10px;
        border-radius: 20px;
    }

    .event-location {
        color: #111827;
        font-size: 13px;
        margin-top: 6px;
    }


    /* ===== DETAILS ===== */
    .event-details {
        color: #111827;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px;
    }

    .detail-box {
        display: flex;
        gap: 10px;
        align-items: center;

        background: #f9fafb;
        padding: 3px 5px;
        border-radius: 12px;
    }

    .detail-box span {
        font-size: 18px;
    }

    .detail-box p {
        font-size: 11px;
        margin: 0;
        color: #1b1b1cce;
    }

    .detail-box b {
        font-size: 13px;
    }


    /* ===== FOOTER ===== */
    .booking-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;

        padding: 12px;
        border-top: 1px solid #eee;
    }

    .price {
        font-size: 18px;
        font-weight: 700;
        margin-left: 10px;
        color: #1b1b1cdc;
    }

    .available {
        font-size: 12px;
        color: green;
        margin-left: 12px;
    }

    /* BUTTON */
    .confirm-btn {
        width: 100%;
        background: linear-gradient(135deg, #6d5cff, #8b5cf6);
        border: none;
        padding: 8px 15px;
        border-radius: 12px;
        color: white;
        cursor: pointer;
    }

    .booking-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* hide initially */
    #loaderBox,
    #ticketBox {
        display: none;
    }

    /* center content */
    .center-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* loader */
    .loader {
        width: 30px;
        height: 30px;
        border: 3px solid #eee;
        border-top: 3px solid #6d5cff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-left: 25px !important;
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

    /* counter */
    .counter {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .counter button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;
        background: #6d5cff;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }


    .sticky-footer {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        /* max-width: 420px; */

        background: white;
        border-top: 1px solid #eee;
        padding: 10px;

        display: flex;
        justify-content: end;
        align-items: center;

        z-index: 9999;
    }

    .price-box {
        font-weight: 600;
        font-size: 16px;
    }

    /* content hide na ho */
    .booking-modal {
        padding-bottom: 70px;
        z-index: 10000;
    }


    /* EMPTY MODE FIX */
    .poster-row.empty-mode {
        display: flex !important;
        justify-content: center;
        align-items: center;

        overflow: hidden !important;

        width: 100%;
    }


    /* EMPTY STATE */
    .empty-state {
        width: 100%;

        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: center;

        text-align: center;

        padding: 40px 15px;
    }


    /* LOGO */
    .empty-state img {
        width: 60px;
        margin-bottom: 15px;
    }


    /* TITLE */
    .empty-state h3 {
        font-size: 28px;
        font-weight: 600;
        color: rgb(84, 82, 82);
        margin: 0 0 10px;
    }


    /* TEXT */
    .empty-state p {
        font-size: 15px;
        color: rgb(142, 141, 141);
        margin: 0;
        max-width: 400px;
    }


    /* MOBILE */
    @media(max-width:600px) {

        .empty-state h3 {
            font-size: 22px;
        }

        .empty-state p {
            font-size: 14px;
        }

        .empty-state img {
            width: 50px;
        }

    }


    .promo-card {
        width: 100%;
        min-height: 100%;
        border-radius: 20px;

        padding: 28px 22px;

        display: flex;
        align-items: center;
        justify-content: center;

        position: relative;
        overflow: hidden;

        background:
            linear-gradient(135deg, #4f46e5, #7c3aed, #9333ea);

        color: #fff;

        box-shadow:
            0 15px 35px rgba(124, 58, 237, .25);

        transition: .3s ease;
    }


    /* Glow Circle */
    .promo-card::before {
        content: "";

        position: absolute;

        width: 180px;
        height: 180px;

        background: rgba(255, 255, 255, .08);

        border-radius: 50%;

        top: -60px;
        right: -60px;
    }


    /* Hover */
    .promo-card:hover {
        transform: translateY(-4px);
    }


    /* CONTENT */
    .promo-content {
        position: relative;
        z-index: 2;
    }


    /* TAG */
    .promo-tag {
        display: inline-block;

        font-size: 11px;
        font-weight: 600;

        padding: 5px 10px;

        border-radius: 20px;

        margin-bottom: 12px;

        background: rgba(255, 255, 255, .18);
    }


    /* TITLE */
    .promo-content h3 {
        font-size: 24px;
        font-weight: 700;

        line-height: 1.4;

        margin-bottom: 10px;
    }


    /* TEXT */
    .promo-content p {
        font-size: 14px;

        line-height: 1.7;

        margin-bottom: 20px;

        color: rgba(255, 255, 255, .88);
    }


    /* BUTTON */
    .promo-content button {
        padding: 10px 18px;

        border: none;
        border-radius: 25px;

        background: #fff;

        color: #4f46e5;

        font-weight: 600;

        cursor: pointer;

        transition: .3s;
    }

    .promo-content button:hover {
        transform: scale(1.05);
    }