.marketplace-title {
    color: var(--base-white);
    font-weight: 400;
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: 0%;
    font-family: var(--base-font);
}

.no-content {
    color: var(--base-white);
    font-size: 20px;
    text-align: center;
}

.marketplace-nav-link {
    color: var(--base-white) !important;
    font-size: 16px;
    padding: 8px 16px 8px 16px;
    line-height: 1.5;
    letter-spacing: 0%;
    font-family: var(--base-font);
}

.marketplace-nav-link.active-market {
    color: var(--base-accent) !important;
    border-bottom: 2px solid;
    border-color: var(--base-accent);
}

#marketplace-item-selector {
    color: var(--base-white);
    background-color: var(--base-black);
    font-family: var(--base-font);

    padding: 4px 8px;
    border-radius: 8px;
    border: 0;
}

.marketplace-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

/* Marketplace Filter */
.filter-heading {
    color: var(--base-white);
    font-family: var(--base-font);
    font-size: 26px;
    margin: 0;
}

.filter-toggle-btn-container {
    display: none;
}

.filter-toggle-btn {
    color: var(--base-white);
    background-color: transparent;
    border: 0;
    width: fit-content;
    padding: 10px 15px;

    transition: color 0.2s ease;
}

.filter-toggle-btn.active {
    color: var(--base-accent);
}

.filter-toggle-btn i {
    font-size: 1.5rem;
}

.filters-container {
    display: block;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: var(--base-white);
    color: var(--base-black);
    border-radius: 4px;
    font-size: 14px;
}

.filter-chip .remove-chip {
    cursor: pointer;
    font-weight: bold;
}

.filter-dropdown {
    width: 100%;
    position: relative;
    margin-bottom: 10px;
}

.filter-dropdown-heading {
    background-color: var(--base-black);
    color: var(--base-white);
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--base-gray-25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-chevron {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.filter-dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
}

.filter-dropdown-menu {
    margin-top: 8px;
    display: none;
    flex-direction: column;
    gap: 8px;
}

.filter-dropdown-item {
    background-color: var(--base-gray-15);
    color: var(--base-white);
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
}

.filter-dropdown-item.active {
    border: 1px solid var(--base-accent);
}

.filter-dropdown-item:not(.active):hover {
    border: 1px solid var(--base-gray-25);
}

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

.loading {
    opacity: 0.5;
    pointer-events: none;
    filter: blur(2px);
}

.marketplace-pagination-btns {
    grid-column: span 4;
    display: flex;
}

/* Product Card */
.product-card {
    background-color: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.product-image-container {
    border-radius: 16px;
    border: 1px solid var(--base-gray-45);
    background-color: var(--base-plate-primary);
    padding: 8px;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-title {
    color: var(--base-white);
    font-family: var(--base-font);
    font-size: 14px;
    line-height: 1.5;
}

.flash-sale-discount {
    color: var(--base-black);
    font-weight: bold;
    background-color: var(--base-white);
    margin-right: 5px;
    font-size: 0.875rem;
    border-radius: 4px;
    padding: 4px 8px;
}

.arp-discount-old {
    text-decoration: line-through;
    color: var(--base-gray-55);
    margin-right: 5px;
}

.product-price {
    color: var(--base-white);
    font-family: var(--base-font);
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    justify-content: start;
    align-items: start;
}

.product-price > span {
    display: flex;
    justify-content: start;
    align-items: flex-start;
}

.product-price-arp {
    font-size: 12px;
    margin-left: 5px;
}

.marketplace-product-timer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;

    z-index: 2;

    background: rgba(0, 0, 0, 0.75);
    color: var(--base-white);
    padding: 6px 10px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;

    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marketplace-product-timer .timer-heading {
    font-weight: 500;
}

.timer {
    color: var(--base-white);
}

/* Marketplace Home */
.marketplace-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.marketplace-home-fs-heading {
    color: var(--base-white);
    font-family: var(--base-font);
    text-align: center;
    font-size: 26px;
    font-weight: 400;
}

.marketplace-row.banners {
    gap: 20px;
}

.token-store-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 5;

    border-radius: 16px;
    border: 1px solid var(--base-gray-45);
    overflow: hidden;
    padding: 0;
}

.token-store-banner.full {
    aspect-ratio: 16 / 3;
}

.game-vault-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 5;

    border-radius: 16px;
    border: 1px solid var(--base-gray-45);
    overflow: hidden;
    padding: 0;
}

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

.marketplace-banner-overlay {
    background: radial-gradient(50% 50% at 50% 50%, #000000 0%, rgba(0, 0, 0, 0) 56.25%, rgba(0, 0, 0, 0.5) 100%);
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.token-store-banner-text, 
.game-vault-banner-text {
    color: var(--base-white);
    font-family: var(--base-font);
    font-size: 26px;
    font-weight: bold;
    text-align: center;
}

#token-store-timer,
#game-vault-timer {
    color: var(--base-white);
    font-size: 1.625rem;
    margin-left: 10px;
    font-weight: normal;
}

.ts-browse-rewards-button {
    padding: 8px 32px;
    margin-top: 10px;
    margin-right: 10px;
    border-radius: 100px;
    border: 1px solid var(--base-white);
    background-color: var(--base-plate-secondary);
    color: var(--base-white) !important;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.battle-pass-button, .browse-games-button {
    padding: 8px 32px;
    margin-top: 10px;
    border-radius: 100px;
    border: none;
    background-color: var(--base-white);
    color: var(--base-black) !important;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.battle-pass-button:hover, .ts-browse-rewards-button:hover, .browse-games-button:hover {
    background-color: var(--base-gray-45);
}

.marketplace-rewards-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 180px);
    justify-content: center;
    gap: 20px;
}

.marketplace-rewards-product-grid-flash-sale {
    display: grid;
    grid-template-columns: repeat(auto-fit, 180px);
    justify-content: center;
    gap: 20px;
}

.marketplace-home-heading {
    color: var(--base-white);
    font-family: var(--base-font);
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    margin: 0;
}

/* Avatar */
.avatar-rewards-new-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 180px);
    gap: 20px;
    justify-content: center;
}

.avatar-heading {
    color: var(--base-white);
    font-family: var(--base-font);
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    margin: 0;
}

.customize-avatar {
    color: var(--base-black) !important;
    background-color: var(--base-white);
    font-family: var(--base-font);
    font-size: 16px;
    font-weight: 500;
    padding: 4px 32px;
    margin-bottom: 5px;
    text-align: center;

    border-radius: 100px;
    border: 1px solid var(--base-gray-35);
    
    transition: background 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.customize-avatar:hover {
    background-color: var(--base-gray-55);
}

/* Artifacts and Fragments */
.artifacts-fragments-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 3;

    border-radius: 16px;
    border: 1px solid var(--base-gray-45);
    overflow: hidden;
    padding: 0;
}

.artifacts-fragments-banner-text {
    color: var(--base-white);
    font-family: var(--base-font);
    font-size: 26px;
    font-weight: 400;
    text-align: center;
    margin-top: 10px;
}

.learn-more-button {
    padding: 8px 32px;
    margin-top: 20px;
    border-radius: 100px;
    border: none;
    background-color: var(--base-white);
    color: var(--base-black) !important;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.learn-more-button:hover {
    background-color: var(--base-gray-45);
}

/* Token Store */
.token-store-heading {
    color: var(--base-white);
    font-family: var(--base-font);
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    margin: 20px 0;
}

/* Redeem Code */
.redeem-code-container {
    background-color: var(--base-plate-primary);
    border-radius: 16px;
    padding: 64px 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    margin: 0 auto;
}

.redeem-code-container .redeem-info {
    max-width: 700px;
    width: 100%;
}

.redeem-code-container .redeem-header {
    color: var(--base-white);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
}

.redeem-code-container .redeem-subtext {
    color: var(--base-white);;
    font-size: 16px;
    line-height: 1.5;
    margin: 2px 0;
}

.redeem-input-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    width: 100%;
    max-width: 700px;
}

#form-code {
    display: flex;
    gap: 12px;
    width: 100%;
}

.redeem-input {
    flex: 1;
    padding: 9px;
    border-radius: 8px;
    border: 1px solid var(--base-gray-45);
    background-color: var(--base-black);
    color: var(--base-white);
    font-size: 16px;
    outline: none;
}

.redeem-input::placeholder {
    color: #6b7280;
}

.redeem-button {
    padding: 8px 32px;
    border-radius: 100px;
    border: none;
    background-color: var(--base-white);
    color: var(--base-black);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.redeem-button:hover {
    background-color: var(--base-gray-45);
}

.redeem-code-container #hcaptcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1200px) {
    /* Marketplace Home */
    .token-store-banner-text,
    .game-vault-banner-text {
        font-size: 20px;
    }

    .ts-browse-rewards-button,
    .battle-pass-button,
    .browse-games-button {
        font-size: 14px;
        padding: 8px 20px;
    }
}

@media (max-width: 992px) {
    /* Marketplace Home */
    .game-vault-banner,
    .token-store-banner {
        aspect-ratio: 16 / 5;
    }
}

@media (max-width: 768px) {
    /* Filters */
    .filter-toggle-btn-container {
        width: 100%;
        display: flex;
        justify-content: end;
    }

    .filter-heading,
    .filters-container {
        display: none;
    }

    .filters-container.open {
        display: block;
    }

    /* Marketplace Home */
    .marketplace-row {
        flex-direction: column;
        align-items: center;
    }

    .game-vault-banner,
    .token-store-banner {
        aspect-ratio: 16 / 5;
    }

    .token-store-banner-text,
    .game-vault-banner-text {
        font-size: 26px;
    }

    .ts-browse-rewards-button,
    .battle-pass-button,
    .browse-games-button {
        font-size: 20px;
        padding: 8px 32px;
    }

    /* Artifacts and Fragments */
    .artifacts-fragments-banner {
        aspect-ratio: 2 / 1;
    }

    .artifacts-fragments-banner-text {
        line-height: 2.0;
        max-width: 75%;
    }

    .learn-more-button {
        margin-top: 10px;
    }

    /* Redeem Code */
    #form-code {
        flex-direction: column;
    }

    .redeem-code-container .redeem-subtext {
        text-align: left;
    }
}

.product-select-block.hide {
    display: none;
}

.feature-group-timer-block div:nth-child(1) div {
    font-size: 35px;
}
.filter-select select{
    background: transparent;
    border: none;
    width: 100%;
    appearance: none;
    color: #00f0f0;
    padding: 7px 15px;
    outline: none;
    height: 3rem;
}
.filter-select option{
    transition: .3s;
    padding: 7px 5px;
    font-size: 18px;
}

.filter-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 60px 0 60px;
}
.checkbox-title{
    color: white;
    border-bottom: 2px solid white;
    padding-bottom: 12px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.checkbox-button {
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type=checkbox] {
    box-sizing: border-box;
    padding: 0;
}

input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

input {
    font-size: 1rem;
    line-height: 1.5;
    padding: 11px 23px;
    border: 1px solid white;
    border-radius: 0;
    outline: 0;
    background-color: transparent;
}

.checkbox-button__input {
   display: none;
}

.checkbox-button__control {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 12px;
    vertical-align: middle;
    background-color: inherit;
    color: #00f0f0;
    border: 1px solid white;
    margin-bottom: 4px;
}
.checkbox-button__label{
    user-select: none;
    letter-spacing: 2px;
    text-transform: capitalize;
}

.checkbox-button__input:checked+.checkbox-button__control:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) ;
    width: 10px;
    height: 10px;
    background-color: #00f0f0;
}

.checkbox-button__input:checked+.checkbox-button__control {
    border-color: #00f0f0;
}

.checkbox-button__input:checked~.checkbox-button__label {
    color: #00f0f0;
}

.mobile-select {
    width: 100%;
}

.filter-select{
    color: #00f0f0;
    border: 1px solid white;
    appearance: none;
    width: 100%;
    position: relative;
}
.filter-select:after{
    content: '';
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    position: absolute;
    width: 16px;
    right: 22px;
    top: 50%;
    transform: rotate(45deg) translateX(-100%);
    height: 16px;
    z-index: -1;
}

.btn-filter {
    width: 100%;
    border: 1px solid #00f0f0;
    color: white;
    padding: 15px 0 15px 0;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.multi-select-container {
    position: relative;
    width: 100%;
}

.multi-select-menu {
    position: absolute;
    left: 0;
    top: 0.8em;
    float: left;
    min-width: 100%;
    margin: 1em 0;
    padding: 0.4em 0;
    border: 1px solid #aaa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: none;
    width: auto;
    background: rgba(1,1,1,0.9);
}

.multi-select-menu input {
    margin-right: 0.3em;
    vertical-align: 0.1em;
}

.multi-select-menuitems{
    display: flex;
    flex-direction: column;
    max-height: 100px;
    padding: 5px 10px;
    overflow: auto;
}
.multi-select-menuitems label{
    color: white;
    display: flex;
    align-items: center;
}

.multi-select-button {
    display: inline-block;
    font-size: 0.875em;
    padding: 0.2em 0.6em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: -0.5em;
    border: 1px solid #aaa;
    cursor: default;
    width: 100%;
    background: transparent;
    border-radius: 0;
}
.multi-select-container--open .multi-select-menu { display: block; }

.featured-tile {
    display: inline-block;
    height: 220px;
    width: 220px;
    margin: 10px;
    padding: 10px;
    background: rgba(40,40,40,0.50);
    margin-left: auto;
    margin-right: auto;
}

.product-tile {
    display: inline-block;
    font-size: .8rem!important;
    height: 190px;
    width: 150px;
    margin: 10px;
    padding: 10px;
    background: rgba(40,40,40,0.50);
    margin-left: auto;
    margin-right: auto;
}

.product-set {
    padding: 5px;
    min-height: 350px;
    min-width: 240px;
    height: 100%;
    display: block;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.product-set-tile {
    display: inline-block;
    font-size: .8rem!important;
    margin: 10px;
    padding: 10px;
    background: rgba(40,40,40,0.50);
    margin-left: auto;
    margin-right: auto;
    height: 145px;
    width: 110px;
}

.product-set.active {
    border: 1px solid #00f0f0;
}

.marketplace-hr {
    border-top: 2px solid rgba(153, 153, 153, 0.5)!important;
}

.marketplace-button {
    border-color: #0092c8!important;
}

.marketplace-pager {
    margin-left: auto;
    margin-right: auto;
}

.marketplace-img {
    background-color: transparent!important;
}
