/** Colors **/

.color-p-gradient {
  background: linear-gradient(90deg, #f6d5f7, #fbe9d7); /* your gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.color-p-orange {
  color: #d3ac8f!important;
}

.color-p-purple {
  color: #c7aac6!important;
}

.color-p-pink {
  color: #d09ccf!important;
}

.color-p-red {
  color: #d09c9d!important;
}

.color-p-green {
  color: #9cd0b5!important;
}

.color-p-blue {
  color: #9caed0!important;
}

/** Leaderboards **/

.leaderboard tr:first-child .rank{
    color: #d3ba8f;
}

.leaderboard tr:nth-child(2) .rank{
    color: #adbccc;
}

.leaderboard tr:nth-child(3) .rank{
    color: #a77c62;
}

/** Tags **/

.tag-container {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  padding: 0.25rem 0.5rem;
}
.tag-suggestion-list {
    background: var(--x-card-bg);
    z-index: 1055;
    position: absolute;
    width: 100%;
    max-height: 150px;
    overflow-y: auto;
    top: 50px;
}

.tag-suggestion-list li {
  cursor: pointer;
  padding: 10px 20px;
}

/** Hero **/

.content-hero {
    padding-right: 400px;
    background-image: url(../../assets/img/hero.webp);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: -80px 0px;
    border-radius: 6px;
    background-size: cover;
}

@media (max-width: 991.98px) {
  .content-hero {
    padding-right: 25px!important;
  }
}

.hero-search .input-group .dropdown-menu.show {
    transform: translate(0px, 43px) !important;
    width: 100%;
}

.hero-search .form-control {
    background-color: #101318;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-search .input-group-inline .input-group-text {
    background: #101318;
}

.hero-search .input-group-text {
  border-radius: 0 6px 6px 0!important;
  border: 1px solid rgba(255, 255, 255, 0.04)!important;
  border-left: 0px!important;
}

.hero-search .input-group:focus-within .input-group-text {
  border-color: #5c60f5!important;
}

.hero-search.fixed {
    background: transparent;
}

.hero-search .input-group-text, .hero-search .form-control {
    -webkit-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
}

.hero-search.fixed .input-group-text, .hero-search.fixed .form-control {
    color: #888;
    background: #fff;
}

.hero-search.fixed input::placeholder {
    color: #888!important;
}

.hero-search .btn, .hero-search .btn:focus {
  background: #101318!important;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-left: 0px!important;
  padding: 13px 15px!important;
  border-radius: 0 6px 6px 0!important;
  color: #888;
  -webkit-transition: background-color 100ms linear;
  -ms-transition: background-color 100ms linear;
  transition: background-color 100ms linear;
}

.hero-search .btn:hover {
  background: #14181e!important;
  color: #999;
}

.hero-search .input-group-text {
  border-radius: 0px!important;
  border-left: 0px!important;
}

.hero-search .input-group:focus-within .input-group-text {
  border-right: 1px solid rgba(255, 255, 255, 0.03)!important;
}

@media (max-width: 991.98px) {
  .hero-search .input-group-text {
    border-radius: 0 6px 6px 0!important;
    border-left: 0px!important;
  }
}

.hero-search.fixed .btn {
  background: #fff!important;
  color: #ffbf47 !important;
  border-left: 1px solid rgba(0,0,0,0.08)!important;
}

.fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.fixed .search-notice {
    display: block !important;
}


.placeholder-overlay-wrapper {
  position: relative;
  width: 100%;
}

.placeholder-overlay-text {
  position: absolute;
  top: 50%;
  left: 1.5rem; /* match your px-6 */
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.875rem; /* text-sm */
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed .placeholder-overlay-text span {
  color: #888;
}

.fixed .placeholder-overlay-text span.color-p-gradient {
  background: linear-gradient(90deg, #888, #888); /* your gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-control:focus + .placeholder-overlay-text,
.form-control:not(:placeholder-shown) + .placeholder-overlay-text {
  display: none;
}

.other-resources .resource {
    border: 1px solid rgb(255, 255, 255, 0.05);
    background: rgba(255,255,255, 0.005);
    border-radius: 6px;
}

.other-resources .resource:hover {
    border: 1px solid rgb(255, 255, 255, 0.1);
    background: rgba(255,255,255, 0.01);
}

.other-resources .resource .h5 {
  font-size: 14px;
}

.other-resources .resource p {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}

.collection-card .remove-collection {
  position: absolute;
  top: -15px;
  right: 4px;
  background: none;
  border: none;
  color: #aaa;
  z-index: 2;
  padding: 2px;
}

.collection-card .remove-collection:hover {
  color: #000;
}

/** Cards ***/

@media (min-width: 768px) {
    .col-md-2 {
        flex: 0 0 auto;
        width: 19.999999%;
    }
}

@media (max-width: 768px) {
    .col-md-2 {
        flex: 0 0 auto;
        width: 48.999999%;
    }
}

p a {
  color: #fff;
}

.card-sticker img {
    margin: 0 auto;
    width: 100%;
    max-height: 156px;
    min-height: 156px;
    width: 163px;
    height: 156px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.card-banner img {
    width: 446px;
    height: 156px;
}

.card-sticker {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    min-height: 150px;
    max-height: 175px!important;
    width: 100%;
    overflow: hidden;
    position: relative;
    google-auto-ads: ignore;
}

.card-sticker .ovrly {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.card-sticker .buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
}
.card-sticker .buttons a, .card-sticker .buttons span {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    opacity: 0;
    font-size: 14px;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    position: relative;
    color: transparent;
    padding: 5px 15px;
    cursor: pointer;
}
.card-sticker .buttons .btn-secondary {
  padding: 5px 10px;
}
.card-sticker:hover .buttons a, .card-sticker:hover .buttons span {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    color: rgba(255, 255, 255, 0.9);
}
.card-sticker:hover .ovrly {
    opacity: 1;
}

.card-listing {
    overflow: hidden;
    min-height: 245px;
}

.card-listing .card-body, .card-listing .card-footer {
  background: rgba(255,255,255,0.02);
}

.card-listing .card-img {
    background: rgba(0,0,0,0,0.02);
    padding: 0.5 var(--x-card-spacer-x);
    border-radius: 10px 10px 0px 0px;
    min-height: 70px;
}

.card-listing .card-icon {
}

.card-listing .card-icon img {
    width: 55px;
    height: 55px;
    background: rgba(255,255,255,0.02)!important;
    border-radius: 12px;
    margin-bottom: 10px;
    margin-left: -4px;
    padding: 4px;
}

.card-listing .card-footer {
  color: var(--x-card-color);
  padding: 8px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.item-badge {
    display: none;
    position: absolute;
    border-radius: 2px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: .65rem;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    background: rgba(16, 19, 24, 0.4);
    border: 1px solid rgba(24, 26, 32, 0.2);
    z-index: 99;
}

.item-badge-right {
  right: 12px;
  top: 7%;
}

.item-badge-left {
  left: 12px;
  top: 7%;
}

.card-sticker:hover .item-badge {
  display: block;
  background: #101318;
  border: 1px solid #181a20;
}

/** Listings **/

.listing-preview {
    padding: 20px;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 8px;
    text-align: center;
    min-height: 200px;
}

.listing-preview img {
  border-radius: 12px;
  max-width: 150px;
}

.listing-preview.listing-banner img {
  border-radius: 12px;
  max-width: 550px;
}

.listing-header {
    position: relative;
    padding-left: 80px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.listing-header .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    overflow: hidden;
    margin-top: -5px;
}
/** Font Utilities **/

.fs-12 {
  font-size: 12px!important;
}

.fs-14 {
  font-size: 14px!important;
}

.fs-16 {
  font-size: 16px!important;
}

.fs-18 {
  font-size: 18px!important;
}

/** Profile **/

.profile-header {
    position: relative;
    padding: 45px 0 25px 0;
}

.profile-header .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 70px;
    overflow: hidden;
    margin-top: -2px;
    border-radius: 210px;
}

.profile-header .img img {
    width: 65px;
    height: 65px;
}

.profile-header .details {
    position: relative;
    padding-left: 90px;
}

/** AB Message **/

.angery-message {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    background: rgba(13, 16, 20, 0.995);
}


.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border-radius: 5px;
    align-items: center;
    padding: 5px 0;
}
.tag {
    display: inline-flex;
    align-items: center;
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}
.tag .remove-tag {
    margin-left: 5px;
    cursor: pointer;
    font-weight: bold;
}
.suggestions-container {
    position: absolute;
    background: #101318;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    max-height: 150px;
    overflow-y: auto;
    display: none;
    border-radius: 5px;
    z-index: 1000;
}
.suggestion {
    padding: 8px 10px;
    cursor: pointer;
    font-size: 14px;
}
.suggestion:hover {
    background: rgba(255,255,255,.02);
}
.suggestion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/** General Utilities **/

.gradient-placeholder-wrapper i {
  width: 14px;
  height: 14px;
  display: inline-block;
  text-align: center;
}

.ipr-container {
    color: #9c9c9c!important;
    border-top: 0px!important;
    border-bottom: 0px!important;
    background-color: transparent!important;
}

.ipr-button {
    color: #d5d5d5!important;
}

@media (max-width: 991.98px) {
  .mobile-hide {
    display: none !important;
  }
}
