/* ============================================
   MARKETPLACE MAIN STYLES - TRANSFERMOBIL
   Estilos específicos para la página de marketplace
   ============================================ */

/* ============================================
   BREADCRUMB STYLES
   ============================================ */
.breadcrumb-responsive {
    background: #1a1a1a;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-responsive .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #00ff88;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-current {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ============================================
   HERO SEARCH SECTION
   ============================================ */
.catalog-hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #1a1a2e 50%, #16213e 75%, #0f3460 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.catalog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(79, 172, 254, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-search-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-search-container h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-search-container p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.main-search-bar {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.main-search-input {
    width: 100%;
    border: none;
    padding: 1rem 1rem 1rem 3.5rem;
    font-size: 1.125rem;
    color: #000000;
    background: transparent;
}

.main-search-input:focus {
    outline: none;
}

.main-search-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.voice-search-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: color 0.3s ease;
}

.voice-search-btn:hover {
    color: #00ff88;
}

.main-search-btn {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 56px;
}

.main-search-btn:hover {
    background: linear-gradient(135deg, #00cc6a 0%, #00ff88 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 255, 136, 0.4);
}

.quick-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.quick-filter {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.875rem;
}

.quick-filter:hover,
.quick-filter.active {
    background: #ffffff;
    color: #00ff88;
    border-color: #ffffff;
}

.catalog-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #00ff88;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   LIVE AUCTIONS SECTION
   ============================================ */
.live-auctions-section {
    padding: 4rem 0;
    background: #0a0a0a;
}

.auctions-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auctions-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.auctions-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.auction-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.auction-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auction-filter-btn:hover,
.auction-filter-btn.active {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.4);
    color: #00ff88;
    transform: translateY(-2px);
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.auctions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.auction-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.auction-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 136, 0.3);
}

.auction-favorites {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.875rem;
    z-index: 3;
}

.auction-favorites i {
    color: #ff4757;
}

.auction-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.nft-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s ease;
}

.auction-card:hover .nft-preview {
    transform: scale(1.05);
}

.nft-character {
    font-size: 4rem;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.place-bid-btn {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.auction-card:hover .place-bid-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.place-bid-btn:hover {
    background: #00ff88;
    color: #000000;
}

.live-indicator {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

.countdown {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.auction-info {
    padding: 1.5rem;
}

.auction-badges {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.badge-bsc {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-hot {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-badge 2s infinite;
}

.badge-crypto {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000000;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-bundle {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-limited {
    background: linear-gradient(135deg, #ffa502, #ff8c00);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-fitness {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: #000000;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse-badge {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(255, 71, 87, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

.auction-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.creator-info {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
}

.creator-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.creator-details {
    display: flex;
    flex-direction: column;
}

.creator-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.creator-name {
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 500;
}

.current-bid {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.bid-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.bid-amount {
    font-size: 0.875rem;
    color: #00ff88;
    font-weight: 600;
}

.load-more-auctions {
    text-align: center;
}

.btn-load-more-auctions {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-load-more-auctions:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.4);
    color: #00ff88;
    transform: translateY(-2px);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    padding: 4rem 0;
    background: #1a1a1a;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
}

.newsletter-btn {
    background: #00ff88;
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #00cc6a;
}

.newsletter-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .main-search-bar {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .main-search-btn {
        border-radius: 0 0 12px 12px;
        padding: 1rem;
        min-height: 48px;
        font-size: 1rem;
    }
    
    .quick-filters {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .quick-filters::-webkit-scrollbar {
        display: none;
    }
    
    .quick-filter {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .catalog-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .auction-filters {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .auction-filter-btn,
    .sort-btn {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .auctions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .creator-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }
    
    .current-bid {
        align-items: center;
        text-align: center;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-search-container {
        padding: 0 1rem;
    }
    
    .auctions-grid {
        grid-template-columns: 1fr;
    }
    
    .nft-character {
        font-size: 3rem;
    }
    
    .auction-info {
        padding: 1rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .newsletter-btn {
        border-radius: 0 0 12px 12px;
    }
}