.streets-bg {
    background: url(media/rewards/card_background/streets1.png);
    background-position: center;
    background-size: cover;
}

.streets2-bg {
    background: url(media/rewards/card_background/streets2.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.streets3-bg {
    background: url(media/rewards/card_background/streets3.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.purple-bg {
    background: url(media/rewards/card_background/purple.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.labs-bg {
    background: url(media/rewards/card_background/labs.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.waves-bg {
    background: url(media/rewards/card_background/waves.gif);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.sunset-bg {
    background: url(media/rewards/card_background/sunset.gif);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.grenades-bg {
    background: url(media/rewards/card_background/grenades.gif);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.labs-bg {
    background: url(media/rewards/card_background/labs.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.usec-background {
    background: url(media/rewards/main_background/Usec.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bear-background {
    background: url(media/rewards/main_background/Bear.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.labs-background {
    background: url(media/rewards/main_background/labs.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.goons-background {
    background: url(media/rewards/main_background/Goons.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.raider-background {
    background: url(media/rewards/main_background/raider.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.lighthouse-background {
    background: url(media/rewards/main_background/Lighthouse.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* PFP Styles */
.box-style {
    border-radius: 10%;
}

.wide-style {
    border-radius: 10%;
    width: 90px;
    height: 90px;
    margin-top: 8px;
}

/* PFP Borders */
.red-border {
    border-color: rgb(206, 89, 89);
}

.pink-border {
    border-color: rgb(255, 138, 206);
}

.white-border {
    border-color: rgba(255, 255, 255, 0.445);
}

.black-border {
    border-color: rgb(0, 0, 0);
}

/* Prestige Only backgrounds for behind card profile */
.prestige-killa {
    background: url(media/rewards/prestige_only/killa.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.prestige-tagilla {
    background: url(media/rewards/prestige_only/tagilla.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.prestige-both {
    background: url(media/rewards/prestige_only/both.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Themes */
.theme-default {
    background-color: #181a20;
}

.theme-pastel {
    background-color: #594b7e;
}

.theme-dark {
    background-color: #000000eb;
}

.theme-light {
    background-color: rgb(57, 81, 99);
}

.theme-gradient {
    background: linear-gradient(169deg, rgba(62, 150, 141, 1) 0%, rgba(49, 49, 92, 1) 42%, rgba(60, 62, 99, 1) 69%);
}

.theme-redshade {
    background: linear-gradient(169deg, rgb(150, 62, 62) 0%, rgb(92, 49, 49) 42%, rgb(99, 61, 60) 69%);
}

.theme-steelshade {
    background: linear-gradient(169deg, #5a6166 0%, #56636e 42%, #3F4952 69%);
}

/* ============================================
   PREMIUM THEME - ENHANCED
   ============================================ */

.theme-premium {
    background:
        linear-gradient(169deg,
            #12071f 0%,
            #24093d 25%,
            #4a0b73 50%,
            #24093d 75%,
            #12071f 100%),
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
    background-size: 100% 100%;
    animation: premiumBgMove 8s ease-in-out infinite;
    position: relative;
    color: rgba(255, 255, 255, 0.95);
}

.theme-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
    overflow: hidden;
}

@keyframes premiumBgMove {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.theme-premium .stat-card {
    position: relative;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-premium .stat-value {
    font-weight: 900;
    background: linear-gradient(135deg, #8b5cf6, #6366f1, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.theme-premium .stat-label {
    color: rgba(255, 255, 255, 0.479);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

.theme-premium .user-main-card {
    position: relative;
    background: linear-gradient(145deg,
            rgba(51, 22, 90, 0.95),
            rgba(45, 11, 74, 0.95),
            rgba(74, 11, 115, 0.8));
    border: 1px solid rgba(139, 92, 246, 0.6);
    box-shadow:
        0 0 40px rgba(139, 92, 246, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.theme-premium .user-main-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);
}

.theme-premium .player-avatar {
    border: 2px solid transparent;
    background: linear-gradient(45deg, #8b5cf6, #6366f1, #ec4899) border-box;
    padding: 3px;
    box-shadow:
        0 0 20px rgba(139, 92, 246, 0.5),
        0 0 40px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.theme-premium .playermodel-image {
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 15px 0 15px;
    border: 1px solid #ffffff30;
}

.theme-premium #playermodel {
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1)),
        url(/media/rewards/other/premium-float.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.theme-premium.player-name {
    border-radius: 5px;
    border: 2px solid #ffffff30;
    background: url(/media/rewards/other/premium-float.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.theme-premium .lb-profile-picture {
    border: 2px solid transparent;
    background: linear-gradient(45deg, #8b5cf6, #6366f1) border-box;
    padding: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.theme-premium .lb-profile-picture:hover {
    border: 3px solid #b392ff !important;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(179, 146, 255, 0.8);
}

.theme-premium .lb-row-wrapper {
    background: rgba(30, 41, 59, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.theme-premium .lb-row-wrapper:hover {
    border-color: rgba(139, 92, 246, 0.6);
    background: rgba(30, 41, 59, 0.5);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

.theme-premium .exp-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-premium .exp-progress {
    background: linear-gradient(90deg,
            #8b5cf6,
            #6366f1,
            #ec4899);
    background-size: 200% 100%;
    animation: gradMove 2s ease infinite;
    height: 100%;
    border-radius: 10px;
    position: relative;
}

.theme-premium .exp-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
}

@keyframes gradMove {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes shimmerBar {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.premium-name {
    font-weight: 700;
    font-size: 18px;
    background: radial-gradient(#eb10ff, #d700ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 0px 5px #ebebeb9c, -1px -1px 1px #ffffff9c, 1px 0px 5px #c0f, 0px -2px 1px #ea2eff00, 1px 0px 5px #d325ff, 0px -2px 1px #fff, 0px 1px 1px #a600f88f, -1px 3px 1px #a600f854;
}

.theme-premium .trader-card {
    position: relative;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.theme-premium .trader-card[data-unlocked="true"] {
    border-color: rgba(72, 187, 120, 0.3);
}

.theme-premium .trader-card[data-unlocked="true"]:hover {
    border-color: rgba(72, 187, 120, 0.6);
    box-shadow: 0 10px 25px rgba(72, 187, 120, 0.2);
}

.theme-premium .comment-submit {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-premium .comment-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s;
}

.theme-premium .comment-submit:hover::before {
    left: 100%;
}

.theme-premium .comment-submit:hover {
    box-shadow:
        0 10px 20px rgba(139, 92, 246, 0.4),
        0 0 30px rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, #9c7cf7, #7475f2);
}

.theme-premium .close-profile-button {
    background: rgba(139, 92, 246, 0.2);
    border: 2px solid rgba(139, 92, 246, 0.5);
    color: #8b5cf6;
    font-size: 24px;
    width: 40px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-premium .close-profile-button:hover {
    background: rgba(139, 92, 246, 0.4);
    border-color: #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

.theme-premium .showcase-item-mini {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(45deg,
            rgba(139, 92, 246, 0.1),
            rgba(99, 102, 241, 0.1)) padding-box;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.theme-premium .showcase-item-mini:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.theme-premium .showcase-item-mini[data-rarity="legendary"] {
    border-color: rgba(245, 158, 11, 0.3);
}

.theme-premium .showcase-item-mini[data-rarity="legendary"]:hover {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.theme-premium .favorite-weapons {
    position: relative;
    background: linear-gradient(135deg,
            rgba(51, 22, 90, 0.9),
            rgba(45, 11, 74, 0.9));
    border: 2px solid rgba(139, 92, 246, 0.4);
    overflow: hidden;
}

.theme-premium .favorite-weapons::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            #8b5cf6,
            #6366f1,
            #ec4899);
    border-radius: 3px 3px 0 0;
}

.theme-premium .rank-display {
    top: 90px;
    right: 30px;
}

/* Winter theme */
.theme-winter {
    background: linear-gradient(169deg,
            #0c1b2f 0%,
            #1a2f4d 25%,
            #2c4d73 50%,
            #1a2f4d 75%,
            #0c1b2f 100%);
    background-size: 300% 300%;
    animation: winterBgMove 12s ease-in-out infinite;
    position: relative;

}

.theme-winter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(186, 230, 253, 0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 5L55 20L70 25L55 30L50 45L45 30L30 25L45 20L50 5Z' fill='white' fill-opacity='0.05'/%3E%3C/svg%3E");
    animation: winterShimmer 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes winterBgMove {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes winterShimmer {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

.theme-winter .stat-card {
    position: relative;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(96, 165, 250, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 20px rgba(56, 189, 248, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.theme-winter .stat-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(56, 189, 248, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.theme-winter .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(186, 230, 253, 0.1),
            transparent);
    transition: left 0.7s ease;
}

.theme-winter .stat-card:hover::before {
    left: 100%;
}

.theme-winter .stat-value {
    font-weight: 800;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.theme-winter .stat-label {
    color: #bae6fd;
    font-weight: 500;
}

.theme-winter .user-main-card {
    position: relative;
    background: linear-gradient(145deg,
            rgba(15, 23, 42, 0.85),
            rgba(30, 58, 138, 0.7));
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow:
        0 0 30px rgba(56, 189, 248, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
}

.theme-winter .user-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0L50 50L0 100L50 50L100 100L50 50L100 0L50 50Z' fill='none' stroke='%2338bdf8' stroke-width='0.5' stroke-opacity='0.1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.theme-winter .player-avatar {
    border: 2px solid #38bdf8;
    box-shadow:
        0 0 20px rgba(56, 189, 248, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.theme-winter .player-avatar:hover {
    border-color: #7dd3fc;
    box-shadow:
        0 0 30px rgba(56, 189, 248, 0.6),
        inset 0 0 30px rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.theme-winter .player-name {
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg,
            rgba(56, 189, 248, 0.2),
            rgba(14, 165, 233, 0.1));
    backdrop-filter: blur(10px);
    padding: 5px 15px;
    position: relative;
    overflow: hidden;
}

.theme-winter #playermodel {
    background: linear-gradient(145deg,
            rgba(15, 23, 42, 0.9),
            rgba(30, 58, 138, 0.7));
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow:
        0 0 25px rgba(56, 189, 248, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.theme-winter #playermodel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/media/rewards/other/snow-effect.gif');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    pointer-events: none;
}

.theme-winter .playermodel-image {
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 15px 0 15px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    background: rgba(15, 23, 42, 0.5);
    position: relative;
    overflow: hidden;
}

.theme-winter .playermodel-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(56, 189, 248, 0.1) 50%,
            transparent 70%);
    animation: iceFlow 4s linear infinite;
    pointer-events: none;
}

.theme-winter .exp-progress {
    background: linear-gradient(90deg,
            #38bdf8,
            #0ea5e9,
            #0284c7,
            #38bdf8);
    background-size: 200% 100%;
    animation: iceFlow 3s linear infinite;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.theme-winter .exp-progress-wp {
    background: linear-gradient(90deg,
            #7dd3fc,
            #38bdf8,
            #0ea5e9,
            #7dd3fc);
    background-size: 200% 100%;
    animation: iceFlow 3s linear infinite;
    box-shadow: 0 0 10px rgba(125, 211, 252, 0.5);
}

.theme-winter .profile-section {
    background: linear-gradient(145deg,
            rgba(15, 23, 42, 0.7),
            rgba(30, 58, 138, 0.5));
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow:
        0 4px 20px rgba(56, 189, 248, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.theme-winter .badge {
    background: linear-gradient(135deg,
            rgba(56, 189, 248, 0.2),
            rgba(14, 165, 233, 0.15));
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #bae6fd;
}

.theme-winter .trader-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(96, 165, 250, 0.2);
    transition: all 0.3s ease;
}

.theme-winter .trader-card:hover {
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(15, 23, 42, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.15);
}

.theme-winter .trader-standing {
    color: #7dd3fc;
}

.theme-winter.lb-row-wrapper {
    background: linear-gradient(90deg,
            rgba(15, 23, 42, 0.6),
            rgba(30, 58, 138, 0.4));
    border: 2px solid rgba(56, 189, 248, 0.3);
    padding: 5px 18px;
    backdrop-filter: blur(5px);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.theme-winter.lb-row-wrapper:hover {
    border-color: rgba(56, 189, 248, 0.6);
    background: linear-gradient(90deg,
            rgba(15, 23, 42, 0.8),
            rgba(30, 58, 138, 0.6));
    transform: translateX(5px);
}

/* Kitties/Penguins :D */
.kittyrew {
    position: absolute;
    display: none;
    width: 150px;
    top: 120px;
    left: 23.5rem;
    z-index: 1;
}

.badger {
    display: none;
    position: absolute;
    width: 100px;
    top: 281px;
    left: 650px;
}

/* Profile Decals */
.scratches {
    background-image: url(media/rewards/profile_decals_mastery/scratches.png);
    background-position: center;
    background-size: cover;
}

.cult-circle {
    background-image: url(media/rewards/profile_decals_mastery/cultist_point.png);
    background-position: center;
    background-size: cover;
    filter: saturate(0.9);
}

.cult-signs {
    background-image: url(media/rewards/profile_decals_mastery/cultist_point1.png);
    background-position: center;
    background-size: cover;
    filter: saturate(0.7);
}

.cult-signs2 {
    background-image: url(media/rewards/profile_decals_mastery/cultist_point_moresigns.png);
    background-position: center;
    background-size: cover;
    filter: saturate(0.6);
}