/* =============================================
   VIDEOS PAGE - Estilos
   ============================================= */

/* Seccion de playlist */
.video-playlist-section {
    margin-bottom: 2.5rem;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(236, 72, 153, 0.2);
}

.playlist-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.playlist-icon {
    font-size: 1.25rem;
}

.playlist-count {
    font-size: 0.85rem;
    color: #94a3b8;
    background: rgba(236, 72, 153, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(236, 72, 153, 0.25);
}

/* Grid de videos */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

/* Video card compacto */
.video-card-compact {
    display: block;
    background: linear-gradient(145deg, rgba(25, 20, 35, 0.98), rgba(15, 12, 25, 0.99));
    border: 1px solid rgba(236, 72, 153, 0.15);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-card-compact:hover {
    border-color: rgba(236, 72, 153, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 30px rgba(236, 72, 153, 0.1);
}

/* Thumbnail */
.video-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card-compact:hover .video-card-thumb img {
    transform: scale(1.05);
}

/* Play button */
.video-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(236, 72, 153, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.5);
}

.video-card-play svg {
    width: 20px;
    height: 20px;
    margin-left: 2px;
}

.video-card-compact:hover .video-card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Body */
.video-card-body {
    padding: 0.75rem;
}

.video-card-compact .video-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
}

/* Widget styles - Copiados de index.css para consistencia */
.widget-usuario {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(20, 20, 30, 0.95));
    border: 1px solid rgba(168, 85, 247, 0.25);
}

.widget-ad {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(124, 58, 237, 0.15));
    border: 2px solid rgba(168, 85, 247, 0.4);
    position: relative;
    overflow: hidden;
}

.widget-ad-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.widget-ad-content {
    position: relative;
    z-index: 1;
}

.widget-title-ad {
    color: #e9d5ff;
}

.widget-social {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(20, 20, 30, 0.95));
    border: 1px solid rgba(168, 85, 247, 0.25);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    padding: 0.5rem 0;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #a855f7;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.btn-widget-primary {
    display: block;
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-widget-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.btn-widget-secondary {
    display: block;
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: transparent;
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 10px;
    color: #c4b5fd;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-widget-secondary:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.6);
}

