/* SHOP SYSTEM STYLES */

.shop-container {
    background: #0f172a;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 0 !important;
    overflow: hidden;
    max-width: 800px !important;
    width: 90% !important;
}

@media (max-width: 768px) {
    .shop-container {
        width: 95% !important;
        max-height: 90vh;
    }

    .shop-header {
        padding: 15px;
    }

    .shop-title {
        font-size: 1.2rem;
    }

    .shop-item-card {
        padding: 10px;
    }

    .shop-content {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        padding: 15px;
        gap: 15px;
    }
}

.shop-header {
    background: linear-gradient(to right, #1e1b4b, #312e81);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-user-balance {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    color: #ffd700;
}

.shop-tabs {
    display: flex;
    background: #1e293b;
    padding: 5px;
}

.shop-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px;
}

.shop-tab.active {
    background: #334155;
    color: white;
}

.shop-content {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.shop-item-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s;
}

.shop-item-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.4);
}

.shop-item-preview {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    text-align: center;
}

.shop-item-btn {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.shop-item-btn.buy {
    background: #ffd700;
    color: #000;
}

.shop-item-btn.primary {
    background: var(--accent-color, #8b5cf6);
    color: white;
}

.shop-item-btn.secondary {
    background: #334155;
    color: #94a3b8;
}

.shop-footer {
    padding: 15px;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
    background: rgba(0, 0, 0, 0.2);
}

/* AVATAR FRAMES */
.avatar-frame-preview {
    position: relative;
    padding: 4px;
    border-radius: 50%;
}

.avatar-img-preview {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Frame Styles */
.frame-neon-purple {
    background: conic-gradient(#a855f7, #6366f1, #a855f7);
    animation: rotate 3s linear infinite;
}

.frame-gold-royal {
    background: linear-gradient(45deg, #ffd700, #ffb900, #ffd700);
    box-shadow: 0 0 10px #ffd700;
}

.frame-fire-vortex {
    background: conic-gradient(#ef4444, #f97316, #ef4444);
    animation: rotate 2s linear infinite;
    box-shadow: 0 0 15px #ef4444;
}

.frame-diamond-glimmer {
    background: linear-gradient(45deg, #22d3ee, #818cf8, #22d3ee);
    box-shadow: 0 0 15px #22d3ee;
    animation: shimmer 2s infinite linear;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

/* NAME GLOWS */
.name-glow-cyan {
    color: #22d3ee;
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.8);
}

.name-glow-red {
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 1);
    animation: pulse 1.5s infinite alternate;
}

.name-glow-rainbow {
    background: linear-gradient(to right, #ef4444, #eab308, #22c55e, #06b6d4, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: banner-move 3s linear infinite;
}

@keyframes pulse {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.7;
    }
}

@keyframes banner-move {
    to {
        background-position: 200% center;
    }
}

/* BADGES */
.badge-preview {
    font-size: 2.5rem;
}

/* NEW FRAME STYLES */
.frame-ice-crystal {
    background: linear-gradient(135deg, #93c5fd, #60a5fa, #3b82f6);
    box-shadow: 0 0 12px rgba(147, 197, 253, 0.5);
}

.frame-emerald-shine {
    background: conic-gradient(#10b981, #059669, #34d399, #10b981);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
    animation: rotate 4s linear infinite;
}

.frame-sunset-glow {
    background: linear-gradient(45deg, #f97316, #fb923c, #fdba74, #f97316);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.5);
    animation: shimmer 3s infinite linear;
}

.frame-galaxy {
    background: conic-gradient(#6366f1, #8b5cf6, #a855f7, #ec4899, #6366f1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    animation: rotate 5s linear infinite;
}

/* NEW NAME GLOWS */
.name-glow-purple {
    color: #a855f7;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.9);
    animation: pulse 2s infinite alternate;
}

.name-glow-golden {
    color: #fbbf24;
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.8), 0 0 20px rgba(251, 191, 36, 0.4);
}

.name-glow-neon-green {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.9), 0 0 20px rgba(74, 222, 128, 0.5);
}

/* VIP EXCLUSIVE FRAME */
.frame-vip-exclusive {
    background: conic-gradient(#ffd700, #ff8c00, #ffd700, #fff, #ffd700);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), 0 0 50px rgba(255, 140, 0, 0.4);
    animation: vip-glow 2s infinite alternate, rotate 8s linear infinite;
}

@keyframes vip-glow {
    from {
        filter: brightness(1) drop-shadow(0 0 8px gold);
    }

    to {
        filter: brightness(1.3) drop-shadow(0 0 15px gold);
    }
}