/* Unified Stake-inspired sportsbook homepage and full account menu */
.nexa-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 8px;
}

.nexa-product-card {
    position: relative;
    display: block;
    min-height: 232px;
    overflow: hidden;
    border: 1px solid #2992ff55;
    border-radius: 13px;
    background: linear-gradient(145deg, #0c77ea 0%, #0759c8 100%);
    box-shadow: 0 15px 32px #0003;
    color: #fff;
}

.nexa-product-card::before {
    content: "";
    position: absolute;
    inset: -70% -15% auto 30%;
    height: 260px;
    border-radius: 50%;
    background: #7fd8ff55;
    filter: blur(28px);
}

.nexa-product-card:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 19px 38px #0005;
}

.nexa-product-card--sports {
    background: linear-gradient(145deg, #087af0 0%, #0453b9 100%);
}

.nexa-product-card__copy {
    position: relative;
    z-index: 2;
    padding: 20px 22px;
}

.nexa-product-card__copy span {
    display: block;
    font-size: 21px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.5px;
}

.nexa-product-card__copy small {
    display: block;
    margin-top: 7px;
    color: #d9efff;
    font-size: 10px;
}

.nexa-product-card__art {
    position: absolute;
    z-index: 1;
    inset: 0 0 48px;
}

.nexa-product-card__art > i {
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid #eaffff77;
    background: radial-gradient(circle at 34% 25%, #fff 0, #9feaff 20%, #2088eb 65%, #064eaa 100%);
    box-shadow: inset -12px -12px 22px #003d9388, 0 12px 24px #00398366;
    color: #fff;
    text-shadow: 0 3px 8px #064d9d;
}

.nexa-product-card__art > i:first-child {
    right: 132px;
    bottom: 22px;
    width: 120px;
    height: 120px;
    border-radius: 24px;
    transform: rotate(-13deg);
    font-size: 64px;
}

.nexa-product-card__art > i:nth-child(2) {
    right: 26px;
    bottom: 2px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    transform: rotate(11deg);
    font-size: 77px;
}

.nexa-product-card__art > b {
    position: absolute;
    right: -34px;
    bottom: -48px;
    width: 250px;
    height: 110px;
    border: 18px solid #ffffff3d;
    border-radius: 50%;
    transform: rotate(-10deg);
}

.nexa-casino-art {
    background: linear-gradient(90deg, transparent 10%, #05276b 100%);
}

.nexa-casino-art > img {
    position: absolute;
    top: -22%;
    right: -1%;
    width: 64%;
    height: 142%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.1) contrast(1.03);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
}

.nexa-sports-art > i:first-child {
    right: 110px;
    bottom: 3px;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    font-size: 82px;
    transform: rotate(-9deg);
}

.nexa-sports-art > i:nth-child(2) {
    right: 10px;
    bottom: 35px;
    width: 96px;
    height: 118px;
    border-radius: 19px 19px 42px 42px;
    font-size: 58px;
    transform: rotate(12deg);
}

.nexa-product-card__footer {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    background: #1a3443ee;
    color: #fff;
}

.nexa-product-card__footer strong {
    font-size: 12px;
}

.nexa-product-card__footer strong > i {
    margin-right: 6px;
    color: #b8d6e3;
}

.nexa-product-card__footer small {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #b7ced8;
    font-size: 10px;
}

.nexa-product-card__footer small > i,
.nexa-casino-game > small > i {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #32e66f;
    box-shadow: 0 0 8px #32e66f;
}

.nexa-game-search {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 20px;
    padding: 0 13px;
    border: 1px solid #315564;
    border-radius: 9px;
    background: #081923;
    color: #a6c1cc;
}

.nexa-game-search > i {
    font-size: 22px;
}

.nexa-game-search input {
    min-width: 0;
    flex: 1;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #e7f4f8;
    font-size: 12px;
}

.nexa-game-search input::placeholder {
    color: #98b1bc;
}

.nexa-game-search kbd {
    padding: 3px 6px;
    border-radius: 4px;
    background: #385563;
    box-shadow: none;
    color: #fff;
    font-size: 9px;
}

.nexa-vip-heading {
    margin-top: 0;
}

.nexa-vip-heading > a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #9eb8c3;
    font-size: 10px;
}

.nexa-vip-card {
    --vip-accent: #c89562;
    display: flex;
    align-items: center;
    gap: 19px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid #294957;
    border-radius: 10px;
    background: #18313f;
    box-shadow: inset 0 1px #ffffff08;
}

.nexa-vip-card--silver { --vip-accent: #c7d2d8; }
.nexa-vip-card--gold { --vip-accent: #f0bd4f; }
.nexa-vip-card--platinum { --vip-accent: #7ed7dd; }
.nexa-vip-card--diamond { --vip-accent: #7cb6ff; }
.nexa-vip-card--vip-1,
.nexa-vip-card--vip-2,
.nexa-vip-card--vip-3 { --vip-accent: #bd78ff; }

.nexa-vip-emblem {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--vip-accent);
    filter: drop-shadow(0 5px 4px #0006);
    font-size: 53px;
}

.nexa-vip-emblem i {
    font-weight: 900;
}

.nexa-vip-details {
    min-width: 0;
    flex: 1;
}

.nexa-vip-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.nexa-vip-meta > div {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.nexa-vip-meta strong {
    color: #fff;
    font-size: 12px;
}

.nexa-vip-meta small {
    color: #8fa8b3;
    font-size: 9px;
}

.nexa-vip-meta > span {
    color: #a7c7ff;
    font-size: 11px;
    font-weight: 800;
}

.nexa-vip-track {
    height: 8px;
    overflow: hidden;
    border-radius: 10px;
    background: #091c26;
}

.nexa-vip-track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--vip-accent), #e7c19c);
    box-shadow: 0 0 12px var(--vip-accent);
}

.nexa-vip-levels {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.nexa-vip-levels strong {
    color: var(--vip-accent);
    font-size: 10px;
}

.nexa-vip-levels strong:last-child {
    color: #bdd3dc;
    text-align: right;
}

.nexa-vip-levels span {
    color: #78929e;
    font-size: 8px;
    text-align: center;
}

.nexa-casino-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(128px, 1fr);
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #31515f transparent;
}

.nexa-casino-game {
    min-width: 128px;
}

.nexa-casino-game__visual {
    position: relative;
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #ffffff18;
    border-radius: 9px;
    background: #102833;
    box-shadow: inset 0 -40px 60px #020b0f88, 0 10px 22px #0003;
}

.nexa-casino-game__visual::before,
.nexa-casino-game__visual::after {
    content: "";
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.nexa-casino-game__visual::before {
    display: none;
}

.nexa-casino-game__visual::after {
    inset: 42% 0 0;
    background: linear-gradient(180deg, transparent 0%, #06121bea 100%);
}

.nexa-casino-game__visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.nexa-casino-game:hover .nexa-casino-game__visual > img {
    transform: scale(1.045);
}

.nexa-casino-game__visual > span {
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 8px;
    padding: 4px 6px;
    border-radius: 4px;
    background: #07151dcc;
    color: #dceaf0;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.nexa-casino-game__overlay {
    position: absolute;
    z-index: 2;
    right: 9px;
    bottom: 10px;
    left: 9px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-shadow: 0 2px 8px #000;
}

.nexa-casino-game__overlay strong {
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.25px;
}

.nexa-casino-game__overlay small {
    color: #c8dce4;
    font-size: 8px;
}

.nexa-casino-game > small {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #90aab5;
    margin-top: 7px;
    font-size: 8px;
}

.nexa-search-empty {
    margin: -9px 0 24px;
    padding: 16px;
    border: 1px dashed #31515e;
    border-radius: 8px;
    color: #8fa8b3;
    text-align: center;
    font-size: 11px;
}

.nexa-sports-heading {
    margin-top: 5px;
}

/* Full dashboard menu inside the user profile dropdown */
.user-profile-dropdown .dropdown-menu {
    min-width: 270px;
}

.nexa-account-section {
    padding: 8px 10px 4px;
    color: #78949f;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.nexa-account-dropdown .dropdown-divider {
    margin: 5px 8px;
    border-color: #31515e;
}

.app-nav .user-profile-dropdown .dropdown-toggle::after {
    display: none;
}

.app-nav .user-profile-dropdown .dropdown-menu {
    position: fixed !important;
    inset: auto 8px 68px auto !important;
    width: min(320px, calc(100vw - 16px));
    max-height: min(70vh, 570px);
    transform: none !important;
}

@media (max-width: 900px) {
    .nexa-product-card {
        min-height: 210px;
    }

    .nexa-product-card__art > i:first-child {
        right: 92px;
        width: 100px;
        height: 100px;
        font-size: 52px;
    }

    .nexa-product-card__art > i:nth-child(2) {
        right: 8px;
        width: 120px;
        height: 120px;
        font-size: 65px;
    }

    .nexa-sports-art > i:first-child {
        right: 76px;
        width: 125px;
        height: 125px;
    }

    .nexa-sports-art > i:nth-child(2) {
        width: 82px;
        height: 100px;
    }

    .nexa-product-card__copy small {
        display: none;
    }
}

@media (max-width: 680px) {
    .nexa-product-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .nexa-product-card {
        min-height: 190px;
    }

    .nexa-product-card__copy {
        padding: 17px 18px;
    }

    .nexa-product-card__copy span {
        font-size: 19px;
    }

    .nexa-game-search {
        margin: 8px 0 17px;
    }

    .nexa-game-search kbd {
        display: none;
    }

    .nexa-vip-card {
        align-items: flex-start;
        gap: 11px;
        padding: 14px 12px;
    }

    .nexa-vip-emblem {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        font-size: 40px;
    }

    .nexa-vip-meta > div {
        display: block;
    }

    .nexa-vip-meta small {
        display: block;
        margin-top: 2px;
    }

    .nexa-vip-levels {
        grid-template-columns: auto auto;
    }

    .nexa-vip-levels span {
        display: none;
    }

    .nexa-casino-strip {
        grid-auto-columns: 118px;
    }

    .nexa-section-heading > span {
        max-width: 45%;
        text-align: right;
    }
}
