.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #888888;
}

.no-products-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-products-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #d5ff00;
    opacity: 0.7;
}

.no-products-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.no-products-content p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

.products-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #1a1a1a 0%, #010101 100%);
}

.products-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(213, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(213, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(213, 255, 0, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.products-hero .hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.products-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.products-hero .hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    font-weight: 300;
}

.filter-section {
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(213, 255, 0, 0.1);
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(213, 255, 0, 0.1);
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 40px;
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d5ff00, #b8e600);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 40px;
}

.filter-tab i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.filter-tab span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    color: #010101;
    transform: translateY(-2px);
}

.filter-tab:hover::before {
    opacity: 1;
}

.filter-tab.active {
    color: #010101;
    background: linear-gradient(135deg, #d5ff00, #b8e600);
    box-shadow: 0 4px 15px rgba(213, 255, 0, 0.3);
}

.filter-tab.active::before {
    opacity: 0;
}

.filter-controls {
    display: flex;
    gap: 20px;
    align-items: center;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 15px;
    color: #d5ff00;
    z-index: 1;
}

.search-box input {
    padding: 12px 15px 12px 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(213, 255, 0, 0.3);
    border-radius: 25px;
    color: #ffffff;
    font-size: 1rem;
    width: 250px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #d5ff00;
    box-shadow: 0 0 10px rgba(213, 255, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.search-box input::placeholder {
    color: #888888;
}

.sort-dropdown select {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(213, 255, 0, 0.3);
    border-radius: 25px;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-dropdown select:focus {
    outline: none;
    border-color: #d5ff00;
    box-shadow: 0 0 10px rgba(213, 255, 0, 0.3);
}

.sort-dropdown option {
    background: #1a1a1a;
    color: #ffffff;
}

.products-section {
    padding: 80px 0;
    min-height: 60vh;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(213, 255, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(213, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: #d5ff00;
    box-shadow: 0 20px 40px rgba(213, 255, 0, 0.2);
}

.product-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #d5ff00, #b8e600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #010101;
    transition: all 0.3s ease;
}

.product-card:hover .product-placeholder {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(213, 255, 0, 0.5);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    background: linear-gradient(45deg, #d5ff00, #b8e600);
    color: #010101;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #d5ff00, #b8e600);
    border-radius: 20px;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    padding: 12px 24px;
    background: linear-gradient(45deg, #d5ff00, #b8e600);
    color: #010101;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-quick-view:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(213, 255, 0, 0.4);
}

.product-info {
    padding: 25px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d5ff00;
    margin-bottom: 10px;
    font-family: 'Orbitron', monospace;
}

.product-description {
    color: #aaaaaa;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 40px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: rgba(213, 255, 0, 0.1);
    color: #d5ff00;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(213, 255, 0, 0.3);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(213, 255, 0, 0.2);
    transform: translateY(-2px);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d5ff00;
}

.price-old {
    font-size: 1.1rem;
    color: #888888;
    text-decoration: line-through;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #d5ff00, #b8e600);
    color: #010101;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-add-cart::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 ease;
}

.btn-add-cart:hover::before {
    left: 100%;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 255, 0, 0.4);
}

.cta-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #d5ff00;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
}

.cta-content p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a, #010101);
    border: 1px solid #d5ff00;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.product-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #d5ff00;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.modal-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #d5ff00, #b8e600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #010101;
}

.modal-info h3 {
    color: #d5ff00;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
}

.modal-description {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-features h4 {
    color: #d5ff00;
    margin-bottom: 10px;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    color: #aaaaaa;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d5ff00;
    font-weight: bold;
}

.modal-price {
    margin: 20px 0;
}

.modal-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: #d5ff00;
}

.modal-add-cart {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .products-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .filter-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .product-card {
        margin: 0 10px;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
}

.products-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

.products-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(213, 255, 0, 0.3);
    border-top: 3px solid #d5ff00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.product-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }
.product-card:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
