/* WataInfluencers - Professional Marketplace Styles */

/* Service Cards Grid - FORZAR 3 COLUMNAS EN DESKTOP */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales en desktop */
    gap: 20px;
}

/* Para tablets */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
        gap: 15px;
    }
}

/* Grid & Container */
.influencers-grid {
    padding: 2rem 0;
}

/* Premium Card Design */
.influencer-card {
    background: linear-gradient(135deg, rgba(33, 37, 41, 0.95) 0%, rgba(52, 58, 64, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.influencer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.4);
}

/* Profile Avatar */
.profile-avatar-wrapper {
    position: relative;
}

.profile-avatar {
    border: 3px solid rgba(255, 193, 7, 0.3);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
}

.profile-avatar-placeholder {
    border: 3px solid rgba(255, 193, 7, 0.3);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
}

.influencer-card:hover .profile-avatar,
.influencer-card:hover .profile-avatar-placeholder {
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.4);
    border-color: rgba(255, 193, 7, 0.5);
}

/* Verification Badge */
.verification-badge {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Influencer Name */
.influencer-name {
    font-size: 1.25rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Social Links */
.social-links {
    gap: 1rem;
}

.social-link {
    color: #ffffff;
    opacity: 0.8;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    opacity: 1;
    color: #ffffff;
    background: rgba(255, 193, 7, 0.2);
    transform: translateY(-2px);
}

/* Stats Grid */
.stats-grid .stat-item {
    padding: 0.5rem;
}

.stats-grid .stat-item div {
    line-height: 1.2;
}

.stats-grid small {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Platform Badges */
.platforms-section {
    min-height: 2rem;
}

/* Platform Badges XL - FORZAR LÍNEA HORIZONTAL */
.platform-badges-xl {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.platform-badge {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
}

.platform-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* TikTok Badge */
.platform-badge:contains("TikTok") {
    background: linear-gradient(45deg, #ff0050, #ff4081);
}

/* Instagram Badge */
.platform-badge:contains("Instagram") {
    background: linear-gradient(45deg, #405de6, #c13584);
}

/* YouTube Badge */
.platform-badge:contains("YouTube") {
    background: linear-gradient(45deg, #ff0000, #cc0000);
}

/* Bio Preview */
.bio-preview {
    line-height: 1.4;
    color: #ffffff !important;
    opacity: 1;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pricing Section */
.pricing-section {
    background: rgba(255, 193, 7, 0.1);
    border-radius: 15px;
    padding: 1rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.price-display {
    position: relative;
}

.price-amount {
    color: #ffc107;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0.25rem 0;
}

.price-amount .currency {
    opacity: 0.8;
    font-weight: normal;
}

/* Action Buttons */
.action-buttons {
    gap: 0.5rem;
}

.action-buttons .btn {
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-width: 2px;
}

.action-buttons .btn-primary {
    background: linear-gradient(45deg, #ffc107, #ff8c00);
    border-color: #ffc107;
    color: #000;
    font-weight: bold;
}

.action-buttons .btn-primary:hover {
    background: linear-gradient(45deg, #ff8c00, #ffc107);
    border-color: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 193, 7, 0.3);
}

.action-buttons .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.action-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .influencer-card {
        margin-bottom: 1.5rem;
    }
    
    .stats-grid {
        font-size: 0.9rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pricing-section {
        padding: 0.75rem;
    }
}

/* Animation Keyframes */
@keyframes cardGlow {
    0% { box-shadow: 0 0 20px rgba(255, 193, 7, 0.2); }
    50% { box-shadow: 0 0 30px rgba(255, 193, 7, 0.4); }
    100% { box-shadow: 0 0 20px rgba(255, 193, 7, 0.2); }
}

.influencer-card:hover {
    animation: cardGlow 2s ease-in-out infinite;
}

/* Loading States */
.influencer-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.influencer-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #ffc107;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== ESTILOS PARA SERVICIOS DE INFLUENCER ===== */

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.3);
}

.service-card.featured {
    border: 2px solid #ffc107;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.service-badge {
    position: absolute;
    top: -8px;
    right: 15px;
    background: linear-gradient(45deg, #ffc107, #ff8c00);
    color: #000;
    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Service Header */
.service-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
}

.service-icon-wrapper:has(.fa-tiktok) {
    background: linear-gradient(45deg, #ff0050, #000);
}

.service-icon-wrapper:has(.fa-instagram) {
    background: linear-gradient(45deg, #e4405f, #833ab4, #f56040);
}

.service-icon-wrapper:has(.fa-youtube) {
    background: linear-gradient(45deg, #ff0000, #cc0000);
}

.service-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Service Price */
.service-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-amount {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #ffc107;
    line-height: 1;
}

.price-watacoins {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Service Features */
.service-features {
    margin-bottom: 1.5rem;
}

.service-features .feature {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.service-features .feature:last-child {
    margin-bottom: 0;
}

.service-features .feature i {
    color: #28a745;
    margin-right: 8px;
}

/* Contract Buttons */
.btn-contract {
    background: linear-gradient(45deg, #ffc107, #ff8c00) !important;
    border: none !important;
    color: #000 !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.btn-contract:hover {
    background: linear-gradient(45deg, #ff8c00, #ffc107) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 16px rgba(255, 193, 7, 0.4) !important;
    color: #000 !important;
}

/* ===== ESTADÍSTICAS MEJORADAS ===== */

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

.detailed-stats .stat-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    flex: 1;
}

.stat-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
    text-align: right;
    min-width: 60px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 1rem;
    }
    
    .service-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .price-amount {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .stat-value {
        font-size: 0.9rem;
        min-width: 50px;
    }
}

/* ===== PORTFOLIO CARRUSEL (REEL STYLE) ===== */

/* Contenedor principal del carrusel */
.portfolio-carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Carrusel wrapper */
.portfolio-carousel {
    overflow: hidden;
    flex: 1;
    border-radius: 16px;
}

/* Track que se mueve */
.portfolio-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
}

/* Cada slide del carrusel */
.portfolio-slide {
    flex: 0 0 calc(50% - 10px); /* 2 videos por pantalla */
    position: relative;
}

.portfolio-item {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* Video container con aspect ratio 9:16 (reel style) - MÁS GRANDE */
.video-thumbnail-real {
    position: relative;
    width: 100%;
    height: 500px; /* Aumentado para mejor visibilidad */
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Video responsive - LLENA TODO EL CONTENEDOR FORZADO */
video.portfolio-video {
    width: 100% !important;
    height: 100% !important; 
    object-fit: cover !important; 
    border-radius: 16px !important;
    transition: transform 0.3s ease;
    display: block !important; 
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.portfolio-video:hover {
    transform: scale(1.02);
}

/* Label del video */
.portfolio-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(10px);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }
    
    .video-thumbnail-real {
        height: 350px; /* Altura responsive pero mantiene proporción con servicios */
        border-radius: 12px;
    }
    
    .portfolio-label {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

/* Flechas del carrusel */
.carousel-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: rgba(255, 193, 7, 0.3);
    border-color: rgba(255, 193, 7, 0.5);
    transform: scale(1.1);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none !important;
}

/* Indicadores del carrusel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #ffc107;
    transform: scale(1.2);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .portfolio-slide {
        flex: 0 0 100%; /* 1 video por pantalla en móvil */
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .video-thumbnail-real {
        height: 450px; /* Más grande en móvil también */
        border-radius: 12px;
    }
    
    /* Servicios en línea para móvil */
    .services-grid {
        display: grid;
        grid-template-columns: 1fr; /* Una columna en móvil */
        gap: 20px;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {    
    .video-thumbnail-real {
        height: 400px; /* Aumentado de 300px a 400px */
    }
    
    .portfolio-carousel-container {
        gap: 10px;
    }
}

/* ===== FORZAR ACTUALIZACIÓN CACHÉ ===== */
/* CSS ACTUALIZADO - Thu Sep 12 01:25:00 PM UTC 2025 */
/* CAMBIOS: Indicadores carrusel debajo + iconos en línea */
