/* css/shop.css */
.shop-page {
    position: relative;
    z-index: 10;
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
}

.shop-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 5%;
}

.shop-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.shop-hero h1 span { color: var(--accent); }
.shop-hero p { font-size: 1.15rem; color: var(--text-muted); font-weight: 300; }

.shop-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 20;
}

/* Categorii Filtre */
.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 100px;
    border: 1px solid var(--border-light);
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 25px;
    border-radius: 50px;
    transition: var(--transition);
}

.filter-btn:hover { color: var(--text-main); }
.filter-btn.active {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

/* Grila Produse */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.shop-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: transform 0.2s, border-color 0.4s, opacity 0.4s;
    display: flex;
    flex-direction: column;
    opacity: 0; /* Va fi animat imediat de JS */
}

.shop-item.hide { display: none; }
.shop-item.show { animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.95) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.shop-item:hover { border-color: var(--accent); }

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.web-badge { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.ui-badge { background: rgba(168, 85, 247, 0.1); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }
.fivem-badge { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }

.tag { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.tag.hot { color: #fbbf24; }

.shop-item h3 { font-size: 1.6rem; margin-bottom: 15px; }
.shop-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; font-weight: 300; }

.features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
}

.features span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.bottom-row { margin-top: auto; }

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', monospace;
}

.price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.btn-buy { width: 100%; text-align: center; }

@media (max-width: 768px) {
    .category-filters { flex-direction: column; width: 100%; border-radius: 15px; }
    .filter-btn { width: 100%; text-align: center; }
    .shop-hero h1 { font-size: 2.8rem; }
    .products-grid { grid-template-columns: 1fr; gap: 20px; }
    .shop-item { padding: 30px 20px; }
}