/* ========================================================= PRETICKIT — APP UI Dark / Modern / Mobile-first ========================================================= */
:root {
    --red: #DA0000;
    --red-dark: #9f0000;
    --red-bright: #f10b0b;
    --black: #050505;
    --surface: #0b0b0b;
    --surface-2: #111111;
    --surface-3: #171717;
    --surface-4: #1d1d1d;
    --white: #ffffff;
    --text: #f5f5f5;
    --muted: #858585;
    --muted-2: #5c5c5c;
    --border: rgba(255,255,255,.075);
    --border-strong: rgba(255,255,255,.12);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 32px;
    --shadow: 0 24px 70px rgba(0,0,0,.45);
    --header-height: 82px;
}
/* ========================================================= RESET ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    min-height: 100%;
    background: var(--black);
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    background: var(--black);
    color: var(--text);
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.menu-open {
    overflow: hidden;
}

* { border-color: rgba(255,255,255,.14) !important; }
a {
    color: inherit;
    text-decoration: none;
}
button, input {
    font: inherit;
}
button {
    border: 0;
}
img {
    max-width: 100%;
    display: block;
}
/* ========================================================= APP BACKGROUND ========================================================= */
.app-background {
    position: fixed;
    inset: 0;
    z-index: -5;
    overflow: hidden;
    pointer-events: none;
}
.glow-one {
    top: -240px;
    left: 35%;
    background: var(--red);
}
.glow-two {
    bottom: 5%;
    right: -300px;
    background: var(--red);
}
/* ========================================================= HEADER ========================================================= */
.app-header {

    position: sticky;

    top: 0;

    z-index: 500;

    height: var(--header-height);



    margin: 0 auto;

    background: rgba(23, 23, 23, 0.72);

    border: 0;

border-bottom: 1px solid rgba(255, 255, 255, 0.08);

 

    backdrop-filter: blur(28px) saturate(140%);

    -webkit-backdrop-filter: blur(28px) saturate(140%);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

}
.header-inner {
    width: min(1180px, calc(100% - 40px));
    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-logo {
    margin-left: 0;
}
.menu-button {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    padding: 10px;
    border-radius: 13px;
    background: transparent;
    cursor: pointer;
}
.menu-button:hover {
    background: rgba(255,255,255,.07);
}
.menu-button span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 20px;
    transition: .2s ease;
}
.menu-button span:nth-child(1) {
    width: 19px;
}
.menu-button span:nth-child(2) {
    width: 13px;
}
.menu-button span:nth-child(3) {
    width: 19px;
}
.app-logo {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    margin-left: 12px;

}
.app-logo img {
    width: 118px;
    height: auto;
}
.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 9px;
}
.header-icon-button {
    position: relative;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.06);
    color: #dedede;
    transition: .2s ease;
}
.header-icon-button:hover {
    background: rgba(255,255,255,.1);
    color: var(--white);
    transform: translateY(-1px);
}
.header-icon-button i {
    font-size: 14px;
}
.header-avatar {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient( 145deg, var(--red-bright), var(--red-dark) );
    font-size: 13px;
    font-weight: 800;

}
.header-badge {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;

    width: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;

    height: 17px !important;
    min-height: 17px !important;
    max-height: 17px !important;

    padding: 0 !important;

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

    border-radius: 50% !important;

    background: #da0000 !important;
    color: #ffffff !important;

    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 17px !important;



    box-sizing: border-box !important;
}

/* =========================================================
   LOGGED-IN PROFILE
========================================================= */

.profile-header-wrapper {
    position: relative;
}

.profile-bottom-icon {
    width: 32px;
    height: 32px;

    min-width: 32px;
    min-height: 32px;

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

    border-radius: 50%;

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

    border: 1px solid rgba(255,255,255,.08);

    color: #fff;

    font-family: "Inter", sans-serif;

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

    line-height: 1;

    box-sizing: border-box;
}

.header-avatar {
    width: 36px;
    height: 36px;

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

    border-radius: 50%;

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

    border: 1px solid rgba(255,255,255,.08);

    color: #fff;

    font-family: "Inter", sans-serif;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition: .2s ease;
}


.header-avatar:hover {
    background: rgba(255,255,255,.13);

    border-color: rgba(218,0,0,.35);

    color: #fff;
}


/* =========================================================
   PROFILE DROPDOWN
========================================================= */

.profile-header-wrapper .dropdown-content {

    position: absolute;

    top: calc(100% + 12px);

    right: 0;

    width: 190px;

    padding: 7px;

    background: #111;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 14px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.45);

    z-index: 9999;

    display: none;
}

/* =========================================================
   CLICK-OPEN PROFILE DROPDOWN
========================================================= */

.profile-header-wrapper.dropdown-open .dropdown-content {
    display: block;
}

/* =========================================================
   GREETING
========================================================= */

.profile-greeting {

    display: block;

    padding: 10px 11px 9px;

    color: #777;

    font-family: "Inter", sans-serif;

    font-size: 10px;

    font-weight: 600;

    border-bottom: 1px solid rgba(255,255,255,.06);

    margin-bottom: 5px;
}


/* =========================================================
   DROPDOWN LINKS
========================================================= */

.profile-header-wrapper .dropdown-content a {

    display: flex;

    align-items: center;

    width: 100%;

    box-sizing: border-box;

    padding: 10px 11px;

    border-radius: 9px;

    color: #aaa;

    font-family: "Inter", sans-serif;

    font-size: 11px;

    font-weight: 600;

    text-decoration: none;

    transition: .2s ease;
}


.profile-header-wrapper .dropdown-content a:hover {

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

    color: #fff;
}


/* =========================================================
   DELETE ACCOUNT
========================================================= */

.profile-header-wrapper .dropdown-content a.delete-account {

    color: #777;

}


.profile-header-wrapper .dropdown-content a.delete-account:hover {

    background: rgba(218,0,0,.09);

    color: #da0000;

}
/* ========================================================= SIDE DRAWER ========================================================= */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 800;
    background: rgba(0,0,0,.65);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    backdrop-filter: blur(5px);
}
.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}
.side-menu {

    position: fixed;

    top: 0;

    left: 0;

    z-index: 900;

    width: 100vw;
    max-width: 100vw;

    height: 100vh;
    height: 100dvh;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 25px 20px;

    background: #0a0a0a;

    border-right: none;

    box-shadow: 30px 0 100px rgba(0,0,0,.55);

    transform: translateX(-105%);

    transition: transform .38s cubic-bezier(.2,.8,.2,1);

}

.side-menu.open {

    transform: translateX(0);

}
.side-menu-top {
    overflow-y: auto;
    scrollbar-width: none;
}
.side-menu-top::-webkit-scrollbar {
    display: none;
}
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.drawer-logo img {
    width: 100px;
}
.close-menu {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #aaa;
    background: rgba(255,255,255,.06);
    cursor: pointer;
    transition: .2s ease;
}
.close-menu:hover {
    color: white;
    background: rgba(255,255,255,.1);
}
.drawer-profile {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px;
    margin-bottom: 31px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 17px;
    background: rgba(255,255,255,.035);
}
.drawer-avatar {
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient( 145deg, var(--red-bright), var(--red-dark) );
    font-size: 13px;
    font-weight: 800;
}
.guest-avatar {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;

    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;

    flex: 0 0 32px !important;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(255,255,255,.08);
    color: #fff;

    box-sizing: border-box;
}

.bottom-nav-item .fa-user {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.08);
    color: #fff;
    border-radius: 50%;
    transform: translateY(-3px);
}
.drawer-profile-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}
.drawer-profile-info strong {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.drawer-profile-info span {
    color: var(--muted);
    font-size: 11px;
}
.drawer-profile > i {
    color: #555;
    font-size: 11px;
}
.drawer-label {
    margin: 26px 10px 10px;
    color: #4f4f4f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}
.drawer-navigation {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.drawer-link {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 7px 10px;
    border-radius: 14px;
    color: #8e8e8e;
    font-size: 13px;
    font-weight: 600;
    transition: .2s ease;
      position: relative;
}
.drawer-link:hover {
    color: white;
    background: rgba(255,255,255,.045);
}
.drawer-link.active {
    color: white;
    background: #1d1d1d;
}
.drawer-link-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255,255,255,.045);
}
.drawer-link.active .drawer-link-icon {
    background: var(--red);
    color: white;
    box-shadow: 0 6px 20px rgba(218,0,0,.25);
}
.drawer-link-icon i {
    font-size: 13px;
}


.drawer-count {
    margin-left: auto;

    width: 20px;
    height: 20px;
    min-width: 20px;

    padding: 0;

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

    border-radius: 50%;

    background: #da0000;
    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;

    box-sizing: border-box;
}
.drawer-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 8px 5px;
    border-top: 1px solid rgba(255,255,255,.06);
    color: #4c4c4c;
    font-size: 10px;
}

.drawer-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.drawer-footer a:hover {
    color: #aaa;
}
 /* =========================================================
    MAIN APP
 ========================================================= */

.app-main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 60px 0 120px;
}


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

.hero-app {
    position: relative;
    width: 100%;
    padding: 10px 0 48px;
    text-align: center;
}


/* =========================================================
   HERO COPY
 ========================================================= */

.hero-copy {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}


/* =========================================================
   HERO EYEBROW
 ========================================================= */

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    gap: 8px;
    margin: 0 0 15px;

    color: #7d7d7d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .10em;
    text-align: center;
}

.online-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;

    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 5px rgba(218,0,0,.09);
}


/* =========================================================
   HERO HEADING
 ========================================================= */

.hero-copy h1 {
    width: 100%;
    max-width: 700px;

    margin: 0 auto 12px;

    color: white;
    font-size: clamp(40px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 800;

    text-align: center;
}


/* =========================================================
   HERO DESCRIPTION
 ========================================================= */

.hero-copy p {
    width: 100%;
    max-width: 600px;

    margin: 0 auto;

    color: #ccc;
    font-size: 14px;
    line-height: 1.6;

    text-align: center;
}


/* =========================================================
   SEARCH
 ========================================================= */

.app-search {
    position: relative;

    width: 100%;
    box-sizing: border-box;

    height: 72px;
    margin: 35px auto 0;

    display: flex;
    align-items: center;

    gap: 14px;
    padding: 8px 9px 8px 20px;

    background: #111;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;

    box-shadow: 0 20px 50px rgba(0,0,0,.25);

    transition: .25s ease;
}

.app-search:focus-within {
    border-color: rgba(218,0,0,.55);

    box-shadow:
        0 0 0 4px rgba(218,0,0,.08),
        0 20px 50px rgba(0,0,0,.35);
}


/* =========================================================
   SEARCH ICON
 ========================================================= */

.search-symbol {
    width: 22px;
    flex: 0 0 22px;

    display: grid;
    place-items: center;

    color: #666;
}

.search-symbol i {
    font-size: 16px;
}

.search-icon {
    transform: rotate(90deg) !important;
}


/* =========================================================
   SEARCH INPUT
 ========================================================= */

.app-search input {
    flex: 1;
    min-width: 0;

    border: 0;
    outline: 0;

    background: transparent;
    color: white;

    font-size: 14px;
}

.app-search input::placeholder {
    color: #555;
}


/* =========================================================
   SEARCH BUTTON
 ========================================================= */

.app-search button {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;

    display: grid;
    place-items: center;

    border-radius: 17px;

    background: var(--red);
    color: white;

    cursor: pointer;

    box-shadow: 0 8px 25px rgba(218,0,0,.22);

    transition: .2s ease;
}

.app-search button:hover {
    background: var(--red-bright);
    transform: translateY(-1px);
}

.app-search button i {
    transform: rotate(45deg);
    font-size: 13px;
}


/* =========================================================
   EVENT FILTERS
========================================================= */

.event-filters {
    width: 100%;

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

    gap: 8px;
    margin: 34px auto 0;

    overflow-x: auto;
    scrollbar-width: none;
}

.event-filters::-webkit-scrollbar {
    display: none;
}


.filter-btn {
    flex: 0 0 auto;

    padding: 8px 12px;

    border-radius: 20px;

    border: 1px solid rgba(255,255,255,.065);

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

    color: #777;

    font-family: "Inter", sans-serif;

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

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}


.filter-btn:hover {
    color: white;

    border-color: rgba(218,0,0,.4);

    background: rgba(218,0,0,.08);
}


.filter-btn.active {
    color: white;

    border-color: rgba(218,0,0,.65);

    background: rgba(218,0,0,.14);

    box-shadow:
        0 0 0 1px rgba(218,0,0,.05);
}


.filter-btn:active {
    transform: scale(.96);
}

/* =========================================================
   MOBILE HERO
 ========================================================= */

@media (max-width: 600px) {

    .app-main {
        width: calc(100% - 30px);
        padding: 40px 0 100px;
    }

    .hero-app {
        width: 100%;
        padding: 5px 0 40px;
        text-align: center;
    }

    .hero-copy {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        text-align: center;
    }

    .hero-eyebrow {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-copy h1 {
        width: 100%;
        max-width: none;

        margin-left: auto;
        margin-right: auto;

        font-size: clamp(38px, 12vw, 54px);
        text-align: center;
    }

    .hero-copy p {
        width: 100%;
        max-width: 500px;

        margin-left: auto;
        margin-right: auto;

        text-align: center;
    }

    .app-search {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .search-suggestions {
        width: 100%;
        justify-content: flex-start;
    }
}
/* ========================================================= ACTION DOCK ========================================================= */
.action-dock {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr);
    gap: 14px;
    margin-bottom: 65px;
}
.primary-action {
    min-height: 150px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-radius: 27px;
    background: linear-gradient( 125deg, #df0000, #a50000 );
    box-shadow: 0 20px 55px rgba(218,0,0,.15);
    transition: .25s ease;
}
.primary-action::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -90px;
    top: -100px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
}
.primary-action::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -150px;
    top: -140px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
}
.primary-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 65px rgba(218,0,0,.25);
}
.primary-action-icon {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(0,0,0,.17);
    font-size: 21px;
}
.primary-action-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.primary-action-copy span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
    color: rgba(255,255,255,.58);
}
.primary-action-copy strong {
    font-size: 22px;
    letter-spacing: -.03em;
}
.action-circle {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    margin-left: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0,0,0,.15);
}
.action-circle i {
    font-size: 13px;
}
.secondary-action {
    min-height: 150px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 27px;
    background: #101010;
    transition: .25s ease;
}
.secondary-action:hover {
    background: #151515;
    border-color: rgba(255,255,255,.12);
    transform: translateY(-3px);
}
.secondary-action-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(218,0,0,.10);
    color: #e00000;
}
.secondary-action div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.secondary-action span {
    color: #555;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .13em;
}
.secondary-action strong {
    font-size: 16px;
}
.secondary-action > i {
    margin-left: auto;
    color: #444;
    font-size: 11px;
}
/* ========================================================= SECTIONS ========================================================= */
.browse-section, .wallet-section {
    margin-bottom: 65px;
}
.section-heading-row, .wallet-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.mini-label {
    display: block;
    margin-bottom: 7px;
    color: #505050;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}
.section-heading-row h2, .wallet-heading h2 {
    color: white;
    font-size: 25px;
    letter-spacing: -.04em;
    
}
.text-button, .wallet-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #777;
    font-size: 11px;
    font-weight: 600;
    transition: .2s ease;
}
.text-button:hover, .wallet-link:hover {
    color: white;
}
.text-button i, .wallet-link i {
    font-size: 9px;
}
/* ========================================================= CATEGORY SCROLLER ========================================================= */
.category-scroller {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
    padding-top: 10px;
}
.category-tile {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 9px 9px 16px;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 23px;
    background: #0f0f0f;
    transition: .25s ease;
}
.category-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(218,0,0,.3);
    background: #131313;
}
.category-visual {
    position: relative;
    height: 155px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: #181818;
}
.category-visual i {
    position: relative;
    z-index: 3;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    transition: .3s ease;
}
.category-tile:hover .category-visual i {
    transform: scale(1.1) rotate(-5deg);
    color: white;
}

.music-visual::before, .music-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(218,0,0,.22);
}
.music-visual::before {
    width: 150px;
    height: 150px;
}
.music-visual::after {
    width: 230px;
    height: 230px;
}

.sports-visual {
    background: radial-gradient( circle at 50% 50%, rgba(255,255,255,.1), transparent 45% ), #151515;
}

.movie-visual {
    background: linear-gradient( 145deg, #171717, #0e0e0e );
}



.category-info {
    padding: 14px 6px 2px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.music-visual::before,
.music-visual::after,
.theatre-visual::before,
.theatre-visual::after {
    display: none !important;
    content: none !important;
}
.category-info strong {
    color: white;
    font-size: 13px;
}
.category-info span {
    color: #555;
    font-size: 10px;
}
.category-arrow {
    position: absolute;
    right: 17px;
    bottom: 18px;
    color: #444;
    font-size: 9px;
}
/* ========================================================= WALLET ========================================================= */
.ticket-wallet {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    display: block;
    padding: 25px;
    border-radius: 27px;
    background: linear-gradient( 130deg, #171717, #0c0c0c );
    border: 1px solid rgba(255,255,255,.08);
    transition: .25s ease;
}
.ticket-wallet:hover {
    border-color: rgba(218,0,0,.35);
    transform: translateY(-3px);
}
.wallet-pattern {
    position: absolute;
    width: 300px;
    height: 300px;
    top: -150px;
    right: -80px;
    border-radius: 50%;
    border: 1px solid rgba(218,0,0,.16);
    box-shadow: 0 0 0 35px rgba(218,0,0,.025), 0 0 0 70px rgba(218,0,0,.018);
}
.wallet-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 17px;
}
.wallet-icon {
    width: 57px;
    height: 57px;
    flex: 0 0 57px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--red);
    color: white;
    box-shadow: 0 10px 28px rgba(218,0,0,.2);
}
.wallet-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.wallet-details span {
    color: #555;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
}
.wallet-details strong {
    color: white;
    font-size: 23px;
    letter-spacing: -.04em;
}
.wallet-details small {
    color: #606060;
    font-size: 10px;
}
.wallet-arrow {
    width: 40px;
    height: 40px;
    margin-left: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    color: #666;
}
.wallet-barcode {
    position: absolute;
    z-index: 2;
    bottom: 25px;
    left: 25px;
    right: 25px;
    height: 20px;
    display: flex;
    align-items: stretch;
    gap: 3px;
    opacity: .13;
}
.wallet-barcode span {
    display: block;
    width: 2px;
    background: white;
}
.wallet-barcode span:nth-child(2), .wallet-barcode span:nth-child(7), .wallet-barcode span:nth-child(10) {
    width: 5px;
}
.wallet-barcode span:nth-child(4), .wallet-barcode span:nth-child(8), .wallet-barcode span:nth-child(12) {
    width: 1px;
}
/* ========================================================= DISCOVERY CARD ========================================================= */
.discovery-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient( 120deg, #0f0f0f, #090909 );
    border: 1px solid rgba(255,255,255,.065);
}
.discovery-card::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    right: -170px;
    top: -80px;
    border-radius: 50%;
    border: 1px solid rgba(218,0,0,.12);
}
.discovery-number {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.discovery-number span {
    color: #505050;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
}
.discovery-number strong {
    color: white;
    font-size: 50px;
    line-height: 1;
    letter-spacing: -.06em;
}
.discovery-number small {
    color: #666;
    font-size: 10px;
}
.discovery-icon {
    position: relative;
    width: 65px;
    height: 65px;
    margin-left: auto;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: rgba(218,0,0,.09);
    color: var(--red);
}
.discovery-icon > i {
    position: relative;
    z-index: 2;
    font-size: 19px;
}
.pulse-ring {
    position: absolute;
    inset: 13px;
    border: 1px solid rgba(218,0,0,.3);
    border-radius: 50%;
    animation: pulse 2.5s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(.7);
        opacity: .8;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}
.discovery-button {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border-radius: 13px;
    background: rgba(255,255,255,.055);
    color: #aaa;
    font-size: 10px;
    font-weight: 700;
    transition: .2s ease;
}
.discovery-button:hover {
    background: var(--red);
    color: white;
}
.discovery-button i {
    font-size: 9px;
}
/* ========================================================= BOTTOM NAVIGATION ========================================================= */
.bottom-navigation {
    position: fixed;
    left: 50%;
    bottom: max(15px, env(safe-area-inset-bottom));
    z-index: 700;
        border-radius: 22px;
    width: min(570px, calc(100% - 30px));
    height: 72px;

    transform: translateX(-50%);

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    align-items: center;

    padding: 7px;

    border: 1px solid rgba(255,255,255,.14) !important;

  

    background: rgba(13,13,13,.88);

    box-shadow: 0 20px 60px rgba(0,0,0,.65);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}
.bottom-nav-item {
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 18px;
    color: #555;
    font-size: 8px;
    font-weight: 700;
    transition: .2s ease;
}
.bottom-nav-item:hover {
    color: #aaa;
}
.bottom-nav-item.active {
    color: white;
    background: rgba(255,255,255,.055);
}
.bottom-icon {
    width: 28px;
    height: 22px;
    display: grid;
    place-items: center;
}
.bottom-icon i {
    font-size: 15px;
}
.bottom-nav-item.active .bottom-icon {
    color: var(--red);
}
.bottom-nav-center {
    position: relative;
    width: 57px;
    height: 57px;
    justify-self: center;
    display: grid;
    place-items: center;
    border-radius: 19px;
    background: var(--red);
    color: white;
    box-shadow: 0 9px 25px rgba(218,0,0,.25);
    transform: translateY(-12px);

    transition: .2s ease;
}
.bottom-nav-center:hover {
    transform: translateY(-14px) scale(1.04);
}
.bottom-nav-center > span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}
.bottom-nav-center i {
    font-size: 18px;
}
.bottom-nav-center b {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: white;
    color: var(--red);
    border: 2px solid var(--red);
    font-size: 8px;
}
.profile-bottom-icon {
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #aaa;
    font-size: 9px;
    font-weight: 800;
}
/* ========================================================= BOTTOM SPACE ========================================================= */
.bottom-space {
    height: 30px;
}
/* ========================================================= TABLET ========================================================= */
@media (max-width: 850px) {
    .app-main {
        padding-top: 42px;
    }
    .action-dock {
        grid-template-columns: 1fr;
    }
    .primary-action, .secondary-action {
        min-height: 125px;
    }
    .category-scroller {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        scrollbar-width: none;
        
    }
    .category-scroller::-webkit-scrollbar {
        display: none;
    }
    .category-tile {
        flex: 0 0 210px;
        scroll-snap-align: start;
    }
    .category-visual {
        height: 140px;
    }
}
/* ========================================================= MOBILE ========================================================= */
@media (max-width: 600px) {
    :root {
        --header-height: 72px;
    }

    .header-inner {
        width: calc(100% - 28px);
    }
    .app-logo img {
        width: 100px;
    }
    .header-icon-button, .header-avatar {
        width: 39px;
        height: 39px;
    }
    .menu-button {
        width: 39px;
        height: 39px;
    }
    .app-main {
        width: calc(100% - 28px);
        padding: 36px 0 110px;
    }
    .hero-app {
        padding-bottom: 35px;
    }
    .hero-copy h1 {
        font-size: clamp( 38px, 12vw, 58px );
    }
    .hero-copy p {
        max-width: 300px;
        font-size: 12px;
    }
    .app-search {
        height: 64px;
        margin-top: 27px;
        padding-left: 15px;
        border-radius: 19px;
    }
    .app-search button {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
    .search-suggestions {
        margin-top: 12px;
    }
    .action-dock {
        gap: 10px;
        margin-bottom: 48px;
    }
    .primary-action {
        min-height: 130px;
        padding: 19px;
        border-radius: 22px;
    }
    .primary-action-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        border-radius: 15px;
        font-size: 18px;
    }
    .primary-action-copy strong {
        font-size: 19px;
    }
    .secondary-action {
        min-height: 82px;
        padding: 15px;
        border-radius: 20px;
    }
    .secondary-action-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
        border-radius: 13px;
    }
    .browse-section, .wallet-section {
        margin-bottom: 48px;
    }
    .section-heading-row, .wallet-heading {
        margin-bottom: 16px;
    }
    .section-heading-row h2, .wallet-heading h2 {
        font-size: 22px;
    }
    .text-button, .wallet-link {
        font-size: 10px;
    }
    .category-tile {
        flex-basis: 190px;
        border-radius: 20px;
    }
    .category-visual {
        height: 128px;
        border-radius: 15px;
    }
    .category-info {
        padding: 12px 5px 1px;
    }
    .ticket-wallet {
        min-height: 175px;
        padding: 20px;
        border-radius: 22px;
    }
    .wallet-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        border-radius: 15px;
    }
    .wallet-details strong {
        font-size: 20px;
    }
    .wallet-arrow {
        width: 35px;
        height: 35px;
    }
    .wallet-barcode {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    .discovery-card {
        min-height: 165px;
        padding: 22px;
        gap: 14px;
        border-radius: 22px;
    }
    .discovery-number strong {
        font-size: 42px;
    }
    .discovery-icon {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }
    .discovery-button {
        position: absolute;
        left: 22px;
        bottom: 18px;
    }
    .bottom-navigation {
        width: calc(100% - 20px);
        height: 68px;
        bottom: max( 10px, env(safe-area-inset-bottom) );
        border-radius: 22px;
    }
    .bottom-nav-item {
        height: 55px;
        font-size: 7px;
    }
    .bottom-nav-center {
        width: 54px;
        height: 54px;
        border-radius: 18px;
    }
}
/* ========================================================= VERY SMALL PHONES ========================================================= */
@media (max-width: 380px) {
    .app-main {
        width: calc(100% - 22px);
    }
    .hero-copy h1 {
        font-size: 38px;
    }
    .category-tile {
        flex-basis: 175px;
    }
    .bottom-nav-item {
        font-size: 6px;
    }
    .bottom-nav-center {
        width: 51px;
        height: 51px;
    }
        .header-inner {
        width: calc(100% - 22px);
    }
}
/* ========================================================= DESKTOP APP MODE ========================================================= */
@media (min-width: 1000px) {

      .header-inner {
        justify-content: flex-start;
    }

    .header-actions {
        margin-left: auto;
    }

    .bottom-navigation {
        width: 520px;
    }
    .app-main {
        padding-top: 0;
    }
    .hero-app {
        min-height: 390px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .hero-copy h1 {
        font-size: 76px;
    }
    .app-search {
        max-width: 850px;
    }
    .search-suggestions {
        max-width: 850px;
    }
    .action-dock {
        margin-top: -10px;
    }
}
/* ========================================================= REDUCED MOTION ========================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   SQUARE / NO-BORDER OVERRIDES
   Everything else remains unchanged.
========================================================= */



/* =========================================================
   CATEGORY IMAGES
========================================================= */

.category-visual {
    isolation: isolate;
}

.category-image {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.52;

    filter: saturate(0.8) contrast(1.05);

    transition:
        opacity 0.35s ease,
        transform 0.5s ease;
}


/* DARK TRANSPARENT LAYER
   Keeps the original card design visible */

.category-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.20),
            rgba(0, 0, 0, 0.58)
        );

    pointer-events: none;
}


/* KEEP EXISTING DESIGN ELEMENTS ABOVE IMAGE */

.category-visual > i {
    z-index: 4;
}




/* SUBTLE HOVER */

.category-tile:hover .category-image {
    opacity: 0.30;
    transform: scale(1.04);
}

.desktop-sign-in {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.desktop-sign-in i {
    font-size: 17px;
}

.desktop-sign-in > i {
    width: 38px;
    height: 38px;

    display: inline-grid;
    place-items: center;

    background: transparent;
    color: #fff;

    border: none;
   

    font-size: 16px;
    flex-shrink: 0;
}

.desktop-sign-in span {
    font-size: 14px;
    font-weight: 600;
}

/* Mobile: hide text, keep icon */
@media (max-width: 767px) {

    .desktop-sign-in span {
        display: none;
    }

    .desktop-sign-in {
        display: inline-flex;
    }

        .header-inner {
        position: relative;
        justify-content: space-between;
    }

    .header-left {
        display: contents;
    }

    .app-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

        .header-inner {
        position: relative;
        justify-content: space-between;
    }

    .header-left {
        display: contents;
    }

    .app-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

}



/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.desktop-navigation {
    display: none;
}


/* =========================================================
   LAPTOP / DESKTOP
========================================================= */

@media (min-width: 1000px) {

    /* Hide hamburger on desktop */
    .menu-button {
        display: none;
    }

    /* Logo stays on the left */
    .header-left {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .app-logo {
        margin-left: 0;
    }


    /* Center navigation */
    .desktop-navigation {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);

        display: flex;
        align-items: center;
        gap: 8px;

        white-space: nowrap;
    }

    .desktop-navigation a {
        position: relative;

        padding: 10px 13px;

        color: #777;
        font-size: 14px;
        font-weight: 600;

        transition: color .2s ease;
    }

    .desktop-navigation a:hover {
        color: #fff;
    }


    /* Active link */
    .desktop-navigation a.active {
        color: #fff;
    }

.desktop-navigation a.active::after {
    content: "";

    position: absolute;

    left: 10px;
    right: 10px;
    bottom: 0;

    height: 2px;

    background: var(--red);
}


    /* Keep actions on far right */
    .header-actions {
        margin-left: auto;
    }

}


