/* ========================================
   Marketplace Styles
   ======================================== */

.page-header {
    padding: 150px 0 60px;
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

.header-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.header-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
}

.header-stat i {
    font-size: 42px;
}

.header-stat h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    margin: 0;
}

.header-stat p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Filters */
.filters-section {
    padding: 30px 0;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 25px 30px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-select {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.filter-select option {
    background: #1a1a2e;
    color: #fff;
}

/* Marketplace Section */
.marketplace-section {
    padding: 40px 0 80px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    margin: 0;
}

.modal-close {
    background: rgba(255, 0, 110, 0.2);
    border: 1px solid rgba(255, 0, 110, 0.3);
    color: var(--neon-pink);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.modal-close:hover {
    background: var(--neon-pink);
    color: #000;
    box-shadow: var(--glow-pink);
}

.modal-body {
    margin-bottom: 30px;
}

.asset-preview {
    text-align: center;
    margin-bottom: 30px;
}

.preview-icon {
    font-size: 72px;
    margin-bottom: 15px;
}

.asset-preview h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
}

.modal-details {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.modal-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-detail-row:last-child {
    border-bottom: none;
}

.modal-detail-row span:first-child {
    color: rgba(255, 255, 255, 0.7);
}

.modal-detail-row span:last-child {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
}

.modal-footer {
    display: flex;
    gap: 15px;
}

.modal-footer .btn {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .header-stats {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}
