/* 🛒 Marketplace Netflix Premium Style */

/* Importar variáveis do chat-netflix */
:root {
    --primary-blue: #667eea;
    --primary-purple: #764ba2;
    --primary-hover: #7c5cb8;
    --card-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 🎬 Marketplace Container */
.marketplace-container {
    background: #ffffff;
    min-height: 100vh;
    padding: 2rem 0 4rem;
}

/* 🎭 Hero Section Premium */
.marketplace-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 24px;
    padding: 4rem 3rem;
    margin-bottom: 4rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.marketplace-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.marketplace-hero h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.marketplace-hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.marketplace-hero strong {
    color: white;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    text-decoration-thickness: 2px;
}

/* 💰 Earnings Card */
.earnings-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.earnings-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.earnings-card h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.earnings-card p {
    color: white;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

/* 🎯 Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-marketplace-primary {
    background: white;
    color: var(--primary-purple);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn-marketplace-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
}

.btn-marketplace-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.btn-marketplace-secondary:hover {
    background: white;
    color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
}

/* 🔄 How it Works Section */
.how-it-works {
    margin-bottom: 4rem;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.info-card .card-header {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.info-card .card-header h5 {
    color: white;
    font-weight: 700;
    margin: 0;
    font-size: 1.4rem;
}

.info-card .card-body {
    background: transparent;
    padding: 2rem;
}

.info-card ul {
    margin: 0;
    padding: 0;
}

.info-card li {
    color: white;
    font-size: 1.05rem;
    line-height: 2;
    padding: 0.5rem 0;
}

.info-card li strong {
    font-weight: 700;
}

/* 🌟 Premium Simulados Grid */
.premium-section {
    margin-bottom: 4rem;
}

.premium-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.premium-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.btn-view-all {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    filter: brightness(1.1);
}

/* 🎴 Premium Card */
.premium-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.premium-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    border-color: var(--primary-blue);
}

.premium-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.premium-card:hover .premium-card-image {
    transform: scale(1.05);
}

.premium-card-image-container {
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

.premium-card-image-container::after {
    content: '🌟';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.premium-card:hover .premium-card-image-container::after {
    opacity: 1;
}

.premium-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
}

.card-price-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.badge-premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.card-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin: 0;
}

.premium-card h5 {
    color: #333;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.premium-card-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

/* 👤 Author Info */
.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-blue);
}

.author-name {
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

/* 📊 Stats */
.card-stats {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

.stat-item strong {
    display: block;
    color: var(--primary-purple);
    font-size: 1.1rem;
    font-weight: 700;
}

/* 🎯 Card Action Button */
.btn-card-action {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.85rem;
    font-weight: 700;
    width: 100%;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 3;
    cursor: pointer;
}

.btn-card-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    filter: brightness(1.1);
    color: white;
}

/* 🎪 CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.cta-section h3 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.cta-section p {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-cta-success {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

.btn-cta-success:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.5);
}

.btn-cta-outline {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.btn-cta-outline:hover {
    background: white;
    color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
}

/* 😢 Empty State */
.empty-state-marketplace {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

.empty-state-marketplace h4 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.empty-state-marketplace p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .marketplace-hero h1 {
        font-size: 2.5rem;
    }
    
    .marketplace-hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-marketplace-primary,
    .btn-marketplace-secondary {
        width: 100%;
        text-align: center;
    }
    
    .premium-header {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-section h3 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta-success,
    .btn-cta-outline {
        width: 100%;
    }
}

/* ✨ Animations */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.badge-premium {
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}
